public class LMRS extends AbstractIncentivesTacticalPlanner implements DesireBased, Synchronizable, Blockable
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Synchronizable.State
ACCELERATION, MANDATORY, VOLUNTARY
DT, LOOKAHEAD, TACTICAL_PLANNER
Constructor and Description |
---|
LMRS(CarFollowingModel carFollowingModel,
LaneBasedGTU gtu,
LanePerception lanePerception,
Synchronization synchronization,
Cooperation cooperation,
GapAcceptance gapAcceptance,
Tailgating tailgating)
Constructor setting the car-following model.
|
Modifier and Type | Method and Description |
---|---|
OperationalPlan |
generateOperationalPlan(Time startTime,
nl.tudelft.simulation.language.d3.DirectedPoint locationAtStartTime) |
Desire |
getLatestDesire(Class<? extends Incentive> incentiveClass)
Returns the latest desire from the specified incentive.
|
Synchronizable.State |
getSynchronizationState()
Returns the synchronization state.
|
boolean |
isBlocking()
Returns whether the GTU is blocking conflicts.
|
String |
toString() |
addAccelerationIncentive, addMandatoryIncentive, addVoluntaryIncentive, getAccelerationIncentives, getMandatoryIncentives, getVoluntaryIncentives, setDefaultIncentives
buildLanePathInfo, buildLanePathInfo, buildLinkListForward, concatenateNull, connectsToPath, determineNextSplit, getCarFollowingModel, getGtu, getPerception, noLaneDrop, setCarFollowingModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chooseLaneAtSplit, mostOnSide, okDistance
public LMRS(CarFollowingModel carFollowingModel, LaneBasedGTU gtu, LanePerception lanePerception, Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Tailgating tailgating)
carFollowingModel
- CarFollowingModel; Car-following model.gtu
- LaneBasedGTU; GTUlanePerception
- LanePerception; perceptionsynchronization
- Synchronization; type of synchronizationcooperation
- Cooperation; type of cooperationgapAcceptance
- GapAcceptance; gap-acceptancetailgating
- Tailgating; tail gatingpublic final OperationalPlan generateOperationalPlan(Time startTime, nl.tudelft.simulation.language.d3.DirectedPoint locationAtStartTime) throws OperationalPlanException, GTUException, NetworkException, ParameterException
generateOperationalPlan
in interface TacticalPlanner<LaneBasedGTU,LanePerception>
OperationalPlanException
GTUException
NetworkException
ParameterException
public final Desire getLatestDesire(Class<? extends Incentive> incentiveClass)
getLatestDesire
in interface DesireBased
incentiveClass
- Class<? extends Incentive>; incentive classpublic Synchronizable.State getSynchronizationState()
getSynchronizationState
in interface Synchronizable
public boolean isBlocking()
isBlocking
in interface Blockable
Copyright © 2014–2019 Delft University of Technology. All rights reserved.