public final class LmrsData extends Object implements DesireBased, Synchronizable
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Synchronizable.State
Constructor and Description |
---|
LmrsData(Synchronization synchronization,
Cooperation cooperation,
GapAcceptance gapAcceptance,
Tailgating tailGating) |
Modifier and Type | Method and Description |
---|---|
Desire |
getLatestDesire(Class<? extends Incentive> incentiveClass)
Returns the latest desire from the specified incentive.
|
Synchronizable.State |
getSynchronizationState()
Returns the synchronization state.
|
String |
toString() |
public LmrsData(Synchronization synchronization, Cooperation cooperation, GapAcceptance gapAcceptance, Tailgating tailGating)
synchronization
- Synchronization; synchronizationcooperation
- Cooperation; cooperationgapAcceptance
- GapAcceptance; gap-acceptancetailGating
- Tailgating; tail gatingpublic Desire getLatestDesire(Class<? extends Incentive> incentiveClass)
getLatestDesire
in interface DesireBased
incentiveClass
- Class<? extends Incentive>; incentive classpublic Synchronizable.State getSynchronizationState()
getSynchronizationState
in interface Synchronizable
Copyright © 2014–2019 Delft University of Technology. All rights reserved.