 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef NIImporter_MATSim_h
18 #define NIImporter_MATSim_h
133 bool keepEdgeLengths,
bool lanesFromCapacity,
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
MatsimXMLAttr
Numbers representing MATSIM-XML - attributes.
Storage for edges, including some functionality operating on multiple edges.
Instance responsible for building networks.
bool myLanesFromCapacity
Whether the lane number shall be computed from the capacity.
A container for traffic light definitions and built programs.
bool myKeepEdgeLengths
Whether the loaded lengths shal be used.
NBCapacity2Lanes myCapacity2Lanes
The converter from flow to lanes.
NodesHandler(NBNodeCont &toFill)
Contructor.
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
static StringBijection< int >::Entry matsimAttrs[]
The names of MATSIM-XML attributes (for passing to GenericSAXHandler)
NodesHandler(const NodesHandler &s)
invalidated copy constructor
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given MATSIM network files.
Container for nodes during the netbuilding process.
The representation of a single edge during network building.
double myCapacityNorm
The capacity norming.
MatsimXMLTag
Numbers representing MATSIM-XML - element names.
EdgesHandler & operator=(const EdgesHandler &s)
invalidated assignment operator
NBEdgeCont & myEdgeCont
The edge container to fill.
static StringBijection< int >::Entry matsimTags[]
The names of MATSIM-XML elements (for passing to GenericSAXHandler)
const NBNodeCont & myNodeCont
The previously parsed nodes.
~NodesHandler()
Destructor.
A storage for options typed value containers)
EdgesHandler(const EdgesHandler &s)
invalidated copy constructor
Importer for networks stored in MATSim format.
NodesHandler & operator=(const NodesHandler &s)
invalidated assignment operator
A helper class which computes the lane number from given capacity.
A storage for available types of edges.
NBNodeCont & myNodeCont
The nodes container to fill.
~EdgesHandler()
Destructor.
A class which extracts MATSIM-nodes from a parsed MATSIM-file.
Represents a single node (junction) during network building.
EdgesHandler(const NBNodeCont &nc, NBEdgeCont &toFill, bool keepEdgeLengths, bool lanesFromCapacity, NBCapacity2Lanes capacity2Lanes)
Constructor.
A class which extracts MATSIM-edges from a parsed MATSIM-file.
A handler which converts occuring elements and attributes into enums.
Encapsulated SAX-Attributes.