public class Altruistic extends AbstractLaneChangeModel
Copyright (c) 2013-2014 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 |
---|---|
DoubleScalar.Abs<AccelerationUnit> |
applyDriverPersonality(DualAccelerationStep accelerationSteps)
Return the weighted acceleration as described by the personality.
|
computeLaneChangeAndAcceleration
public final DoubleScalar.Abs<AccelerationUnit> 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 makeCopyright © 2014–2015 Delft University of Technology. All rights reserved.