Class AnticipationSpeed.SpeedSet
java.lang.Object
org.opentrafficsim.road.gtu.perception.categories.AnticipationSpeed.SpeedSet
- Enclosing class:
- AnticipationSpeed
Class to contain info from 1 lane, regarding 3 lanes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal org.djunits.value.vdouble.scalar.SpeedReturns the speed regarding the current lane.final org.djunits.value.vdouble.scalar.SpeedgetLeft()Returns the speed regarding the left lane.final org.djunits.value.vdouble.scalar.SpeedgetRight()Returns the speed regarding the right lane.
-
Constructor Details
-
SpeedSet
public SpeedSet()Constructor.
-
-
Method Details
-
getLeft
public final org.djunits.value.vdouble.scalar.Speed getLeft()Returns the speed regarding the left lane.- Returns:
- speed regarding the left lane
-
getCurrent
public final org.djunits.value.vdouble.scalar.Speed getCurrent()Returns the speed regarding the current lane.- Returns:
- speed regarding the current lane
-
getRight
public final org.djunits.value.vdouble.scalar.Speed getRight()Returns the speed regarding the right lane.- Returns:
- speed regarding the right lane
-