Class RunParser
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.xml.parser.RunParser
-
public final class RunParser extends Object
RunParser parses the XML nodes of the RUN tag, including the RANDOMSTREAM tags.
Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.- Author:
- Alexander Verbraeck
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Experiment.TimeDoubleUnit<OTSSimulatorInterface>parseRun(OTSRoadNetwork otsNetwork, RUN run, Map<String,StreamInformation> streamMap, OTSSimulatorInterface simulator)Parse the RUN tag in the OTS XML file.
-
-
-
Method Detail
-
parseRun
public static Experiment.TimeDoubleUnit<OTSSimulatorInterface> parseRun(OTSRoadNetwork otsNetwork, RUN run, Map<String,StreamInformation> streamMap, OTSSimulatorInterface simulator) throws XmlParserException
Parse the RUN tag in the OTS XML file.- Parameters:
run- the RUN tagotsNetwork- the networkstreamMap- the map with the random streams to be filledsimulator- the simulator to defined the experiment for- Returns:
- experiment on the basis of the information in the RUN tag
- Throws:
XmlParserException- on parsing error
-
-