NODEID - the ID type of the Node, e.g., String.LINKID - the ID type of the Link, e.g., String.public interface Link<LINKID,NODEID> extends LocatableInterface, Serializable
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $,
initial version Aug 19, 2014
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar.Abs<FrequencyUnit> |
getCapacity() |
OTSLine3D |
getDesignLine() |
Node<NODEID> |
getEndNode() |
LINKID |
getId() |
DoubleScalar.Rel<LengthUnit> |
getLength() |
Node<NODEID> |
getStartNode() |
void |
setCapacity(DoubleScalar.Abs<FrequencyUnit> capacity)
Set the link capacity.
|
getBounds, getLocationLINKID getId()
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.OTSLine3D getDesignLine()
DoubleScalar.Rel<LengthUnit> getLength()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.