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 DurationgetCycleTime()Returns the cycle time.DurationgetInterval()Returns the control interval.booleanisEnabled()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
 
 
 -