Eclipse SUMO - Simulation of Urban MObility
|
#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>
Go to the source code of this file.
Functions | |
NGNet * | buildNetwork (NBNetBuilder &nb) |
bool | checkOptions () |
void | fillOptions () |
int | main (int argc, char **argv) |
Definition in file netgen_main.cpp.
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().
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().
void fillOptions | ( | ) |
Definition at line 59 of file netgen_main.cpp.
References OptionsCont::addCallExample(), SystemFrame::addConfigurationOptions(), OptionsCont::addDescription(), OptionsCont::addOptionSubTopic(), SystemFrame::addReportOptions(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), NGFrame::fillOptions(), NBFrame::fillOptions(), NWFrame::fillOptions(), OptionsCont::getOptions(), RandHelper::insertRandOptions(), OptionsCont::setAdditionalHelpMessage(), and TL.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 229 of file netgen_main.cpp.
References NBNetBuilder::applyOptions(), buildNetwork(), checkOptions(), SystemFrame::close(), NBNetBuilder::compute(), NBNodeCont::discardTrafficLights(), fillOptions(), OptionsCont::getBool(), NBNetBuilder::getEdgeCont(), MsgHandler::getErrorInstance(), OptionsCont::getFloat(), NBNetBuilder::getNodeCont(), NBTrafficLightLogicCont::getNumExtracted(), OptionsCont::getOptions(), OptionsIO::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), NBNetBuilder::getTLLogicCont(), NBNetBuilder::getTypeCont(), MsgHandler::inform(), XMLSubSys::init(), GeoConvHelper::init(), MsgHandler::initOutputOptions(), RandHelper::initRandGlobal(), OptionsCont::isSet(), NITypeLoader::load(), NBNodeCont::printBuiltNodesStatistics(), OptionsCont::processMetaOptions(), OptionsCont::resetWritable(), OptionsCont::setApplicationDescription(), OptionsCont::setApplicationName(), OptionsIO::setArgs(), XMLSubSys::setValidation(), NBEdgeCont::size(), NBNodeCont::size(), TL, NGNet::toNB(), toString(), WRITE_ERROR, WRITE_MESSAGE, WRITE_MESSAGEF, and NWFrame::writeNetwork().