1 package org.opentrafficsim.road.network.lane.conflict;
2
3 /**
4 * A conflict rule provides the conflict priority.
5 * <p>
6 * Copyright (c) 2013-2024 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 <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
10 * @author <a href="https://github.com/peter-knoppers">Peter Knoppers</a>
11 * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
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 }