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, theinit()
method is invoked byAbstractCarFollowingModel
, and the model can work fully throughout the GTUs life span thereafter.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 3 mrt. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init(LaneBasedGTU gtu)
Initialize car-following model.
-
-
-
Method Detail
-
init
void init(LaneBasedGTU gtu)
Initialize car-following model.- Parameters:
gtu
- LaneBasedGTU; gtu
-
-