View Javadoc
1   package org.opentrafficsim.road.gtu.tactical;
2   
3   import org.djunits.value.vdouble.scalar.Speed;
4   
5   /**
6    * Interface for tactical planners that can return a desired speed.
7    * <p>
8    * Copyright (c) 2026-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
10   * </p>
11   * @author Alexander Verbraeck
12   * @author Peter Knoppers
13   * @author Wouter Schakel
14   */
15  @FunctionalInterface
16  public interface WithDesiredSpeed
17  {
18  
19      /**
20       * Returns the last computed desired speed.
21       * @return last computed desired speed
22       */
23      Speed getDesiredSpeed();
24  
25  }