Interface LaneBasedTacticalPlanner

All Superinterfaces:
TacticalPlanner<LaneBasedGtu,LanePerception>
All Known Implementing Classes:
AbstractIncentivesTacticalPlanner, AbstractLaneBasedTacticalPlanner, Lmrs

public interface LaneBasedTacticalPlanner extends TacticalPlanner<LaneBasedGtu,LanePerception>

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Details

    • getCarFollowingModel

      CarFollowingModel getCarFollowingModel()
      Returns the car-following model.
      Returns:
      car following model
    • chooseLaneAtSplit

      default Lane chooseLaneAtSplit(Lane from, Set<Lane> lanes) throws ParameterException
      Selects a lane from a possible set. This set contains all viable lanes in to which a lane splits.
      Parameters:
      from - lane we come from
      lanes - set of lanes possible
      Returns:
      preferred lane
      Throws:
      ParameterException - in case of a missing parameter
    • mostOnSide

      static Lane mostOnSide(Lane lane1, Lane lane2, LateralDirectionality lat)
      Returns the right-most of two lanes.
      Parameters:
      lane1 - lane 1
      lane2 - lane 2
      lat - lateral side
      Returns:
      right-most of two lanes