public class BusStopConflictRule extends Object implements ConflictRule
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.
Constructor and Description |
---|
BusStopConflictRule(org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ConflictRule |
clone(org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator)
Creates a clone of the conflict rule.
|
ConflictPriority |
determinePriority(Conflict conflict)
Determines the priority for the given conflict.
|
String |
toString() |
public BusStopConflictRule(org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
simulator
- simulatorpublic ConflictPriority determinePriority(Conflict conflict)
determinePriority
in interface ConflictRule
conflict
- conflictpublic ConflictRule clone(org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator)
clone
in interface ConflictRule
newSimulator
- new simulatorCopyright © 2014–2017 Delft University of Technology. All rights reserved.