public final class LmrsUtil extends Object
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.
Modifier and Type | Class and Description |
---|---|
static class |
LmrsUtil.LmrsStatus
Status of LMRS.
|
Modifier and Type | Field and Description |
---|---|
static org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble |
DCOOP
Cooperative lane change desire threshold.
|
static org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble |
DFREE
Free lane change desire threshold.
|
static org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble |
DLEFT
Current left lane change desire.
|
static org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble |
DRIGHT
Current right lane change desire.
|
static org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble |
DSYNC
Synchronized lane change desire threshold.
|
Modifier and Type | Method and Description |
---|---|
static SimpleOperationalPlan |
determinePlan(LaneBasedGTU gtu,
org.djunits.value.vdouble.scalar.Time startTime,
LmrsUtil.LmrsStatus lmrsStatus,
CarFollowingModel carFollowingModel,
LaneOperationalPlanBuilder.LaneChange laneChange,
LanePerception perception,
LinkedHashSet<MandatoryIncentive> mandatoryIncentives,
LinkedHashSet<VoluntaryIncentive> voluntaryIncentives)
Determines a simple representation of an operational plan.
|
public static final org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble DFREE
public static final org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble DSYNC
public static final org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble DCOOP
public static final org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble DLEFT
public static final org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble DRIGHT
public static SimpleOperationalPlan determinePlan(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Time startTime, LmrsUtil.LmrsStatus lmrsStatus, CarFollowingModel carFollowingModel, LaneOperationalPlanBuilder.LaneChange laneChange, LanePerception perception, LinkedHashSet<MandatoryIncentive> mandatoryIncentives, LinkedHashSet<VoluntaryIncentive> voluntaryIncentives) throws org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException, org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
gtu
- gtustartTime
- start timelmrsStatus
- LMRS statuscarFollowingModel
- car-following modellaneChange
- lane change statusperception
- perceptionmandatoryIncentives
- set of mandatory lane change incentivesvoluntaryIncentives
- set of voluntary lane change incentivesorg.opentrafficsim.core.gtu.GTUException
- gtu exceptionorg.opentrafficsim.core.network.NetworkException
- network exceptionorg.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
- parameter exceptionorg.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
- operational plan exceptionCopyright © 2014–2016 Delft University of Technology. All rights reserved.