public class LMRS extends AbstractLMRS
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
LMRS(CarFollowingModel carFollowingModel)
Constructor setting the car-following model.
|
Modifier and Type | Method and Description |
---|---|
protected org.djunits.value.vdouble.scalar.Acceleration |
calculateAcceleration(LaneBasedGTU follower,
HeadwayGTU leader) |
protected org.djunits.value.vdouble.scalar.Acceleration |
calculateAcceleration(LaneBasedGTU follower,
HeadwayGTU leader,
double d) |
org.opentrafficsim.core.gtu.plan.operational.OperationalPlan |
generateOperationalPlan(org.opentrafficsim.core.gtu.GTU gtu,
org.djunits.value.vdouble.scalar.Time startTime,
nl.tudelft.simulation.language.d3.DirectedPoint locationAtStartTime) |
Set<MandatoryIncentive> |
getDefaultMandatoryIncentives()
Returns a set of default mandatory incentives.
|
Set<VoluntaryIncentive> |
getDefaultVoluntaryIncentives()
Returns a set of default voluntary incentives.
|
String |
toString() |
addMandatoryIncentive, addVoluntaryIncentive, considerSpeedLimitTransitions, disableLaneChanges, exponentialHeadwayRelaxation, getMandatoryIncentives, getVoluntaryIncentives, limitDeceleration, minOf, setDefaultIncentives
buildLaneListForwardXXX, buildLanePathInfo, buildLanePathInfo, buildLanePathInfo, buildLinkListForward, connectsToPath, determineNextSplit, getCarFollowingModel, getReferenceLane, noLaneDrop, setCarFollowingModel
public LMRS(CarFollowingModel carFollowingModel)
carFollowingModel
- Car-following model.public final Set<MandatoryIncentive> getDefaultMandatoryIncentives()
getDefaultMandatoryIncentives
in class AbstractLMRS
public final Set<VoluntaryIncentive> getDefaultVoluntaryIncentives()
getDefaultVoluntaryIncentives
in class AbstractLMRS
public final org.opentrafficsim.core.gtu.plan.operational.OperationalPlan generateOperationalPlan(org.opentrafficsim.core.gtu.GTU gtu, org.djunits.value.vdouble.scalar.Time startTime, nl.tudelft.simulation.language.d3.DirectedPoint locationAtStartTime) throws org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException, org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
org.opentrafficsim.core.gtu.GTUException
org.opentrafficsim.core.network.NetworkException
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
protected org.djunits.value.vdouble.scalar.Acceleration calculateAcceleration(LaneBasedGTU follower, HeadwayGTU leader, double d)
protected org.djunits.value.vdouble.scalar.Acceleration calculateAcceleration(LaneBasedGTU follower, HeadwayGTU leader)
Copyright © 2014–2016 Delft University of Technology. All rights reserved.