Package org.opentrafficsim.core.network
Interface Capacity
-
- All Known Implementing Classes:
CapacityOTSLink
public interface CapacityCopyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Nov 8, 2015
BSD-style license. See OpenTrafficSim License.- Author:
- Alexander Verbraeck, Peter Knoppers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FrequencygetCapacity()Retrieve the link capacity in GTUs per time unit.voidsetCapacity(Frequency capacity)Set the link capacity.
-
-
-
Method Detail
-
getCapacity
Frequency getCapacity()
Retrieve the link capacity in GTUs per time unit.- Returns:
- Frequency; the link capacity in GTUs per time unit
-
setCapacity
void setCapacity(Frequency capacity)
Set the link capacity.- Parameters:
capacity- Frequency; the new capacity of the link as a frequency in GTUs per time unit.
-
-