Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
netgen_main.cpp File Reference
#include <config.h>
#include <iostream>
#include <fstream>
#include <string>
#include <ctime>
#include <netgen/NGNet.h>
#include <netgen/NGRandomNetBuilder.h>
#include <netgen/NGFrame.h>
#include <netbuild/NBNetBuilder.h>
#include <netbuild/NBFrame.h>
#include <netwrite/NWFrame.h>
#include <netimport/NITypeLoader.h>
#include <netimport/NIXMLTypesHandler.h>
#include <utils/options/OptionsCont.h>
#include <utils/options/OptionsIO.h>
#include <utils/options/Option.h>
#include <utils/common/MsgHandler.h>
#include <utils/common/SystemFrame.h>
#include <utils/common/UtilExceptions.h>
#include <utils/common/RandHelper.h>
#include <utils/common/ToString.h>
#include <utils/distribution/RandomDistributor.h>
#include <utils/geom/GeoConvHelper.h>
#include <utils/xml/XMLSubSys.h>
#include <utils/iodevices/OutputDevice.h>
Include dependency graph for netgen_main.cpp:

Go to the source code of this file.

Functions

NGNetbuildNetwork (NBNetBuilder &nb)
 
bool checkOptions ()
 
void fillOptions ()
 
int main (int argc, char **argv)
 

Detailed Description

Author
Markus Hartinger
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Mar, 2003

Definition in file netgen_main.cpp.

Function Documentation

◆ buildNetwork()

NGNet * buildNetwork ( NBNetBuilder nb)

Definition at line 110 of file netgen_main.cpp.

References RandomDistributor< T >::add(), NGNet::createChequerBoard(), NGRandomNetBuilder::createNet(), NGNet::createSpiderWeb(), DEG2RAD, OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), OptionsCont::isDefault(), M_PI, MAX2(), SUMO_const_laneWidth, TL, toString(), WRITE_ERROR, WRITE_WARNING, and WRITE_WARNINGF.

Referenced by main().

Here is the caller graph for this function:

◆ checkOptions()

bool checkOptions ( )

Definition at line 99 of file netgen_main.cpp.

References NGFrame::checkOptions(), NBFrame::checkOptions(), NWFrame::checkOptions(), SystemFrame::checkOptions(), and OptionsCont::getOptions().

Referenced by main().

Here is the caller graph for this function:

◆ fillOptions()

◆ main()