Class AnticipationSpeed.SpeedSet

java.lang.Object
org.opentrafficsim.road.gtu.perception.categories.AnticipationSpeed.SpeedSet
Enclosing class:
AnticipationSpeed

public static class AnticipationSpeed.SpeedSet extends Object
Class to contain info from 1 lane, regarding 3 lanes.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    final org.djunits.value.vdouble.scalar.Speed
    Returns the speed regarding the current lane.
    final org.djunits.value.vdouble.scalar.Speed
    Returns the speed regarding the left lane.
    final org.djunits.value.vdouble.scalar.Speed
    Returns the speed regarding the right lane.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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