public final class LmrsData extends Object implements DesireBased, Synchronizable
Copyright (c) 2013-2018 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
- synchronizationcooperation
- cooperationgapAcceptance
- gap-acceptancetailGating
- tail gatingpublic Desire getLatestDesire(Class<? extends Incentive> incentiveClass)
getLatestDesire
in interface DesireBased
incentiveClass
- Class; incentive classpublic Synchronizable.State getSynchronizationState()
getSynchronizationState
in interface Synchronizable
Copyright © 2014–2018 Delft University of Technology. All rights reserved.