public class VissimANMNetworkLaneParser extends Object implements Serializable
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
initial version Jul 23, 2015
| Modifier and Type | Field and Description |
|---|---|
Map<String,org.opentrafficsim.core.gtu.GTUType> |
gtuTypes
The GTUTypes that have been created.
|
protected Map<String,LaneType> |
laneTypes
The LaneTypes that have been created.
|
protected org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface |
simulator
The simulator for creating the animation.
|
| Constructor and Description |
|---|
VissimANMNetworkLaneParser(org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
| Modifier and Type | Method and Description |
|---|---|
org.opentrafficsim.core.network.OTSNetwork |
build(URL url) |
String |
toString() |
public Map<String,org.opentrafficsim.core.gtu.GTUType> gtuTypes
protected org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator
public VissimANMNetworkLaneParser(org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
simulator - the simulator for creating the animation. Null if no animation needed.public final org.opentrafficsim.core.network.OTSNetwork build(URL url) throws org.opentrafficsim.core.network.NetworkException, ParserConfigurationException, SAXException, IOException, NamingException, org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.geometry.OTSGeometryException, SimRuntimeException
url - the file with the network in the agreed xml-grammar.org.opentrafficsim.core.network.NetworkException - in case of parsing problems.SAXException - in case of parsing problems.ParserConfigurationException - in case of parsing problems.IOException - in case of file reading problems.NamingException - in case the animation context cannot be foundorg.opentrafficsim.core.gtu.GTUException - in case of a problem with creating the LaneBlock (which is a GTU right now)org.opentrafficsim.core.geometry.OTSGeometryException - when construction of a lane contour or offset design line failsSimRuntimeException - when simulator cannot be used to schedule GTU generationCopyright © 2014–2016 Delft University of Technology. All rights reserved.