public final class Break extends Object
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
static void |
on(org.opentrafficsim.core.gtu.GTU gtu,
String id,
double time,
boolean additionalCondition) |
static void |
on(org.opentrafficsim.core.gtu.perception.Perception perception,
String id,
double time,
boolean additionalCondition) |
public static void on(org.opentrafficsim.core.gtu.perception.Perception perception, String id, double time, boolean additionalCondition)
perception
- perception to obtain gtu fromid
- GTU id to break ontime
- time to break at (or after)additionalCondition
- additional conditionpublic static void on(org.opentrafficsim.core.gtu.GTU gtu, String id, double time, boolean additionalCondition)
gtu
- GTUid
- GTU id to break ontime
- time to break at (or after)additionalCondition
- additional conditionCopyright © 2014–2017 Delft University of Technology. All rights reserved.