Interface Initialisable
- All Known Subinterfaces:
CarFollowingModel
,GtuFollowingModelOld
- All Known Implementing Classes:
AbstractCarFollowingModel
,AbstractGtuFollowingModelMobil
,AbstractIdm
,FixedAccelerationModel
,Idm
,IdmOld
,IdmPlus
,IdmPlusMulti
,IdmPlusOld
,SequentialFixedAccelerationModel
,SocioDesiredSpeed
,ToledoCarFollowing
public interface Initialisable
Interface that can be implemented by desired headway models and desired speed models, such that they can be coupled to their
simulation context. Note that these models need to be able to work without this context, as part of peeking by GTU
generators. For instance, they can provide some default or average value. When the GTU is successfully generated, the
init()
method is invoked by AbstractCarFollowingModel
, and the model can work fully throughout the GTUs life
span thereafter.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
-
Method Details
-
init
Initialize car-following model.- Parameters:
gtu
- LaneBasedGtu; gtu
-