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