46 oc.
addCallExample(
"--net-file <INPUT>.net.xml --stat-file <INPUT>.stat.xml --output <OUTPUT>.rou.xml --rand",
47 "generate a trips file from a stats file on a given net using arbitrary random seed");
48 oc.
addCallExample(
"--net-file <INPUT>.net.xml --stat-file <INPUT>.stat.xml --output <OUTPUT>.rou.xml --duration-d <NBR_OF_DAYS>",
49 "generate a trips file from a stats file on a given net for numerous days (with fixed random seed)");
61 oc.
addDescription(
"net-file",
"Input",
TL(
"Use FILE as SUMO-network to create trips for"));
64 oc.
addDescription(
"stat-file",
"Input",
TL(
"Loads the SUMO-statistics FILE"));
72 oc.
addDescription(
"output-file",
"Output",
TL(
"Write generated trips to FILE"));
76 "Detailed messages about every single step");
81 oc.
addDescription(
"begin",
"Time",
TL(
"Sets the time of beginning of the simulation during the first day (in seconds)"));
84 oc.
addDescription(
"end",
"Time",
TL(
"Sets the time of ending of the simulation during the last day (in seconds)"));
87 oc.
addDescription(
"duration-d",
"Time",
TL(
"Sets the duration of the simulation in days"));
static bool checkOptions()
Checks set options from the OptionsCont singleton for being valid for usage within ActivityGen.
static void fillOptions()
Inserts options used by ActivityGen into the OptionsCont singleton.
A storage for options typed value containers)
void addDescription(const std::string &name, const std::string &subtopic, const std::string &description)
Adds a description for an option.
void addSynonyme(const std::string &name1, const std::string &name2, bool isDeprecated=false)
Adds a synonyme for an options name (any order)
void doRegister(const std::string &name, Option *o)
Adds an option under the given name.
void addOptionSubTopic(const std::string &topic)
Adds an option subtopic.
static OptionsCont & getOptions()
Retrieves the options.
void addCallExample(const std::string &example, const std::string &desc)
Add a call example.
static void insertRandOptions(OptionsCont &oc)
Initialises the given options container with random number options.
static void addConfigurationOptions(OptionsCont &oc)
Adds configuration options to the given container.
static void addReportOptions(OptionsCont &oc)
Adds reporting options to the given container.