ID - the ID type of the Link, e.g., String or Integer.N - the type of node that this link uses.public interface Link<ID,N extends Node<?,?>>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<FrequencyUnit> |
getCapacity() |
N |
getEndNode() |
ID |
getId() |
DoubleScalar.Rel<LengthUnit> |
getLength() |
N |
getStartNode() |
void |
setCapacity(DoubleScalar.Abs<FrequencyUnit> capacity)
Set the link capacity.
|
ID getId()
N getStartNode()
N getEndNode()
DoubleScalar.Abs<FrequencyUnit> getCapacity()
void setCapacity(DoubleScalar.Abs<FrequencyUnit> capacity)
capacity - the new capacity of the link as a frequency in GTUs per time unit.DoubleScalar.Rel<LengthUnit> getLength()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.