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 Summary
Modifier and TypeMethodDescriptionfrom(CarFollowingModel carFollowingModel, LaneBasedGtu gtu, LanePerception lanePerception, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Tailgating tailgating) Constructs an instance of the correct tactical planner class.
-
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 modelgtu- GTUlanePerception- perceptionsynchronization- type of synchronizationcooperation- type of cooperationgapAcceptance- gap-acceptancetailgating- tailgating- Returns:
- instance of the correct tactical planner class
-