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