A B C D F G I M N O P R S T V W X 
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.
applyRoadLayout(OTSRoadNetwork, NETWORK, OTSSimulatorInterface, Map<String, ROADLAYOUT>, Map<LinkType, Map<GTUType, Speed>>) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser
Build the links with the correct design line.

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.
categories - Variable in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
Categories.
categorization - Variable in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
Categorization.
category - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Category.
categoryName - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Category name.
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.
demand - Variable in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
Demand.
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.
demandType - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Demand type.
demandVector - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Demand vector.
destination - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Destination.

F

factor - Variable in class org.opentrafficsim.road.network.factory.xml.demand.CategoryTag
FACTOR.
factor - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Fraction.
FACTOR - org.opentrafficsim.road.network.factory.xml.demand.DemandTag.DemandType
Demand given in other tag to which a factor applies.
factors - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Fractions.
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.
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.
globalInterpolation - Variable in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
Global interpolation.
globalTime - Variable in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
Global time vector.

I

interpolation - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Interpolation.

M

main(String[]) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.XmlNetworkLaneParser
 
makeAccelerationGenerator(StreamInformation, ACCELERATIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
Parse an Acceleration distribution into a Generator for Accelerations.
makeDecelerationGenerator(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(StreamInformation, CONTDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
Parse a continuous distribution.
makeDistDiscrete(StreamInformation, DISCRETEDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
Parse a discrete distribution.
makeDurationGenerator(StreamInformation, DURATIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
Parse a Duration distribution into a Generator for Durations.
makeLengthGenerator(StreamInformation, LENGTHDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
Parse a Length distribution into a Generator for Lengths.
makePositionGenerator(StreamInformation, POSITIONDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
Parse a Position distribution into a Generator for Positions.
makeSpeedGenerator(StreamInformation, SPEEDDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.Generators
Parse a Speed distribution into a Generator for Speeds.
makeTimeGenerator(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

network - Variable in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
Network.
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.
nullMultiply(Double, Double) - Static method in class org.opentrafficsim.road.network.factory.xml.demand.XmlOdParser
Returns the multiplication of two values, taking 1.0 for null and returning null if both null.

O

ODParser - Class in org.opentrafficsim.road.network.factory.xml.parser
Copyright (c) 2013-2022 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-2022 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-2022 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-2022 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.
origin - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Origin.

P

parse(NodeList, XmlOdParser) - Static method in class org.opentrafficsim.road.network.factory.xml.demand.CategoryTag
Parse category nodes.
parse(NodeList, XmlOdParser) - Static method in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Parse demand nodes.
parseAccelerationDist(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>, 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>, 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(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(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>>>, StreamInformation) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.GeneratorSinkParser
Parse the Generators.
parseGtuTemplates(DEFINITIONS, OTSRoadNetwork, boolean, Map<String, GTUTEMPLATE>, 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(StreamInformation, LENGTHDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
Parse a relative length distribution, e.g.
parseLinearDensityDist(StreamInformation, LINEARDENSITYDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
Parse a relative linear density distribution, e.g.
parseLinks(OTSRoadNetwork, NETWORK, Map<String, Direction>, OTSSimulatorInterface) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.NetworkParser
Build the links with the correct design line.
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<?>>, 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<?>>, 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(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
 
parseRouteMix(OTSRoadNetwork, NETWORKDEMAND) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.GeneratorSinkParser
Parse the ROUTEMIX tags.
parseRoutes(OTSRoadNetwork, NETWORKDEMAND) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.GeneratorSinkParser
Parse the ROUTE tags.
parseRun(String, RUN, StreamSeedInformation, OTSSimulatorInterface) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.RunParser
Parse the RUN tag in the OTS XML file.
parseShortestRouteMix(OTSRoadNetwork, NETWORKDEMAND) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.GeneratorSinkParser
Parse the SHORTESTROUTEMIX tags.
parseShortestRoutes(OTSRoadNetwork, NETWORKDEMAND) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.GeneratorSinkParser
Parse the SHORTESTROUTE tags.
parseSinks(OTSRoadNetwork, NETWORKDEMAND, OTSSimulatorInterface) - Static method in class org.opentrafficsim.road.network.factory.xml.parser.GeneratorSinkParser
Parse the Sinks.
parseSpeedDist(StreamInformation, SPEEDDISTTYPE) - Static method in class org.opentrafficsim.road.network.factory.xml.utils.ParseDistribution
Parse a relative speed distribution, e.g.
parseTimeDist(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-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
ScenarioParser() - Constructor for class org.opentrafficsim.road.network.factory.xml.parser.ScenarioParser
 

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.
timeVector - Variable in class org.opentrafficsim.road.network.factory.xml.demand.DemandTag
Time vector.
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-2022 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
 
A B C D F G I M N O P R S T V W X 
All Classes All Packages