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.LmrsData
Keeps data for LMRS for a specific GTU.
|
| 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 |
DLC
Lane change desire of current lane change.
|
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,
CarFollowingModel carFollowingModel,
LaneOperationalPlanBuilder.LaneChange laneChange,
LmrsUtil.LmrsData lmrsData,
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 final org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble DLC
public static SimpleOperationalPlan determinePlan(LaneBasedGTU gtu, org.djunits.value.vdouble.scalar.Time startTime, CarFollowingModel carFollowingModel, LaneOperationalPlanBuilder.LaneChange laneChange, LmrsUtil.LmrsData lmrsData, 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 timecarFollowingModel - car-following modellaneChange - lane change statuslmrsData - LMRS dataperception - 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.