| Package | Description |
|---|---|
| org.opentrafficsim.road.network.factory.xml.demand |
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.road.network.factory.xml.network |
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XmlOdParser.apply(InputStream stream)
Applies demand from stream.
|
void |
XmlOdParser.apply(InputStream stream,
ODOptions odOptions)
Applies demand from stream using OD options.
|
void |
XmlOdParser.apply(Node xmlNode)
Applies demand from xml node.
|
void |
XmlOdParser.apply(Node xmlNode,
ODOptions odOptions)
Applies demand from URL using OD options.
|
void |
XmlOdParser.apply(URL url)
Applies demand from URL.
|
void |
XmlOdParser.apply(URL url,
ODOptions odOptions)
Applies demand from URL using OD options.
|
ODMatrix |
XmlOdParser.build(InputStream stream)
Build demand from stream.
|
ODMatrix |
XmlOdParser.build(Node xmlNode)
Build demand from xml node.
|
ODMatrix |
XmlOdParser.build(URL url)
Build demand from URL.
|
static DemandTag.DemandType |
DemandTag.DemandType.fromLevelNode(Node level)
Returns the demand type based on a LEVEL tag.
|
GTUType |
XmlOdParser.getGTUType(String id)
Returns the GTU type for the given id.
|
static double |
DemandTag.parseFactor(String value)
Parses a String of percentage or value to a double.
|
| Modifier and Type | Method and Description |
|---|---|
static OTSNetwork |
XmlNetworkLaneParser.build(InputStream xmlStream,
OTSNetwork otsNetwork,
OTSSimulatorInterface simulator)
Parse the XML file and build the network.
|
static OTSNetwork |
XmlNetworkLaneParser.build(String filename,
OTSNetwork otsNetwork,
OTSSimulatorInterface simulator)
Parse the XML file and build the network.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.