Interface RampMeteringSwitch
- All Known Implementing Classes:
AlineaSwitch
,RwsSwitch
,SingleCrossSectionSwitch
public interface RampMeteringSwitch
Determines whether the controller should be on or off.
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version May 29, 2019
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and Type Method Description Duration
getCycleTime()
Returns the cycle time.Duration
getInterval()
Returns the control interval.boolean
isEnabled()
Evaluates whether the ramp metering should be enabled.
-
Method Details
-
getInterval
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
Duration getCycleTime()Returns the cycle time.- Returns:
- Duration; the cycle time
-