Class AnticipationSpeed.SpeedSet
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.categories.AnticipationSpeed.SpeedSet
- Enclosing class:
- AnticipationSpeed
public static class AnticipationSpeed.SpeedSet extends Object
Class to contain info from 1 lane, regarding 3 lanes.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 8 mrt. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description SpeedSet() -
Method Summary
-
Constructor Details
-
SpeedSet
public SpeedSet()
-
-
Method Details
-
getLeft
Returns the speed regarding the left lane.- Returns:
- Speed; speed regarding the left lane
-
getCurrent
Returns the speed regarding the current lane.- Returns:
- Speed; speed regarding the current lane
-
getRight
Returns the speed regarding the right lane.- Returns:
- Speed; speed regarding the right lane
-