View Javadoc
1   package org.opentrafficsim.road.network.control.rampmetering;
2   
3   import org.djunits.value.vdouble.scalar.Duration;
4   
5   /**
6    * Interface for controllers of traffic lights for ramp metering.
7    * <p>
8    * Copyright (c) 2013-2020 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 May 29, 2019 <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 interface RampMeteringLightController
17  {
18  
19      /**
20       * Disables the traffic lights.
21       */
22      void disable();
23      
24      /**
25       * Enables, or keep enabled, the controller.
26       * @param cycleTime Duration; cycle time
27       */
28      void enable(Duration cycleTime);
29      
30  }