public class SplitConflictRule 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 |
---|
SplitConflictRule() |
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.
|
public final ConflictPriority determinePriority(Conflict conflict)
determinePriority
in interface ConflictRule
conflict
- Conflict; conflictpublic ConflictRule clone(SimulatorInterface.TimeDoubleUnit newSimulator)
clone
in interface ConflictRule
newSimulator
- SimulatorInterface.TimeDoubleUnit; new simulatorCopyright © 2014–2019 Delft University of Technology. All rights reserved.