Interface LmrsFactory.TacticalPlannerProvider<P extends AbstractIncentivesTacticalPlanner>

Type Parameters:
P - tactical planner class
Enclosing class:
LmrsFactory<T extends AbstractIncentivesTacticalPlanner>

public static interface LmrsFactory.TacticalPlannerProvider<P extends AbstractIncentivesTacticalPlanner>
Provider for the correct tactical planner implementation.
  • Method Details

    • from

      P from(CarFollowingModel carFollowingModel, LaneBasedGtu gtu, LanePerception lanePerception, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Tailgating tailgating)
      Constructs an instance of the correct tactical planner class.
      Parameters:
      carFollowingModel - car-following model
      gtu - GTU
      lanePerception - perception
      synchronization - type of synchronization
      cooperation - type of cooperation
      gapAcceptance - gap-acceptance
      tailgating - tailgating
      Returns:
      instance of the correct tactical planner class