public class Egoistic extends AbstractLaneChangeModel
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
Egoistic() |
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Acceleration |
applyDriverPersonality(DualAccelerationStep accelerations)
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 accelerations)
applyDriverPersonality
in class AbstractLaneChangeModel
accelerations
- 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–2016 Delft University of Technology. All rights reserved.