131 bool keepEdgeLengths,
bool lanesFromCapacity,
const SVCPermissions SVCAll
all VClasses are allowed
long long int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
A handler which converts occurring elements and attributes into enums.
A helper class which computes the lane number from given capacity.
Storage for edges, including some functionality operating on multiple edges.
The representation of a single edge during network building.
Instance responsible for building networks.
Container for nodes during the netbuilding process.
Represents a single node (junction) during network building.
A container for traffic light definitions and built programs.
A storage for available edgeTypes of edges.
A class which extracts MATSIM-edges from a parsed MATSIM-file.
double myCapacityNorm
The capacity norming.
EdgesHandler(const EdgesHandler &s)
invalidated copy constructor
SVCPermissions computePermission(std::string modes)
~EdgesHandler()
Destructor.
NBCapacity2Lanes myCapacity2Lanes
The converter from flow to lanes.
bool myKeepEdgeLengths
Whether the loaded lengths shal be used.
bool myLanesFromCapacity
Whether the lane number shall be computed from the capacity.
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
EdgesHandler & operator=(const EdgesHandler &s)
invalidated assignment operator
NBNodeCont & myNodeCont
The previously parsed nodes.
void insertEdge(const std::string &id, NBNode *fromNode, NBNode *toNode, double freeSpeed, int numLanes, double capacity, double length, SVCPermissions perm=SVCAll)
NBEdgeCont & myEdgeCont
The edge container to fill.
A class which extracts MATSIM-nodes from a parsed MATSIM-file.
NodesHandler(const NodesHandler &s)
invalidated copy constructor
NodesHandler & operator=(const NodesHandler &s)
invalidated assignment operator
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
NBNodeCont & myNodeCont
The nodes container to fill.
~NodesHandler()
Destructor.
Importer for networks stored in MATSim format.
static SequentialStringBijection::Entry matsimAttrs[]
The names of MATSIM-XML attributes (for passing to GenericSAXHandler)
MatsimXMLTag
Numbers representing MATSIM-XML - element names.
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given MATSIM network files.
static SequentialStringBijection::Entry matsimTags[]
The names of MATSIM-XML elements (for passing to GenericSAXHandler)
MatsimXMLAttr
Numbers representing MATSIM-XML - attributes.
A storage for options typed value containers)
Encapsulated SAX-Attributes.