Interface RampMeteringSwitch
- All Known Implementing Classes:
AlineaSwitch
,RwsSwitch
,SingleCrossSectionSwitch
public interface RampMeteringSwitch
Determines whether the controller should be on or off.
Copyright (c) 2013-2023 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 TypeMethodDescriptionReturns the cycle time.Returns the control interval.boolean
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
-