49 #ifdef CHECK_MEMORY_LEAKS
51 #endif // CHECK_MEMORY_LEAKS
60 oc.
addCallExample(
"-c <CONFIGURATION>",
"run routing with options from file");
76 oc.
addDescription(
"net-file",
"Input",
"Loads the SUMO-network FILE");
85 oc.
addDescription(
"detector-files",
"Input",
"Loads detector descriptions from FILE");
89 oc.
addSynonyme(
"measure-files",
"detector-flow-files",
true);
90 oc.
addDescription(
"measure-files",
"Input",
"Loads detector flows from FILE(s)");
95 oc.
addDescription(
"routes-output",
"Output",
"Saves computed routes to FILE");
98 oc.
addDescription(
"routes-for-all",
"Output",
"Forces DFROUTER to compute routes for in-between detectors");
101 oc.
addSynonyme(
"detector-output",
"detectors-output",
true);
102 oc.
addDescription(
"detector-output",
"Output",
"Saves typed detectors to FILE");
105 oc.
addDescription(
"detectors-poi-output",
"Output",
"Saves detector positions as pois to FILE");
108 oc.
addDescription(
"emitters-output",
"Output",
"Saves emitter definitions for source detectors to FILE");
111 oc.
addDescription(
"vtype",
"Output",
"Add vehicle types to the emitters file (PKW, LKW)");
114 oc.
addDescription(
"vtype-output",
"Output",
"Write generated vehicle types into separate FILE instead of including them into the emitters-output");
117 oc.
addDescription(
"emitters-poi-output",
"Output",
"Saves emitter positions as pois to FILE");
120 oc.
addSynonyme(
"variable-speed-sign-output",
"speed-trigger-output",
true);
121 oc.
addDescription(
"variable-speed-sign-output",
"Output",
"Saves variable seed sign definitions for sink detectors to FILE");
124 oc.
addDescription(
"end-reroute-output",
"Output",
"Saves rerouter definitions for sink detectors to FILE");
136 oc.
addDescription(
"guess-empty-flows",
"Processing",
"Derive missing flow values from upstream or downstream (not working!)");
140 oc.
addDescription(
"highway-mode",
"Processing",
"Switches to highway-mode");
144 oc.
addDescription(
"ignore-invalid-detectors",
"Processing",
"Only warn about unparseable detectors");
148 oc.
addDescription(
"revalidate-detectors",
"Processing",
"Recomputes detector types even if given");
152 oc.
addDescription(
"revalidate-routes",
"Processing",
"Recomputes routes even if given");
155 oc.
addSynonyme(
"keep-unfinished-routes",
"keep-unfound-ends",
true);
156 oc.
addDescription(
"keep-unfinished-routes",
"Processing",
"Keeps routes even if they have exhausted max-search-depth");
159 oc.
addDescription(
"keep-longer-routes",
"Processing",
"Keeps routes even if a shorter one exists");
162 oc.
addSynonyme(
"max-search-depth",
"max-nodet-follower",
true);
163 oc.
addDescription(
"max-search-depth",
"Processing",
"Number of edges to follow a route without passing a detector");
166 oc.
addDescription(
"emissions-only",
"Processing",
"Writes only emission times");
169 oc.
addDescription(
"disallowed-edges",
"Processing",
"Do not route on these edges");
172 oc.
addDescription(
"keep-turnarounds",
"Processing",
"Allow turnarounds as route continuations");
175 oc.
addSynonyme(
"min-route-length",
"min-dist",
true);
176 oc.
addSynonyme(
"min-route-length",
"min-distance",
true);
177 oc.
addDescription(
"min-route-length",
"Processing",
"Minimum distance in meters between start and end node of every route");
181 oc.
addDescription(
"time-factor",
"Processing",
"Multiply flow times with TIME to get seconds");
184 oc.
addDescription(
"time-offset",
"Processing",
"Subtracts TIME seconds from (scaled) flow times");
187 oc.
addDescription(
"time-step",
"Processing",
"Expected distance between two successive data sets");
191 oc.
addSynonyme(
"calibrator-output",
"write-calibrators",
true);
192 oc.
addDescription(
"calibrator-output",
"Processing",
"Write calibrators to FILE");
202 oc.
addDescription(
"remove-empty-detectors",
"Processing",
"Removes empty detectors from the list");
208 oc.
addDescription(
"respect-concurrent-inflows",
"Processing",
"Try to determine further inflows to an inbetween detector when computing split probabilities");
218 oc.
addDescription(
"scale",
"Processing",
"Scale factor for flows");
222 oc.
addDescription(
"departlane",
"Defaults",
"Assigns a default depart lane");
225 oc.
addDescription(
"departpos",
"Defaults",
"Assigns a default depart position");
228 oc.
addDescription(
"departspeed",
"Defaults",
"Assigns a default depart speed");
231 oc.
addDescription(
"arrivallane",
"Defaults",
"Assigns a default arrival lane");
234 oc.
addDescription(
"arrivalpos",
"Defaults",
"Assigns a default arrival position");
237 oc.
addDescription(
"arrivalspeed",
"Defaults",
"Assigns a default arrival speed");
240 oc.
addDescription(
"speeddev",
"Defaults",
"The default speed deviation of vehicles");
244 oc.
addDescription(
"begin",
"Time",
"Defines the begin time; Previous defs will be discarded");
247 oc.
addDescription(
"end",
"Time",
"Defines the end time; Later defs will be discarded; Defaults to one day");
252 oc.
addDescription(
"report-empty-detectors",
"Report",
"Lists detectors with no flow (enable -v)");
255 oc.
addDescription(
"print-absolute-flows",
"Report",
"Prints aggregated detector flows");
259 oc.
addDescription(
"no-step-log",
"Report",
"Disable console output of route parsing step");
void doRegister(const std::string &name, Option *v)
Adds an option under the given name.
static void insertRandOptions()
Initialises the given options container with random number options.
static void addReportOptions(OptionsCont &oc)
Adds reporting options to the given container.
void addCallExample(const std::string &example, const std::string &desc)
Add a call example.
static void addConfigurationOptions(OptionsCont &oc)
Adds configuration options to the given container.
static OptionsCont & getOptions()
Retrieves the options.
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.
A storage for options typed value containers)
static bool checkOptions()
Checks set options from the OptionsCont-singleton for being valid for usage within dfrouter...
void addDescription(const std::string &name, const std::string &subtopic, const std::string &description)
Adds a description for an option.
static void fillOptions()
Inserts options used by dfrouter into the OptionsCont-singleton.