20 #ifndef NIImporter_MATSim_h 21 #define NIImporter_MATSim_h 140 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.
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.
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.
bool myKeepEdgeLengths
Whether the loaded lengths shal be used.
Importer for networks stored in MATSim format.
double myCapacityNorm
The capacity norming.
MatsimXMLTag
Numbers representing MATSIM-XML - element names.
NBCapacity2Lanes myCapacity2Lanes
The converter from flow to lanes.
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.