Interface RampMeteringSwitch

All Known Implementing Classes:
AlineaSwitch, RwsSwitch, SingleCrossSectionSwitch

public interface RampMeteringSwitch
Determines whether the controller should be on or off.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Summary

    Modifier and Type
    Method
    Description
    org.djunits.value.vdouble.scalar.Duration
    Returns the cycle time.
    org.djunits.value.vdouble.scalar.Duration
    Returns the control interval.
    boolean
    Evaluates whether the ramp metering should be enabled.
  • Method Details

    • getInterval

      org.djunits.value.vdouble.scalar.Duration getInterval()
      Returns the control interval.
      Returns:
      Duration; the control interval
    • isEnabled

      boolean isEnabled()
      Evaluates whether the ramp metering should be enabled.
      Returns:
      boolean; whether the ramp metering should be enabled
    • getCycleTime

      org.djunits.value.vdouble.scalar.Duration getCycleTime()
      Returns the cycle time.
      Returns:
      Duration; the cycle time