Interface ConflictRule
- All Known Implementing Classes:
 BusStopConflictRule,DefaultConflictRule,SplitConflictRule
public interface ConflictRule
A conflict rule provides the conflict priority.
 
 Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Version:
 - $Revision$, $LastChangedDate$, by $Author$, initial version 26 jan. 2017 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Method Summary
Modifier and Type Method Description ConflictRuleclone(SimulatorInterface.TimeDoubleUnit newSimulator)Creates a clone of the conflict rule.ConflictPrioritydeterminePriority(Conflict conflict)Determines the priority for the given conflict. 
- 
Method Details
- 
determinePriority
Determines the priority for the given conflict.- Parameters:
 conflict- Conflict; conflict- Returns:
 - priority for the given conflict
 
 - 
clone
Creates a clone of the conflict rule.- Parameters:
 newSimulator- SimulatorInterface.TimeDoubleUnit; new simulator- Returns:
 - clone of the conflict rule
 
 
 -