47 oc.
addCallExample(
"-c <CONFIGURATION>",
"run routing with options from file");
61 oc.
addDescription(
"net-file",
"Input",
"Loads the SUMO-network FILE");
70 oc.
addDescription(
"detector-files",
"Input",
"Loads detector descriptions from FILE");
74 oc.
addSynonyme(
"measure-files",
"detector-flow-files",
true);
75 oc.
addDescription(
"measure-files",
"Input",
"Loads detector flows from FILE(s)");
82 oc.
addDescription(
"routes-output",
"Output",
"Saves computed routes to FILE");
85 oc.
addDescription(
"routes-for-all",
"Output",
"Forces dfrouter to compute routes for in-between detectors");
88 oc.
addSynonyme(
"detector-output",
"detectors-output",
true);
89 oc.
addDescription(
"detector-output",
"Output",
"Saves typed detectors to FILE");
92 oc.
addDescription(
"detectors-poi-output",
"Output",
"Saves detector positions as pois to FILE");
95 oc.
addDescription(
"emitters-output",
"Output",
"Saves emitter definitions for source detectors to FILE");
98 oc.
addDescription(
"vtype",
"Output",
"Add vehicle types to the emitters file (PKW, LKW)");
101 oc.
addDescription(
"vtype-output",
"Output",
"Write generated vehicle types into separate FILE instead of including them into the emitters-output");
104 oc.
addDescription(
"emitters-poi-output",
"Output",
"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",
"Saves variable seed sign definitions for sink detectors to FILE");
111 oc.
addDescription(
"end-reroute-output",
"Output",
"Saves rerouter definitions for sink detectors to FILE");
123 oc.
addDescription(
"guess-empty-flows",
"Processing",
"Derive missing flow values from upstream or downstream (not working!)");
127 oc.
addDescription(
"highway-mode",
"Processing",
"Switches to highway-mode");
131 oc.
addDescription(
"ignore-invalid-detectors",
"Processing",
"Only warn about unparseable detectors");
135 oc.
addDescription(
"revalidate-detectors",
"Processing",
"Recomputes detector types even if given");
139 oc.
addDescription(
"revalidate-routes",
"Processing",
"Recomputes routes even if given");
142 oc.
addSynonyme(
"keep-unfinished-routes",
"keep-unfound-ends",
true);
143 oc.
addDescription(
"keep-unfinished-routes",
"Processing",
"Keeps routes even if they have exhausted max-search-depth");
146 oc.
addDescription(
"keep-longer-routes",
"Processing",
"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",
"Number of edges to follow a route without passing a detector");
153 oc.
addDescription(
"emissions-only",
"Processing",
"Writes only emission times");
156 oc.
addDescription(
"disallowed-edges",
"Processing",
"Do not route on these edges");
159 oc.
addDescription(
"keep-turnarounds",
"Processing",
"Allow turnarounds as route continuations");
162 oc.
addSynonyme(
"min-route-length",
"min-dist",
true);
163 oc.
addSynonyme(
"min-route-length",
"min-distance",
true);
164 oc.
addDescription(
"min-route-length",
"Processing",
"Minimum distance in meters between start and end node of every route");
167 oc.
addDescription(
"randomize-flows",
"Processing",
"generate random departure times for emitted vehicles");
171 oc.
addDescription(
"time-factor",
"Processing",
"Multiply flow times with TIME to get seconds");
174 oc.
addDescription(
"time-offset",
"Processing",
"Subtracts TIME seconds from (scaled) flow times");
177 oc.
addDescription(
"time-step",
"Processing",
"Expected distance between two successive data sets");
181 oc.
addSynonyme(
"calibrator-output",
"write-calibrators",
true);
182 oc.
addDescription(
"calibrator-output",
"Processing",
"Write calibrators to FILE");
192 oc.
addDescription(
"remove-empty-detectors",
"Processing",
"Removes empty detectors from the list");
198 oc.
addDescription(
"respect-concurrent-inflows",
"Processing",
"Try to determine further inflows to an inbetween detector when computing split probabilities");
202 oc.
addDescription(
"scale",
"Processing",
"Scale factor for flows");
206 oc.
addDescription(
"departlane",
"Defaults",
"Assigns a default depart lane");
209 oc.
addDescription(
"departpos",
"Defaults",
"Assigns a default depart position");
212 oc.
addDescription(
"departspeed",
"Defaults",
"Assigns a default depart speed");
215 oc.
addDescription(
"arrivallane",
"Defaults",
"Assigns a default arrival lane");
218 oc.
addDescription(
"arrivalpos",
"Defaults",
"Assigns a default arrival position");
221 oc.
addDescription(
"arrivalspeed",
"Defaults",
"Assigns a default arrival speed");
224 oc.
addDescription(
"speeddev",
"Defaults",
"The default speed deviation of vehicles");
228 oc.
addDescription(
"begin",
"Time",
"Defines the begin time; Previous defs will be discarded");
231 oc.
addDescription(
"end",
"Time",
"Defines the end time; Later defs will be discarded; Defaults to one day");
236 oc.
addDescription(
"report-empty-detectors",
"Report",
"Lists detectors with no flow (enable -v)");
239 oc.
addDescription(
"print-absolute-flows",
"Report",
"Prints aggregated detector flows");
243 oc.
addDescription(
"no-step-log",
"Report",
"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 doRegister(const std::string &name, Option *v)
Adds an option under the given name.
void addSynonyme(const std::string &name1, const std::string &name2, bool isDeprecated=false)
Adds a synonyme for an options name (any order)
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()
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.