public class Altruistic extends AbstractLaneChangeModel
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 |
---|
Altruistic() |
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
public final org.djunits.value.vdouble.scalar.Acceleration applyDriverPersonality(DualAccelerationStep accelerationSteps)
applyDriverPersonality
in class AbstractLaneChangeModel
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.