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-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExperimentRunControl.TimeDoubleUnitparseRun(String networkId, RUN run, StreamSeedInformation streamInformation, OTSSimulatorInterface simulator)Parse the RUN tag in the OTS XML file.
-
-
-
Method Detail
-
parseRun
public static ExperimentRunControl.TimeDoubleUnit parseRun(String networkId, RUN run, StreamSeedInformation streamInformation, OTSSimulatorInterface simulator) throws XmlParserException
Parse the RUN tag in the OTS XML file.- Parameters:
run- RUN; the RUN tagnetworkId- String; id of the network or the modelstreamInformation- StreamSeedInformation; the stream information that will be passed to the modelsimulator- OTSSimulatorInterface; the simulator to defined the experiment for- Returns:
- experiment on the basis of the information in the RUN tag
- Throws:
XmlParserException- on parsing error
-
-