47 oc.
addCallExample(
"-c <CONFIGURATION>",
"run routing with options from file");
70 oc.
addDescription(
"detector-files",
"Input",
TL(
"Loads detector descriptions from FILE"));
74 oc.
addSynonyme(
"measure-files",
"detector-flow-files",
true);
75 oc.
addDescription(
"measure-files",
"Input",
TL(
"Loads detector flows from FILE(s)"));
82 oc.
addDescription(
"routes-output",
"Output",
TL(
"Saves computed routes to FILE"));
85 oc.
addDescription(
"routes-for-all",
"Output",
TL(
"Forces dfrouter to compute routes for in-between detectors"));
88 oc.
addSynonyme(
"detector-output",
"detectors-output",
true);
89 oc.
addDescription(
"detector-output",
"Output",
TL(
"Saves typed detectors to FILE"));
92 oc.
addDescription(
"detectors-poi-output",
"Output",
TL(
"Saves detector positions as pois to FILE"));
95 oc.
addDescription(
"emitters-output",
"Output",
TL(
"Saves emitter definitions for source detectors to FILE"));
98 oc.
addDescription(
"vtype",
"Output",
TL(
"Add vehicle types to the emitters file (PKW, LKW)"));
101 oc.
addDescription(
"vtype-output",
"Output",
TL(
"Write generated vehicle types into separate FILE instead of including them into the emitters-output"));
104 oc.
addDescription(
"emitters-poi-output",
"Output",
TL(
"Saves emitter positions as pois to FILE"));
107 oc.
addSynonyme(
"variable-speed-sign-output",
"speed-trigger-output",
true);
108 oc.
addDescription(
"variable-speed-sign-output",
"Output",
TL(
"Saves variable seed sign definitions for sink detectors to FILE"));
111 oc.
addDescription(
"end-reroute-output",
"Output",
TL(
"Saves rerouter definitions for sink detectors to FILE"));
114 oc.
addDescription(
"validation-output",
"Output",
TL(
"Write induction loop definitions for the given detector positions to FILE"));
117 oc.
addDescription(
"validation-output.add-sources",
"Output",
TL(
"Add source detectors to the validation output"));
123 oc.
addDescription(
"guess-empty-flows",
"Processing",
TL(
"Derive missing flow values from upstream or downstream (not working!)"));
127 oc.
addDescription(
"highway-mode",
"Processing",
TL(
"Switches to highway-mode"));
131 oc.
addDescription(
"ignore-invalid-detectors",
"Processing",
TL(
"Only warn about unparseable detectors"));
135 oc.
addDescription(
"revalidate-detectors",
"Processing",
TL(
"Recomputes detector types even if given"));
139 oc.
addDescription(
"revalidate-routes",
"Processing",
TL(
"Recomputes routes even if given"));
142 oc.
addSynonyme(
"keep-unfinished-routes",
"keep-unfound-ends",
true);
143 oc.
addDescription(
"keep-unfinished-routes",
"Processing",
TL(
"Keeps routes even if they have exhausted max-search-depth"));
146 oc.
addDescription(
"keep-longer-routes",
"Processing",
TL(
"Keeps routes even if a shorter one exists"));
149 oc.
addSynonyme(
"max-search-depth",
"max-nodet-follower",
true);
150 oc.
addDescription(
"max-search-depth",
"Processing",
TL(
"Number of edges to follow a route without passing a detector"));
153 oc.
addDescription(
"emissions-only",
"Processing",
TL(
"Writes only emission times"));
156 oc.
addDescription(
"disallowed-edges",
"Processing",
TL(
"Do not route on these edges"));
159 oc.
addDescription(
"vclass",
"Processing",
TL(
"Only route on edges allowing the given vclass"));
162 oc.
addDescription(
"keep-turnarounds",
"Processing",
TL(
"Allow turnarounds as route continuations"));
165 oc.
addSynonyme(
"min-route-length",
"min-dist",
true);
166 oc.
addSynonyme(
"min-route-length",
"min-distance",
true);
167 oc.
addDescription(
"min-route-length",
"Processing",
TL(
"Minimum distance in meters between start and end node of every route"));
170 oc.
addDescription(
"randomize-flows",
"Processing",
TL(
"generate random departure times for emitted vehicles"));
174 oc.
addDescription(
"time-factor",
"Processing",
TL(
"Multiply flow times with TIME to get seconds"));
177 oc.
addDescription(
"time-offset",
"Processing",
TL(
"Subtracts TIME seconds from (scaled) flow times"));
180 oc.
addDescription(
"time-step",
"Processing",
TL(
"Expected distance between two successive data sets"));
184 oc.
addSynonyme(
"calibrator-output",
"write-calibrators",
true);
185 oc.
addDescription(
"calibrator-output",
"Processing",
TL(
"Write calibrators to FILE"));
188 oc.
addDescription(
"include-unused-routes",
"Processing",
TL(
"Include routes in the output which have no vehicles"));
192 oc.
addDescription(
"revalidate-flows",
"Processing",
TL(
"Checks whether detectors with calculated flow 0 can attract additional traffic"));
195 oc.
addDescription(
"remove-empty-detectors",
"Processing",
TL(
"Removes empty detectors from the list"));
198 oc.
addDescription(
"strict-sources",
"Processing",
TL(
"Whether edges with unknown status can prevent an edge from becoming a source"));
201 oc.
addDescription(
"respect-concurrent-inflows",
"Processing",
TL(
"Try to determine further inflows to an inbetween detector when computing split probabilities"));
209 oc.
addDescription(
"departlane",
"Defaults",
TL(
"Assigns a default depart lane"));
212 oc.
addDescription(
"departpos",
"Defaults",
TL(
"Assigns a default depart position"));
215 oc.
addDescription(
"departspeed",
"Defaults",
TL(
"Assigns a default depart speed"));
218 oc.
addDescription(
"arrivallane",
"Defaults",
TL(
"Assigns a default arrival lane"));
221 oc.
addDescription(
"arrivalpos",
"Defaults",
TL(
"Assigns a default arrival position"));
224 oc.
addDescription(
"arrivalspeed",
"Defaults",
TL(
"Assigns a default arrival speed"));
227 oc.
addDescription(
"speeddev",
"Defaults",
TL(
"The default speed deviation of vehicles"));
231 oc.
addDescription(
"begin",
"Time",
TL(
"Defines the begin time; Previous defs will be discarded"));
234 oc.
addDescription(
"end",
"Time",
TL(
"Defines the end time; Later defs will be discarded; Defaults to one day"));
239 oc.
addDescription(
"report-empty-detectors",
"Report",
TL(
"Lists detectors with no flow (enable -v)"));
242 oc.
addDescription(
"print-absolute-flows",
"Report",
TL(
"Prints aggregated detector flows"));
246 oc.
addDescription(
"no-step-log",
"Report",
TL(
"Disable console output of route parsing step"));
std::vector< std::string > StringVector
Definition of a vector of strings.
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 bool checkOptions()
Checks set options from the OptionsCont-singleton for being valid for usage within dfrouter.
static void fillOptions()
Inserts options used by dfrouter into the OptionsCont-singleton.
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.