public class LMRS extends AbstractLaneBasedTacticalPlanner
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,
LaneBasedGTU gtu)
Constructor setting the car-following model.
|
Modifier and Type | Method and Description |
---|---|
void |
addMandatoryIncentive(MandatoryIncentive incentive)
Adds a mandatory incentive.
|
void |
addVoluntaryIncentive(VoluntaryIncentive incentive)
Adds a voluntary incentive.
|
org.opentrafficsim.core.gtu.plan.operational.OperationalPlan |
generateOperationalPlan(org.djunits.value.vdouble.scalar.Time startTime,
nl.tudelft.simulation.language.d3.DirectedPoint locationAtStartTime) |
void |
setDefaultIncentives()
Sets the default lane change incentives.
|
String |
toString() |
buildLanePathInfo, buildLanePathInfo, buildLinkListForward, buildPlanFromSimplePlan, connectsToPath, determineNextSplit, getCarFollowingModel, getGtu, getPerception, noLaneDrop, setCarFollowingModel
public LMRS(CarFollowingModel carFollowingModel, LaneBasedGTU gtu)
carFollowingModel
- Car-following model.gtu
- GTUpublic final void addMandatoryIncentive(MandatoryIncentive incentive)
incentive
- Incentive to add.public final void addVoluntaryIncentive(VoluntaryIncentive incentive)
incentive
- Incentive to add.public final void setDefaultIncentives()
public final org.opentrafficsim.core.gtu.plan.operational.OperationalPlan generateOperationalPlan(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
Copyright © 2014–2016 Delft University of Technology. All rights reserved.