public abstract class SingleCrossSectionSwitch extends Object implements RampMeteringSwitch
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
SingleCrossSectionSwitch(Duration interval,
List<Detector> detectors)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Duration |
getInterval()
Returns the control interval.
|
protected Frequency |
meanFlow()
Returns the mean flow over the detectors.
|
protected Speed |
meanSpeed()
Returns the mean speed over the detectors.
|
protected Frequency |
totalFlow()
Returns the total flow over the detectors.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCycleTime, isEnabled
public Duration getInterval()
getInterval
in interface RampMeteringSwitch
protected final Speed meanSpeed()
protected final Frequency meanFlow()
protected final Frequency totalFlow()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.