48 oc.
addCallExample(
"-c <CONFIGURATION>",
"run routing with options from file");
73 oc.
addDescription(
"output-file",
"Output",
"Write flow definitions with route distributions to FILE");
76 oc.
addDescription(
"vtype-output",
"Output",
"Write used vehicle types into separate FILE");
79 oc.
addSynonyme(
"ignore-vehicle-type",
"no-vtype",
true);
80 oc.
addDescription(
"ignore-vehicle-type",
"Output",
"Does not save vtype information");
83 oc.
addDescription(
"netload-output",
"Output",
"Writes edge loads and final costs into FILE");
86 oc.
addDescription(
"all-pairs-output",
"Output",
"Writes complete distance matrix into FILE");
90 oc.
addDescription(
"net-file",
"Input",
"Use FILE as SUMO-network to route on");
95 oc.
addSynonyme(
"additional-files",
"districts",
true);
96 oc.
addDescription(
"additional-files",
"Input",
"Read additional network data (districts, bus stops) from FILE");
100 oc.
addDescription(
"od-matrix-files",
"Input",
"Loads O/D-files from FILE(s)");
103 oc.
addSynonyme(
"od-amitran-files",
"amitran-files");
105 oc.
addDescription(
"od-amitran-files",
"Input",
"Loads O/D-matrix in Amitran format from FILE(s)");
111 oc.
addDescription(
"route-files",
"Input",
"Read sumo-routes or trips from FILE(s)");
115 oc.
addDescription(
"weight-files",
"Input",
"Read network weights from FILE(s)");
118 oc.
addDescription(
"lane-weight-files",
"Input",
"Read lane-based network weights from FILE(s)");
121 oc.
addSynonyme(
"weight-attribute",
"measure",
true);
122 oc.
addDescription(
"weight-attribute",
"Input",
"Name of the xml attribute which gives the edge weight");
125 oc.
addDescription(
"weight-adaption",
"Input",
"The travel time influence of prior intervals");
128 oc.
addDescription(
"taz-param",
"Input",
"Parameter key(s) defining source (and sink) taz");
132 oc.
addDescription(
"begin",
"Time",
"Defines the begin time; Previous trips will be discarded");
135 oc.
addDescription(
"end",
"Time",
"Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can represent");
139 oc.
addDescription(
"aggregation-interval",
"Processing",
"Defines the time interval when aggregating single vehicle input; Defaults to one hour");
142 oc.
addSynonyme(
"ignore-errors",
"continue-on-unbuild",
true);
143 oc.
addSynonyme(
"ignore-errors",
"dismiss-loading-errors",
true);
144 oc.
addDescription(
"ignore-errors",
"Report",
"Continue if a route could not be build");
147 oc.
addDescription(
"max-alternatives",
"Processing",
"Prune the number of alternatives to INT");
150 oc.
addSynonyme(
"weights.interpolate",
"interpolate",
true);
151 oc.
addDescription(
"weights.interpolate",
"Processing",
"Interpolate edge weights at interval boundaries");
154 oc.
addSynonyme(
"weights.expand",
"expand-weights",
true);
155 oc.
addDescription(
"weights.expand",
"Processing",
"Expand weights behind the simulation's end");
158 oc.
addDescription(
"routing-algorithm",
"Processing",
"Select among routing algorithms ['dijkstra', 'astar', 'CH', 'CHWrapper']");
161 oc.
addDescription(
"bulk-routing.vtypes",
"Processing",
"Aggregate routing queries with the same origin for different vehicle types");
164 oc.
addDescription(
"routing-threads",
"Processing",
"The number of parallel execution threads used for routing");
167 oc.
addDescription(
"weight-period",
"Processing",
"Aggregation period for the given weight files; triggers rebuilding of Contraction Hierarchy");
171 oc.
addSynonyme(
"flow-output.departlane",
"departlane");
172 oc.
addDescription(
"flow-output.departlane",
"Defaults",
"Assigns a default depart lane");
175 oc.
addSynonyme(
"flow-output.departpos",
"departpos");
176 oc.
addDescription(
"flow-output.departpos",
"Defaults",
"Assigns a default depart position");
179 oc.
addSynonyme(
"flow-output.departspeed",
"departspeed");
180 oc.
addDescription(
"flow-output.departspeed",
"Defaults",
"Assigns a default depart speed");
183 oc.
addSynonyme(
"flow-output.arrivallane",
"arrivallane");
184 oc.
addDescription(
"flow-output.arrivallane",
"Defaults",
"Assigns a default arrival lane");
187 oc.
addSynonyme(
"flow-output.arrivalpos",
"arrivalpos");
188 oc.
addDescription(
"flow-output.arrivalpos",
"Defaults",
"Assigns a default arrival position");
191 oc.
addSynonyme(
"flow-output.arrivalspeed",
"arrivalspeed");
192 oc.
addDescription(
"flow-output.arrivalspeed",
"Defaults",
"Assigns a default arrival speed");
202 oc.
addDescription(
"scale",
"Processing",
"Scales the loaded flows by FLOAT");
205 oc.
addDescription(
"vtype",
"Processing",
"Defines the name of the vehicle type to use");
208 oc.
addDescription(
"prefix",
"Processing",
"Defines the prefix for vehicle flow names");
211 oc.
addDescription(
"timeline",
"Processing",
"Uses STR as a timeline definition");
214 oc.
addDescription(
"timeline.day-in-hours",
"Processing",
"Uses STR as a 24h-timeline definition");
217 oc.
addDescription(
"additive-traffic",
"Processing",
"Keep traffic flows of all time slots in the net");
221 oc.
addDescription(
"assignment-method",
"Processing",
"Choose a assignment method: incremental, UE or SUE");
224 oc.
addDescription(
"tolerance",
"Processing",
"Use FLOAT as tolerance when checking for SUE stability");
227 oc.
addDescription(
"left-turn-penalty",
"Processing",
"Use left-turn penalty FLOAT to calculate link travel time when searching routes");
230 oc.
addDescription(
"paths",
"Processing",
"Use INTEGER as the number of paths needed to be searched for each OD pair at each iteration");
233 oc.
addDescription(
"paths.penalty",
"Processing",
"Penalize existing routes with FLOAT to find secondary routes");
237 oc.
addDescription(
"upperbound",
"Processing",
"Use FLOAT as the upper bound to determine auxiliary link cost");
241 oc.
addDescription(
"lowerbound",
"Processing",
"Use FLOAT as the lower bound to determine auxiliary link cost");
244 oc.
addDescription(
"max-iterations",
"Processing",
"maximal number of iterations for new route searching in incremental and stochastic user assignment");
247 oc.
addDescription(
"max-inner-iterations",
"Processing",
"maximal number of inner iterations for user equilibrium calcuation in the stochastic user assignment");
251 oc.
addDescription(
"route-choice-method",
"Processing",
"Choose a route choice method: gawron, logit, or lohse");
255 oc.
addDescription(
"gawron.beta",
"Processing",
"Use FLOAT as Gawron's beta");
259 oc.
addDescription(
"gawron.a",
"Processing",
"Use FLOAT as Gawron's a");
262 oc.
addDescription(
"exit-times",
"Output",
"Write exit times (weights) for each edge");
265 oc.
addDescription(
"keep-all-routes",
"Processing",
"Save routes with near zero probability");
268 oc.
addDescription(
"skip-new-routes",
"Processing",
"Only reuse routes from input, do not calculate new ones");
272 oc.
addDescription(
"logit.beta",
"Processing",
"Use FLOAT as (c-)logit's beta for the commonality factor");
276 oc.
addDescription(
"logit.gamma",
"Processing",
"Use FLOAT as (c-)logit's gamma for the commonality factor");
280 oc.
addDescription(
"logit.theta",
"Processing",
"Use FLOAT as (c-)logit's theta");
287 if (oc.
isSet(
"assignment-method") && oc.
getString(
"assignment-method") !=
"incremental" && oc.
getString(
"assignment-method") !=
"UE" && oc.
getString(
"assignment-method") !=
"SUE") {
291 if (oc.
getString(
"route-choice-method") !=
"gawron" && oc.
getString(
"route-choice-method") !=
"logit" && oc.
getString(
"route-choice-method") !=
"lohse") {
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 addAssignmentOptions()
Inserts dua options used by duarouter into the OptionsCont-singleton.
static bool checkOptions()
Checks set options from the OptionsCont-singleton for being valid for usage within duarouter...
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)
bool isSet(const std::string &name, bool failOnNonExistant=true) const
Returns the information whether the named option is set.
static void addImportOptions()
Inserts import options used by duarouter into the OptionsCont-singleton.
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
void addOptionSubTopic(const std::string &topic)
Adds an option subtopic.
#define SUMOTIME_MAXSTRING
static void fillOptions()
Inserts options used by duarouter 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.