// --------------------------------------------------------------------------- // static methods // --------------------------------------------------------------------------- void NWWriter_DlrNavteq::writeNetwork(const OptionsCont& oc, NBNetBuilder& nb) { // check whether a matsim-file shall be generated if (!oc.isSet("dlr-navteq-output")) { return; } writeNodesUnsplitted(oc, nb.getNodeCont(), nb.getEdgeCont()); writeLinksUnsplitted(oc, nb.getEdgeCont()); writeTrafficSignals(oc, nb.getNodeCont()); }
// --------------------------------------------------------------------------- // static methods // --------------------------------------------------------------------------- void NWWriter_DlrNavteq::writeNetwork(const OptionsCont& oc, NBNetBuilder& nb) { // check whether a matsim-file shall be generated if (!oc.isSet("dlr-navteq-output")) { return; } std::map<NBEdge*, std::string> internalNodes; writeNodesUnsplitted(oc, nb.getNodeCont(), nb.getEdgeCont(), internalNodes); writeLinksUnsplitted(oc, nb.getEdgeCont(), internalNodes); writeTrafficSignals(oc, nb.getNodeCont()); writeProhibitedManoeuvres(oc, nb.getNodeCont(), nb.getEdgeCont()); writeConnectedLanes(oc, nb.getNodeCont()); }