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(AccelerationStep[] accelerationSteps)
Return the weighted acceleration as described by the personality.
|
computeLaneChangeAndAccelerationpublic final DoubleScalar.Abs<AccelerationUnit> applyDriverPersonality(AccelerationStep[] accelerationSteps)
applyDriverPersonality in class AbstractLaneChangeModelaccelerationSteps - AccelerationStep[]; the AccelerationStep that the reference GTU will make (in position 0
of the array) and the AccelerationStep that the (new) follower GTU will make (in position 1 of the
array)Copyright © 2014–2015 Delft University of Technology. All rights reserved.