![]() |
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 106 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(), and WRITE_ERROR.
Referenced by main().
bool checkOptions | ( | ) |
Definition at line 96 of file netgen_main.cpp.
References NBFrame::checkOptions(), NGFrame::checkOptions(), NWFrame::checkOptions(), and SystemFrame::checkOptions().
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(), and OptionsCont::setAdditionalHelpMessage().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 199 of file netgen_main.cpp.
References NBNetBuilder::applyOptions(), buildNetwork(), checkOptions(), SystemFrame::close(), NBNetBuilder::compute(), fillOptions(), NBNetBuilder::getEdgeCont(), MsgHandler::getErrorInstance(), OptionsCont::getFloat(), NBNetBuilder::getNodeCont(), OptionsCont::getOptions(), OptionsIO::getOptions(), OptionsCont::getString(), OptionsCont::getStringVector(), NBNetBuilder::getTypeCont(), MsgHandler::inform(), XMLSubSys::init(), GeoConvHelper::init(), MsgHandler::initOutputOptions(), RandHelper::initRandGlobal(), OptionsCont::isSet(), NITypeLoader::load(), OptionsCont::processMetaOptions(), OptionsCont::resetWritable(), OptionsCont::setApplicationDescription(), OptionsCont::setApplicationName(), OptionsIO::setArgs(), XMLSubSys::setValidation(), NBEdgeCont::size(), NBNodeCont::size(), NGNet::toNB(), WRITE_ERROR, WRITE_MESSAGE, and NWFrame::writeNetwork().