|
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 <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/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 112 of file netgen_main.cpp.
References TNeighbourDistribution::add(), NGNet::createChequerBoard(), NGRandomNetBuilder::createNet(), NGNet::createSpiderWeb(), OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), OptionsCont::isDefault(), SUMOReal, and WRITE_ERROR.
Referenced by main().
| bool checkOptions | ( | ) |
Definition at line 103 of file netgen_main.cpp.
References NGFrame::checkOptions(), NWFrame::checkOptions(), and NBFrame::checkOptions().
Referenced by main().
| void fillOptions | ( | ) |
Definition at line 69 of file netgen_main.cpp.
References OptionsCont::addCallExample(), SystemFrame::addConfigurationOptions(), OptionsCont::addDescription(), OptionsCont::addOptionSubTopic(), SystemFrame::addReportOptions(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), NGFrame::fillOptions(), NWFrame::fillOptions(), NBFrame::fillOptions(), OptionsCont::getOptions(), RandHelper::insertRandOptions(), and OptionsCont::setAdditionalHelpMessage().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 204 of file netgen_main.cpp.
References NBNetBuilder::applyOptions(), buildNetwork(), checkOptions(), SystemFrame::close(), NBNetBuilder::compute(), fillOptions(), getBuildName(), NBNetBuilder::getEdgeCont(), MsgHandler::getErrorInstance(), OptionsCont::getFloat(), NBNetBuilder::getNodeCont(), OptionsIO::getOptions(), OptionsCont::getOptions(), OptionsCont::getString(), MsgHandler::inform(), XMLSubSys::init(), GeoConvHelper::init(), MsgHandler::initOutputOptions(), RandHelper::initRandGlobal(), OptionsCont::processMetaOptions(), OptionsCont::resetWritable(), OptionsCont::setApplicationDescription(), OptionsCont::setApplicationName(), OptionsIO::setArgs(), XMLSubSys::setValidation(), NBNodeCont::size(), NBEdgeCont::size(), NGNet::toNB(), VERSION_STRING, WRITE_ERROR, WRITE_MESSAGE, and NWFrame::writeNetwork().