public class DirectedAltruistic extends AbstractDirectedLaneChangeModel
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.
Constructor and Description |
---|
DirectedAltruistic(LanePerception perception) |
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Acceleration |
applyDriverPersonality(DualAccelerationStep accelerationSteps)
Return the weighted acceleration as described by the personality.
|
String |
getLongName()
Return complete textual information about this instantiation of this GTU following model.
|
String |
getName()
Return the name of this GTU following model.
|
String |
toString() |
computeLaneChangeAndAcceleration, getPerception
public DirectedAltruistic(LanePerception perception)
perception
- the perception to usepublic final org.djunits.value.vdouble.scalar.Acceleration applyDriverPersonality(DualAccelerationStep accelerationSteps)
applyDriverPersonality
in class AbstractDirectedLaneChangeModel
accelerationSteps
- DualAccelerationStep; the DualAccelerationStep that contains the AccelerationStep that the
reference GTU will make and the AccelerationStep that the (new) follower GTU will makepublic final String getName()
public final String getLongName()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.