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-2020 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 Details

  • Method Details

    • getLeft

      public final Speed getLeft()
      Returns the speed regarding the left lane.
      Returns:
      Speed; speed regarding the left lane
    • getCurrent

      public final Speed getCurrent()
      Returns the speed regarding the current lane.
      Returns:
      Speed; speed regarding the current lane
    • getRight

      public final Speed getRight()
      Returns the speed regarding the right lane.
      Returns:
      Speed; speed regarding the right lane