Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
duarouter_main.cpp File Reference
#include <config.h>
#include <iostream>
#include <string>
#include <limits.h>
#include <ctime>
#include <memory>
#include <xercesc/sax/SAXException.hpp>
#include <xercesc/sax/SAXParseException.hpp>
#include <utils/common/StringUtils.h>
#include <utils/common/MsgHandler.h>
#include <utils/common/UtilExceptions.h>
#include <utils/sysframe/SystemFrame.h>
#include <utils/common/RandHelper.h>
#include <utils/common/ToString.h>
#include <utils/vehicle/SUMORouteHandler.h>
#include <utils/common/iodevices/OutputDevice.h>
#include <utils/options/Option.h>
#include <utils/options/OptionsCont.h>
#include <utils/options/OptionsIO.h>
#include <utils/router/DijkstraRouter.h>
#include <utils/router/AFRouter.h>
#include <utils/router/AStarRouter.h>
#include <utils/router/CHRouter.h>
#include <utils/router/CHRouterWrapper.h>
#include <utils/router/CCHRouter.h>
#include <utils/vehicle/SUMOVehicleParserHelper.h>
#include <utils/xml/XMLSubSys.h>
#include <router/ROFrame.h>
#include <router/ROLoader.h>
#include <router/RONet.h>
#include <router/ROEdge.h>
#include "RODUAEdgeBuilder.h"
#include <router/ROLane.h>
#include <router/RONode.h>
#include <router/ROCCHMetrics.h>
#include "RODUAFrame.h"
Include dependency graph for duarouter_main.cpp:

Go to the source code of this file.

Functions

void computeRoutes (RONet &net, ROLoader &loader, OptionsCont &oc)
 
void initNet (RONet &net, ROLoader &loader, OptionsCont &oc)
 
int main (int argc, char **argv)
 

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Thu, 06 Jun 2002

Definition in file duarouter_main.cpp.

Function Documentation

◆ computeRoutes()

void computeRoutes ( RONet &  net,
ROLoader &  loader,
OptionsCont &  oc 
)

Computes the routes saving them

The number of levels in the k-d tree partition

Definition at line 103 of file duarouter_main.cpp.

References RONet::adaptIntermodalRouter(), backward, RONet::cleanup(), DEFAULT_VTYPE_ID, forward, ROCCHMetrics::get(), ROEdge::getAllEdges(), OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getInt(), RouterProvider< E, L, N, V >::getIntermodalRouter(), ROEdge::getNoiseEffort(), OptionsCont::getOptions(), ROLoader::getRouteHandler(), ROEdge::getStoredEffort(), OptionsCont::getString(), ROEdge::getTravelTimeStatic(), ROEdge::getTravelTimeStaticPriorityFactor(), ROEdge::getTravelTimeStaticPriorityFactorRandomized(), ROEdge::getTravelTimeStaticRandomized(), RONet::getVehicleTypeSecure(), gRoutingPreferences, gWeightsRandomFactor, RONet::hasBidiEdges(), RONet::hasLoadedEffort(), RONet::hasPermissions(), RONet::hasProhibitions(), RONet::hasSpeedRestrictions(), ROCCHMetrics::init(), KDTreePartition< E, N, V >::init(), ROEdge::initPriorityFactor(), OptionsCont::isDefault(), OptionsCont::isSet(), RONet::openOutput(), ROLoader::openRoutes(), SUMOVehicleParserHelper::parseCarWalkTransfer(), ROCCHMetrics::periodEnd(), ROLoader::processRoutes(), STEPS2TIME, string2time(), SUMOTime_MAX, SUMOAbstractRouter< E, V >::supportsProhibitions(), SVC_IGNORING, TL, TLF, WRITE_WARNINGF, and RONet::writeIntermodal().

Referenced by main().

Here is the caller graph for this function:

◆ initNet()

void initNet ( RONet &  net,
ROLoader &  loader,
OptionsCont &  oc 
)

loads the net The net is in this meaning made up by the net itself and the dynamic weights which may be supplied in a separate file

Definition at line 81 of file duarouter_main.cpp.

References OptionsCont::getBool(), OptionsCont::getString(), OptionsCont::isSet(), ROLoader::loadNet(), ROLoader::loadWeights(), ROEdge::setGlobalOptions(), and RORouteDef::setSkipNew().

Referenced by main().

Here is the caller graph for this function:

◆ main()