View Javadoc
1   package org.opentrafficsim.road.gtu.tactical;
2   
3   /**
4    * Interface for tactical planners that can report their blocking status.
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  @FunctionalInterface
14  public interface Blockable
15  {
16  
17      /**
18       * Returns whether the GTU is blocking conflicts.
19       * @return whether the GTU is blocking conflicts
20       */
21      boolean isBlocking();
22  
23  }