SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
jtrrouter_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 <set>
#include <utils/common/MsgHandler.h>
#include <utils/common/UtilExceptions.h>
#include <utils/common/SystemFrame.h>
#include <utils/common/ToString.h>
#include <utils/common/RandHelper.h>
#include <utils/common/StringTokenizer.h>
#include <utils/iodevices/OutputDevice.h>
#include <utils/options/Option.h>
#include <utils/options/OptionsCont.h>
#include <utils/options/OptionsIO.h>
#include <utils/xml/XMLSubSys.h>
#include <router/ROFrame.h>
#include <router/ROLoader.h>
#include <router/RONet.h>
#include <router/RORouteDef.h>
#include "ROJTREdgeBuilder.h"
#include "ROJTRRouter.h"
#include "ROJTREdge.h"
#include "ROJTRTurnDefLoader.h"
#include "ROJTRFrame.h"
Include dependency graph for jtrrouter_main.cpp:

Go to the source code of this file.

Functions

void computeRoutes (RONet &net, ROLoader &loader, OptionsCont &oc)
 
std::vector< SUMORealgetTurningDefaults (OptionsCont &oc)
 
void initNet (RONet &net, ROLoader &loader, const std::vector< SUMOReal > &turnDefs)
 
void loadJTRDefinitions (RONet &net, OptionsCont &oc)
 
int main (int argc, char **argv)
 

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Tue, 20 Jan 2004
Version
Id
jtrrouter_main.cpp 20811 2016-05-30 11:05:58Z behrisch

Definition in file jtrrouter_main.cpp.

Function Documentation

std::vector<SUMOReal> getTurningDefaults ( OptionsCont oc)

Definition at line 96 of file jtrrouter_main.cpp.

References TplConvert::_2SUMOReal(), OptionsCont::getStringVector(), and SUMOReal.

Referenced by main().

void initNet ( RONet net,
ROLoader loader,
const std::vector< SUMOReal > &  turnDefs 
)

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 83 of file jtrrouter_main.cpp.

References RONet::getEdgeMap(), and ROLoader::loadNet().

Referenced by main().