public static final class LmrsUtil.LmrsData extends Object
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 |
---|
LmrsData() |
Modifier and Type | Method and Description |
---|---|
void |
finalizeStep()
Remembers the leaders of the current time step (those forwarded to isNewLeader()) for the next time step.
|
boolean |
isNewLeader(AbstractHeadwayGTU gtu)
Checks if the given leader is a new leader.
|
public boolean isNewLeader(AbstractHeadwayGTU gtu)
gtu
- gtu to checkpublic void finalizeStep()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.