public static interface TaskLaneChanging.LateralConsideration
 Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
 
 BSD-style license. See OpenTrafficSim License.
 
| Modifier and Type | Field and Description | 
|---|---|
static TaskLaneChanging.LateralConsideration | 
DESIRE
Desire based lateral consideration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
getConsideration(LanePerception perception,
                LaneBasedGTU gtu,
                org.opentrafficsim.base.parameters.Parameters parameters)
Returns fraction of lateral consideration, <0 for left lane, >0 for right lane. 
 | 
static final TaskLaneChanging.LateralConsideration DESIRE
double getConsideration(LanePerception perception, LaneBasedGTU gtu, org.opentrafficsim.base.parameters.Parameters parameters) throws org.opentrafficsim.base.parameters.ParameterException, org.opentrafficsim.core.gtu.GTUException
perception - LanePerception; perceptiongtu - LaneBasedGTU; gtuparameters - Parameters; parametersorg.opentrafficsim.base.parameters.ParameterException - if a parameter is missing or out of boundsorg.opentrafficsim.core.gtu.GTUException - exceptions pertaining to the GTUCopyright © 2014–2018 Delft University of Technology. All rights reserved.