public static class LinkGeotools.STR extends LinkGeotools<String,String>
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.
LinkGeotools.INT, LinkGeotools.STR
Constructor and Description |
---|
LinkGeotools.STR(String id,
NodeGeotools.STR startNode,
NodeGeotools.STR endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
LinkGeotools.STR(String id,
NodeGeotools.STR startNode,
NodeGeotools.STR endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
getBounds, getGeometry, getLocation, setGeometry
getCapacity, getEndNode, getId, getLength, getStartNode, setCapacity, toString
public LinkGeotools.STR(String id, NodeGeotools.STR startNode, NodeGeotools.STR endNode, DoubleScalar.Rel<LengthUnit> length, DoubleScalar.Abs<FrequencyUnit> capacity)
id
- the link idstartNode
- start node (directional)endNode
- end node (directional)length
- link length in a length unitcapacity
- link capacity in GTUs per hourpublic LinkGeotools.STR(String id, NodeGeotools.STR startNode, NodeGeotools.STR endNode, DoubleScalar.Rel<LengthUnit> length)
id
- the link idstartNode
- start node (directional)endNode
- end node (directional)length
- link length in a length unitCopyright © 2014–2015 Delft University of Technology. All rights reserved.