1 package org.opentrafficsim.road.network.lane.conflict; 2 3 import nl.tudelft.simulation.dsol.simulators.SimulatorInterface; 4 5 /** 6 * Conflict rule for split conflicts. 7 * <p> 8 * Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 9 * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>. 10 * <p> 11 * @version $Revision$, $LastChangedDate$, by $Author$, initial version 27 jan. 2017 <br> 12 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 13 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 14 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 15 */ 16 public class SplitConflictRule implements ConflictRule 17 { 18 19 /** {@inheritDoc} */ 20 @Override 21 public final ConflictPriority determinePriority(final Conflict conflict) 22 { 23 return ConflictPriority.SPLIT; 24 } 25 26 /** {@inheritDoc} */ 27 @Override 28 public ConflictRule clone(final SimulatorInterface.TimeDoubleUnit newSimulator) 29 { 30 // stateless so no copy required 31 return this; 32 } 33 34 }