class ShortestRouteTag extends Object implements 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-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
initial version Jul 23, 2015
| Modifier and Type | Field and Description |
|---|---|
(package private) org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.LinearDensityUnit> |
costPerDistance
Distance unit for the "cost" per time.
|
(package private) org.djunits.value.vdouble.scalar.Frequency |
costPerTime
Time unit for the "cost" per time.
|
(package private) NodeTag |
from
From Node.
|
(package private) String |
name
Name.
|
(package private) NodeTag |
to
To Node.
|
(package private) List<NodeTag> |
via
Via Nodes.
|
| Constructor and Description |
|---|
ShortestRouteTag() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
parseShortestRoutes(NodeList nodeList,
XmlNetworkLaneParser parser)
Parse the SHORTESTROUTE tag.
|
String |
toString() |
String name
NodeTag from
NodeTag to
org.djunits.value.vdouble.scalar.Frequency costPerTime
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.LinearDensityUnit> costPerDistance
static void parseShortestRoutes(NodeList nodeList, XmlNetworkLaneParser parser) throws SAXException, org.opentrafficsim.core.network.NetworkException
nodeList - nodeList the top-level nodes of the XML-fileparser - the parser with the lists of informationSAXException - when parsing of the tag failsorg.opentrafficsim.core.network.NetworkException - when parsing of the tag failsCopyright © 2014–2016 Delft University of Technology. All rights reserved.