48 oc.
addDescription(
"output-file",
"Output",
"Write generated routes to FILE");
52 oc.
addDescription(
"vtype-output",
"Output",
"Write used vehicle types into separate FILE");
55 oc.
addDescription(
"keep-vtype-distributions",
"Output",
"Keep vTypeDistribution ids when writing vehicles and their types");
59 oc.
addDescription(
"net-file",
"Input",
"Use FILE as SUMO-network to route on");
65 oc.
addSynonyme(
"additional-files",
"districts",
true);
66 oc.
addDescription(
"additional-files",
"Input",
"Read additional network data (districts, bus stops) from FILE(s)");
72 oc.
addSynonyme(
"route-files",
"alternative-files",
true);
73 oc.
addSynonyme(
"route-files",
"alternatives-files",
true);
76 oc.
addDescription(
"route-files",
"Input",
"Read sumo routes, alternatives, flows, and trips from FILE(s)");
80 oc.
addDescription(
"begin",
"Time",
"Defines the begin time; Previous trips will be discarded");
83 oc.
addDescription(
"end",
"Time",
"Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can represent");
87 oc.
addSynonyme(
"ignore-errors",
"continue-on-unbuild",
true);
88 oc.
addDescription(
"ignore-errors",
"Report",
"Continue if a route could not be build");
92 oc.
addDescription(
"unsorted-input",
"Processing",
"Assume input is unsorted");
95 oc.
addDescription(
"route-steps",
"Processing",
"Load routes for the next number of seconds ahead");
98 oc.
addDescription(
"no-internal-links",
"Processing",
"Disable (junction) internal links");
101 oc.
addDescription(
"randomize-flows",
"Processing",
"generate random departure times for flow input");
104 oc.
addDescription(
"max-alternatives",
"Processing",
"Prune the number of alternatives to INT");
107 oc.
addDescription(
"remove-loops",
"Processing",
"Remove loops within the route; Remove turnarounds at start and end of the route");
110 oc.
addDescription(
"repair",
"Processing",
"Tries to correct a false route");
113 oc.
addDescription(
"repair.from",
"Processing",
"Tries to correct an invalid starting edge by using the first usable edge instead");
116 oc.
addDescription(
"repair.to",
"Processing",
"Tries to correct an invalid destination edge by using the last usable edge instead");
119 oc.
addSynonyme(
"weights.interpolate",
"interpolate",
true);
120 oc.
addDescription(
"weights.interpolate",
"Processing",
"Interpolate edge weights at interval boundaries");
123 oc.
addDescription(
"with-taz",
"Processing",
"Use origin and destination zones (districts) for in- and output");
126 oc.
addDescription(
"bulk-routing",
"Processing",
"Aggregate routing queries with the same origin");
129 oc.
addDescription(
"routing-threads",
"Processing",
"The number of parallel execution threads used for routing");
133 oc.
addDescription(
"departlane",
"Defaults",
"Assigns a default depart lane");
136 oc.
addDescription(
"departpos",
"Defaults",
"Assigns a default depart position");
139 oc.
addDescription(
"departspeed",
"Defaults",
"Assigns a default depart speed");
142 oc.
addDescription(
"arrivallane",
"Defaults",
"Assigns a default arrival lane");
145 oc.
addDescription(
"arrivalpos",
"Defaults",
"Assigns a default arrival position");
148 oc.
addDescription(
"arrivalspeed",
"Defaults",
"Assigns a default arrival speed");
151 oc.
addDescription(
"defaults-override",
"Defaults",
"Defaults will override given values");
156 oc.
addDescription(
"stats-period",
"Report",
"Defines how often statistics shall be printed");
159 oc.
addDescription(
"no-step-log",
"Report",
"Disable console output of route parsing step");
166 if (!oc.
isSet(
"output-file")) {
171 if (oc.
getInt(
"max-alternatives") < 2) {
172 WRITE_ERROR(
"At least two alternatives should be enabled.");
176 if (oc.
getInt(
"routing-threads") > 1) {
177 WRITE_ERROR(
"Parallel routing is only possible when compiled with Fox.");
void doRegister(const std::string &name, Option *v)
Adds an option under the given name.
int getInt(const std::string &name) const
Returns the int-value of the named option (only for Option_Integer)
static void fillOptions(OptionsCont &oc)
Inserts options used by routing applications into the OptionsCont-singleton.
void addSynonyme(const std::string &name1, const std::string &name2, bool isDeprecated=false)
Adds a synonyme for an options name (any order)
bool isSet(const std::string &name, bool failOnNonExistant=true) const
Returns the information whether the named option is set.
static bool checkOptions(OptionsCont &oc)
Checks whether options are valid.
#define SUMOTIME_MAXSTRING
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.