A B C D F G M N O P R S T V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- apply(InputStream) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Applies demand from stream.
- apply(InputStream, ODOptions) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Applies demand from stream using OD options.
- apply(URL) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Applies demand from URL.
- apply(URL, ODOptions) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Applies demand from URL using OD options.
- apply(Node) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Applies demand from xml node.
- apply(Node, ODOptions) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Applies demand from URL using OD options.
B
- build(InputStream) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Build demand from stream.
- build(InputStream, OTSRoadNetwork, boolean) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser
-
Parse the XML input stream and build the network.
- build(String, OTSRoadNetwork, boolean) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser
-
Parse the XML file and build the network.
- build(URL) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Build demand from URL.
- build(URL, OTSRoadNetwork, boolean) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser
-
Parse the XML file and build the network.
- build(OTS, OTSRoadNetwork, boolean) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser
-
Build the network from an OTS object (probably constructed by parsing an OTS XML file; e.g.
- build(Node) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Build demand from xml node.
C
- calculateNodeAngles(OTSRoadNetwork, NETWORK) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser
-
Calculate the default angles of the Nodes, in case they have not been set.
- CategoryTag - Class in org.opentrafficsim.road.network.factory.xml.demand
-
Category.
- CategoryTag() - Constructor for class org.opentrafficsim.road.network.factory.xml.demand.CategoryTag
- centerOffsetEnd - Variable in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser.CSEData
-
the end offset of the element.
- centerOffsetStart - Variable in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser.CSEData
-
the start offset of the element.
- clone(T) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Cloner
-
Clone an object that is serializable and that has serializable fields.
- Cloner - Class in org.opentrafficsim.road.network.factory.xml.utils
-
Cloner makes a deep clone of any serializable object with serializable fields.
- cloneRoadLayout(BASICROADLAYOUT) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Cloner
-
Clone the BASICROADLAYOUT, as not all DJUNIT types are serializable...
- ControlParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
NodeParser takes care of parsing the CONTROL tags for the Traffic Lights in the XML network.
- CSEData() - Constructor for class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser.CSEData
D
- DefinitionsParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
DefinitionParser parses the XML nodes of the DEFINITIONS tag: GTUTYPE, GTUTEMPLATE, LINKTYPE, LANETYPE and ROADLAYOUT.
- DemandTag - Class in org.opentrafficsim.road.network.factory.xml.demand
-
Demand.
- DemandTag() - Constructor for class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
- DemandTag.DemandType - Enum in org.opentrafficsim.road.network.factory.xml.demand
-
Demand type.
F
- FACTOR - org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
-
Demand given in other tag to which a factor applies.
- FACTORS - org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
-
Demand given in other tag to which a factors apply.
- findObject(List<?>, Class<T>, Predicate<T>) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseUtil
-
Select object of given type by predicate.
- findObject(List<T>, Predicate<T>) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseUtil
-
Select object of given type by predicate.
- FREQUENCIES - org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
-
Frequencies that apply to the global time vector.
- fromLevelNode(Node) - Static method in enum org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
-
Returns the demand type based on a LEVEL tag.
G
- Generators - Class in org.opentrafficsim.road.network.factory.xml.utils
-
Generators based on distribution tags for typed scalars.
- GeneratorSinkParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
GeneratorSinkParser.java.
- getCategory(Categorization) - Method in class org.opentrafficsim.road.network.factory.xml.demand.CategoryTag
-
Returns the category.
- getGTUType(String) - Method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Returns the GTU type for the given id.
- getId() - Method in class org.opentrafficsim.road.network.factory.xml.utils.StreamInformation
- getNodes(NodeList, String) - Static method in class org.opentrafficsim.road.network.factory.xml.demand.XMLParser
- getNodesSorted(NodeList, String, String...) - Static method in class org.opentrafficsim.road.network.factory.xml.demand.XMLParser
-
Returns nodes sorted by attributes and/or value.
- getObjectsOfType(List<?>, Class<T>) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseUtil
-
Returns all objects of given type from the list of all objects.
- getStream() - Method in class org.opentrafficsim.road.network.factory.xml.utils.StreamInformation
M
- main(String[]) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser
- makeAccelerationGenerator(Map<String, StreamInformation>, ACCELERATIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
-
Parse an Acceleration distribution into a Generator for Accelerations.
- makeDecelerationGenerator(Map<String, StreamInformation>, ACCELERATIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
-
Parse an Acceleration distribution into a Generator for Decelerations (acceleration with a minus sign).
- makeDistContinuous(Map<String, StreamInformation>, CONTDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse a continuous distribution.
- makeDistDiscrete(Map<String, StreamInformation>, DISCRETEDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse a discrete distribution.
- makeDurationGenerator(Map<String, StreamInformation>, DURATIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
-
Parse a Duration distribution into a Generator for Durations.
- makeLengthGenerator(Map<String, StreamInformation>, LENGTHDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
-
Parse a Length distribution into a Generator for Lengths.
- makePositionGenerator(Map<String, StreamInformation>, POSITIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
-
Parse a Position distribution into a Generator for Positions.
- makeSpeedGenerator(Map<String, StreamInformation>, SPEEDDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
-
Parse a Speed distribution into a Generator for Speeds.
- makeTimeGenerator(Map<String, StreamInformation>, TIMEDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
-
Parse a Time distribution into a Generator for Times.
- ModelParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
Parser of the
MODEL
tags.
N
- NetworkParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
NetworkParser parses the NETWORK tag of the OTS network.
- NetworkParser.CSEData - Class in org.opentrafficsim.road.network.factory.xml.parser
-
contains information about the lanes and stripes to calculate the offset.
O
- ODParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- org.opentrafficsim.road.network.factory.xml - package org.opentrafficsim.road.network.factory.xml
-
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- org.opentrafficsim.road.network.factory.xml.demand - package org.opentrafficsim.road.network.factory.xml.demand
-
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- org.opentrafficsim.road.network.factory.xml.parser - package org.opentrafficsim.road.network.factory.xml.parser
-
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- org.opentrafficsim.road.network.factory.xml.utils - package org.opentrafficsim.road.network.factory.xml.utils
-
Utilities for the parsing.
P
- parseAccelerationDist(Map<String, StreamInformation>, ACCELERATIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse a relative acceleration distribution, e.g.
- parseControl(OTSRoadNetwork, OTSSimulatorInterface, List<CONTROL>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.ControlParser
-
Creates control objects.
- parseDefinitions(OTSRoadNetwork, DEFINITIONS, boolean, Map<String, ROADLAYOUT>, Map<String, GTUTEMPLATE>, Map<String, StreamInformation>, Map<LinkType, Map<GTUType, Speed>>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.DefinitionsParser
-
Parse the DEFINITIONS tag in the OTS XML file.
- parseDemand(OTSRoadNetwork, List<NETWORKDEMAND>, Map<String, GTUTEMPLATE>, Map<String, LaneBasedStrategicalPlannerFactory<?>>, Map<String, String>, Map<String, StreamInformation>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.ODParser
-
Creates generators and returns OD matrices.
- ParseDistribution - Class in org.opentrafficsim.road.network.factory.xml.utils
-
Parse a distribution from text to a distribution.
- parseDurationDist(Map<String, StreamInformation>, DURATIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse a relative duration distribution, e.g.
- parseFactor(String) - Static method in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
-
Parses a String of percentage or value to a double.
- parseFrequencyDist(Map<String, StreamInformation>, FREQUENCYDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse a relative frequency distribution, e.g.
- parseGenerators(OTSRoadNetwork, NETWORKDEMAND, Map<String, GTUTEMPLATE>, Map<String, List<Distribution.FrequencyAndObject<Route>>>, Map<String, List<Distribution.FrequencyAndObject<Route>>>, Map<String, StreamInformation>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.GeneratorSinkParser
-
Parse the Generators.
- parseGtuTemplates(DEFINITIONS, OTSRoadNetwork, boolean, Map<String, GTUTEMPLATE>, Map<String, StreamInformation>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.DefinitionsParser
-
Store the GTUTEMPLATE tags in the OTS XML file.
- parseGtuTypes(DEFINITIONS, OTSRoadNetwork, boolean) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.DefinitionsParser
-
Parse the GTUTYPES tag in the OTS XML file.
- parseHeadwayDistribution(String) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Transformer
- parseLaneKeepingPolicy(String) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Transformer
- parseLaneTypes(DEFINITIONS, OTSRoadNetwork, boolean) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.DefinitionsParser
-
Parse the LANETYPES tag in the OTS XML file.
- parseLengthBeginEnd(LengthBeginEnd, Length) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Transformer
-
Parse LengthBeginEnd for a Lane.
- parseLengthDist(Map<String, StreamInformation>, LENGTHDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse a relative length distribution, e.g.
- parseLinearDensityDist(Map<String, StreamInformation>, LINEARDENSITYDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse a relative linear density distribution, e.g.
- parseLinkTypes(DEFINITIONS, OTSRoadNetwork, boolean, Map<LinkType, Map<GTUType, Speed>>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.DefinitionsParser
-
Parse the LINKTYPES tag in the OTS XML file.
- parseModel(OTSRoadNetwork, List<MODELTYPE>, InputParameters, Map<String, ParameterType<?>>, Map<String, StreamInformation>, Map<String, ParameterFactory>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.ModelParser
-
Creates strategical planner factories for models.
- parseModelIdReferral(List<SCENARIO>, List<NETWORKDEMAND>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.ScenarioParser
-
Parse model ID referrals.
- parseNodes(OTSRoadNetwork, NETWORK, Map<String, Direction>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser
-
Parse the Nodes.
- parseParameters(OTSRoadNetwork, List<MODELTYPE>, InputParameters, Map<String, ParameterType<?>>, Map<String, StreamInformation>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.ModelParser
-
Parse parameter factories.
- parseParameterTypes(DEFINITIONS, OTSRoadNetwork, Map<String, ParameterType<?>>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.DefinitionsParser
-
Parse the PARAMETERTYPE tags in the OTS XML file.
- parsePositionDist(Map<String, StreamInformation>, POSITIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse an absolute position distribution, e.g.
- parseRoadLayouts(DEFINITIONS, OTSRoadNetwork, Map<String, ROADLAYOUT>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.DefinitionsParser
-
Parse the ROADLAYOUTS tag in the OTS XML file.
- parseRoomChecker(String) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Transformer
- parseRun(OTSRoadNetwork, RUN, Map<String, StreamInformation>, OTSSimulatorInterface) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.RunParser
-
Parse the RUN tag in the OTS XML file.
- parseSinks(OTSRoadNetwork, NETWORKDEMAND, OTSSimulatorInterface) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.GeneratorSinkParser
-
Parse the Sinks.
- parseSpeedDist(Map<String, StreamInformation>, SPEEDDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse a relative speed distribution, e.g.
- parseTimeDist(Map<String, StreamInformation>, TIMEDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
-
Parse an absolute time distribution, e.g.
- parseTriggerPosition(GTUPositionType) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Transformer
- ParseUtil - Class in org.opentrafficsim.road.network.factory.xml.utils
-
Parser - Utility class for parsing using JAXB generated classes.
- parseXML(InputStream) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser
-
Parse an OTS XML input stream and build an OTS object.
- parseXML(URL) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser
-
Parse an OTS XML input stream and build an OTS object.
R
- RunParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
RunParser parses the XML nodes of the RUN tag, including the RANDOMSTREAM tags.
S
- ScenarioParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- ScenarioParser() - Constructor for class org.opentrafficsim.road.network.factory.xml.parser.ScenarioParser
- StreamInformation - Class in org.opentrafficsim.road.network.factory.xml.utils
-
StreamInformation contains information about the stream and its seeds.
- StreamInformation(String, Map<Integer, Long>) - Constructor for class org.opentrafficsim.road.network.factory.xml.utils.StreamInformation
T
- TIMED_FACTORS - org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
-
Timed factors that apply to demand in another tag.
- TIMED_FREQUENCIES - org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
-
Timed frequencies.
- toString() - Method in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser.CSEData
- Transformer - Class in org.opentrafficsim.road.network.factory.xml.utils
-
Transformer contains common transformations between intermediate classes created by the JAXB Adapters and OTS objects.
V
- valueOf(String) - Static method in enum org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- widthEnd - Variable in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser.CSEData
-
the end width of the element (stripes are defined as 0).
- widthStart - Variable in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser.CSEData
-
the start width of the element (stripes are defined as 0).
X
- XmlNetworkLaneParser - Class in org.opentrafficsim.road.network.factory.xml.parser
-
Parse an XML file for an OTS network, based on the ots-network.xsd definition.
- XmlOdParser - Class in org.opentrafficsim.road.network.factory.xml.demand
-
OD parser.
- XmlOdParser(OTSSimulatorInterface, OTSRoadNetwork, Set<GTUType>) - Constructor for class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
-
Constructor.
- XMLParser - Class in org.opentrafficsim.road.network.factory.xml.demand
-
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
- XmlParserException - Exception in org.opentrafficsim.road.network.factory.xml
-
Exception during parsing.
- XmlParserException() - Constructor for exception org.opentrafficsim.road.network.factory.xml.XmlParserException
- XmlParserException(String) - Constructor for exception org.opentrafficsim.road.network.factory.xml.XmlParserException
- XmlParserException(String, Throwable) - Constructor for exception org.opentrafficsim.road.network.factory.xml.XmlParserException
- XmlParserException(Throwable) - Constructor for exception org.opentrafficsim.road.network.factory.xml.XmlParserException
All Classes All Packages