SUMO - Simulation of Urban MObility
marouter_main.cpp File Reference
#include <config.h>
#include <xercesc/sax/SAXException.hpp>
#include <xercesc/sax/SAXParseException.hpp>
#include <utils/common/TplConvert.h>
#include <iostream>
#include <string>
#include <limits.h>
#include <ctime>
#include <vector>
#include <utils/common/MsgHandler.h>
#include <utils/common/UtilExceptions.h>
#include <utils/common/SystemFrame.h>
#include <utils/common/RandHelper.h>
#include <utils/common/ToString.h>
#include <utils/distribution/Distribution_Points.h>
#include <utils/iodevices/OutputDevice.h>
#include <utils/iodevices/OutputDevice_String.h>
#include <utils/options/Option.h>
#include <utils/options/OptionsCont.h>
#include <utils/options/OptionsIO.h>
#include <utils/vehicle/RouteCostCalculator.h>
#include <utils/vehicle/DijkstraRouterTT.h>
#include <utils/vehicle/DijkstraRouterEffort.h>
#include <utils/vehicle/AStarRouter.h>
#include <utils/vehicle/CHRouter.h>
#include <utils/vehicle/CHRouterWrapper.h>
#include <utils/xml/XMLSubSys.h>
#include <od/ODCell.h>
#include <od/ODDistrict.h>
#include <od/ODDistrictCont.h>
#include <od/ODDistrictHandler.h>
#include <od/ODMatrix.h>
#include <router/ROEdge.h>
#include <router/ROLoader.h>
#include <router/RONet.h>
#include <router/RORoute.h>
#include <router/RORoutable.h>
#include "ROMAFrame.h"
#include "ROMAAssignments.h"
#include "ROMAEdgeBuilder.h"
#include "ROMARouteHandler.h"
#include "ROMAEdge.h"
Include dependency graph for marouter_main.cpp:

Go to the source code of this file.

Functions

void computeAllPairs (RONet &net, OptionsCont &oc)
 
void computeRoutes (RONet &net, OptionsCont &oc, ODMatrix &matrix)
 
SUMOReal getTravelTime (const ROEdge *const edge, const ROVehicle *const , SUMOReal)
 
void initNet (RONet &net, ROLoader &loader, OptionsCont &oc)
 
int main (int argc, char **argv)
 
void writeInterval (OutputDevice &dev, const SUMOTime begin, const SUMOTime end, const RONet &net, const ROVehicle *const veh)
 

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Laura Bieker
Michael Behrisch
Date
Thu, 06 Jun 2002
Version
Id
marouter_main.cpp 20838 2016-06-01 11:21:46Z behrisch

Definition in file marouter_main.cpp.

Function Documentation

void computeAllPairs ( RONet net,
OptionsCont oc 
)
SUMOReal getTravelTime ( const ROEdge *const  edge,
const ROVehicle const,
SUMOReal   
)

Definition at line 119 of file marouter_main.cpp.

References ROEdge::getLength(), and ROEdge::getSpeed().

Referenced by computeAllPairs().

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 98 of file marouter_main.cpp.

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

Referenced by main().