Package org.opentrafficsim.core.network
Interface Capacity
- All Known Implementing Classes:
CapacityOTSLink
public interface Capacity
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.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Method Summary
Modifier and Type Method Description FrequencygetCapacity()voidsetCapacity(Frequency capacity)Set the link capacity.
-
Method Details
-
getCapacity
Frequency getCapacity()- Returns:
- link capacity.
-
setCapacity
Set the link capacity.- Parameters:
capacity- Frequency; the new capacity of the link as a frequency in GTUs per time unit.
-