1 package org.opentrafficsim.road.network.conflict;
2
3 /**
4 * A conflict rule provides the conflict priority.
5 * <p>
6 * Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
8 * </p>
9 * @author Alexander Verbraeck
10 * @author Peter Knoppers
11 * @author Wouter Schakel
12 */
13 public interface ConflictRule
14 {
15
16 /**
17 * Determines the priority for the given conflict.
18 * @param conflict conflict
19 * @return priority for the given conflict
20 */
21 ConflictPriority determinePriority(Conflict conflict);
22
23 }