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.StateACCELERATION, MANDATORY, VOLUNTARYDT, 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, setDefaultIncentivesbuildLanePathInfo, buildLanePathInfo, buildLinkListForward, concatenateNull, connectsToPath, determineNextSplit, getCarFollowingModel, getGtu, getPerception, noLaneDrop, setCarFollowingModelclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchooseLaneAtSplit, mostOnSide, okDistancepublic 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>OperationalPlanExceptionGTUExceptionNetworkExceptionParameterExceptionpublic final Desire getLatestDesire(Class<? extends Incentive> incentiveClass)
getLatestDesire in interface DesireBasedincentiveClass - Class<? extends Incentive>; incentive classpublic Synchronizable.State getSynchronizationState()
getSynchronizationState in interface Synchronizablepublic boolean isBlocking()
isBlocking in interface BlockableCopyright © 2014–2019 Delft University of Technology. All rights reserved.