 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
47 oc.
addCallExample(
"-c <CONFIGURATION>",
"run routing with options from file");
72 oc.
addDescription(
"output-file",
"Output",
"Write flow definitions with route distributions to FILE");
75 oc.
addDescription(
"vtype-output",
"Output",
"Write used vehicle types into separate FILE");
78 oc.
addSynonyme(
"ignore-vehicle-type",
"no-vtype",
true);
79 oc.
addDescription(
"ignore-vehicle-type",
"Output",
"Does not save vtype information");
82 oc.
addDescription(
"netload-output",
"Output",
"Writes edge loads and final costs into FILE");
85 oc.
addDescription(
"all-pairs-output",
"Output",
"Writes complete distance matrix into FILE");
89 oc.
addDescription(
"net-file",
"Input",
"Use FILE as SUMO-network to route on");
94 oc.
addSynonyme(
"additional-files",
"districts",
true);
95 oc.
addDescription(
"additional-files",
"Input",
"Read additional network data (districts, bus stops) from FILE");
99 oc.
addDescription(
"od-matrix-files",
"Input",
"Loads O/D-files from FILE(s)");
102 oc.
addSynonyme(
"od-amitran-files",
"amitran-files");
104 oc.
addDescription(
"od-amitran-files",
"Input",
"Loads O/D-matrix in Amitran format from FILE(s)");
110 oc.
addDescription(
"route-files",
"Input",
"Read sumo-routes or trips from FILE(s)");
114 oc.
addDescription(
"weight-files",
"Input",
"Read network weights from FILE(s)");
117 oc.
addDescription(
"lane-weight-files",
"Input",
"Read lane-based network weights from FILE(s)");
120 oc.
addSynonyme(
"weight-attribute",
"measure",
true);
121 oc.
addDescription(
"weight-attribute",
"Input",
"Name of the xml attribute which gives the edge weight");
124 oc.
addDescription(
"weight-adaption",
"Input",
"The travel time influence of prior intervals");
127 oc.
addDescription(
"taz-param",
"Input",
"Parameter key(s) defining source (and sink) taz");
131 oc.
addDescription(
"begin",
"Time",
"Defines the begin time; Previous trips will be discarded");
134 oc.
addDescription(
"end",
"Time",
"Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can represent");
138 oc.
addDescription(
"aggregation-interval",
"Processing",
"Defines the time interval when aggregating single vehicle input; Defaults to one hour");
141 oc.
addSynonyme(
"ignore-errors",
"continue-on-unbuild",
true);
142 oc.
addSynonyme(
"ignore-errors",
"dismiss-loading-errors",
true);
143 oc.
addDescription(
"ignore-errors",
"Report",
"Continue if a route could not be build");
146 oc.
addDescription(
"max-alternatives",
"Processing",
"Prune the number of alternatives to INT");
149 oc.
addSynonyme(
"weights.interpolate",
"interpolate",
true);
150 oc.
addDescription(
"weights.interpolate",
"Processing",
"Interpolate edge weights at interval boundaries");
153 oc.
addSynonyme(
"weights.expand",
"expand-weights",
true);
154 oc.
addDescription(
"weights.expand",
"Processing",
"Expand weights behind the simulation's end");
157 oc.
addDescription(
"routing-algorithm",
"Processing",
"Select among routing algorithms ['dijkstra', 'astar', 'CH', 'CHWrapper']");
160 oc.
addDescription(
"bulk-routing.vtypes",
"Processing",
"Aggregate routing queries with the same origin for different vehicle types");
163 oc.
addDescription(
"routing-threads",
"Processing",
"The number of parallel execution threads used for routing");
166 oc.
addDescription(
"weight-period",
"Processing",
"Aggregation period for the given weight files; triggers rebuilding of Contraction Hierarchy");
170 oc.
addSynonyme(
"flow-output.departlane",
"departlane");
171 oc.
addDescription(
"flow-output.departlane",
"Defaults",
"Assigns a default depart lane");
174 oc.
addSynonyme(
"flow-output.departpos",
"departpos");
175 oc.
addDescription(
"flow-output.departpos",
"Defaults",
"Assigns a default depart position");
178 oc.
addSynonyme(
"flow-output.departspeed",
"departspeed");
179 oc.
addDescription(
"flow-output.departspeed",
"Defaults",
"Assigns a default depart speed");
182 oc.
addSynonyme(
"flow-output.arrivallane",
"arrivallane");
183 oc.
addDescription(
"flow-output.arrivallane",
"Defaults",
"Assigns a default arrival lane");
186 oc.
addSynonyme(
"flow-output.arrivalpos",
"arrivalpos");
187 oc.
addDescription(
"flow-output.arrivalpos",
"Defaults",
"Assigns a default arrival position");
190 oc.
addSynonyme(
"flow-output.arrivalspeed",
"arrivalspeed");
191 oc.
addDescription(
"flow-output.arrivalspeed",
"Defaults",
"Assigns a default arrival speed");
201 oc.
addDescription(
"scale",
"Processing",
"Scales the loaded flows by FLOAT");
204 oc.
addDescription(
"vtype",
"Processing",
"Defines the name of the vehicle type to use");
207 oc.
addDescription(
"prefix",
"Processing",
"Defines the prefix for vehicle flow names");
210 oc.
addDescription(
"timeline",
"Processing",
"Uses STR[] as a timeline definition");
213 oc.
addDescription(
"timeline.day-in-hours",
"Processing",
"Uses STR as a 24h-timeline definition");
216 oc.
addDescription(
"additive-traffic",
"Processing",
"Keep traffic flows of all time slots in the net");
220 oc.
addDescription(
"assignment-method",
"Processing",
"Choose a assignment method: incremental, UE or SUE");
223 oc.
addDescription(
"tolerance",
"Processing",
"Use FLOAT as tolerance when checking for SUE stability");
226 oc.
addDescription(
"left-turn-penalty",
"Processing",
"Use left-turn penalty FLOAT to calculate link travel time when searching routes");
229 oc.
addDescription(
"paths",
"Processing",
"Use INTEGER as the number of paths needed to be searched for each OD pair at each iteration");
232 oc.
addDescription(
"paths.penalty",
"Processing",
"Penalize existing routes with FLOAT to find secondary routes");
236 oc.
addDescription(
"upperbound",
"Processing",
"Use FLOAT as the upper bound to determine auxiliary link cost");
240 oc.
addDescription(
"lowerbound",
"Processing",
"Use FLOAT as the lower bound to determine auxiliary link cost");
243 oc.
addDescription(
"max-iterations",
"Processing",
"maximal number of iterations for new route searching in incremental and stochastic user assignment");
246 oc.
addDescription(
"max-inner-iterations",
"Processing",
"maximal number of inner iterations for user equilibrium calcuation in the stochastic user assignment");
250 oc.
addDescription(
"route-choice-method",
"Processing",
"Choose a route choice method: gawron, logit, or lohse");
254 oc.
addDescription(
"gawron.beta",
"Processing",
"Use FLOAT as Gawron's beta");
258 oc.
addDescription(
"gawron.a",
"Processing",
"Use FLOAT as Gawron's a");
261 oc.
addDescription(
"exit-times",
"Output",
"Write exit times (weights) for each edge");
264 oc.
addDescription(
"keep-all-routes",
"Processing",
"Save routes with near zero probability");
267 oc.
addDescription(
"skip-new-routes",
"Processing",
"Only reuse routes from input, do not calculate new ones");
271 oc.
addDescription(
"logit.beta",
"Processing",
"Use FLOAT as (c-)logit's beta for the commonality factor");
275 oc.
addDescription(
"logit.gamma",
"Processing",
"Use FLOAT as (c-)logit's gamma for the commonality factor");
279 oc.
addDescription(
"logit.theta",
"Processing",
"Use FLOAT as (c-)logit's theta");
286 if (oc.
isSet(
"assignment-method") && oc.
getString(
"assignment-method") !=
"incremental" && oc.
getString(
"assignment-method") !=
"UE" && oc.
getString(
"assignment-method") !=
"SUE") {
290 if (oc.
getString(
"route-choice-method") !=
"gawron" && oc.
getString(
"route-choice-method") !=
"logit" && oc.
getString(
"route-choice-method") !=
"lohse") {
bool isSet(const std::string &name, bool failOnNonExistant=true) const
Returns the information whether the named option is set.
static void addConfigurationOptions(OptionsCont &oc)
Adds configuration options to the given container.
static bool checkOptions()
Checks set options from the OptionsCont-singleton for being valid for usage within duarouter.
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
static OptionsCont & getOptions()
Retrieves the options.
static void addReportOptions(OptionsCont &oc)
Adds reporting options to the given container.
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)
static void addImportOptions()
Inserts import options used by duarouter into the OptionsCont-singleton.
void doRegister(const std::string &name, Option *v)
Adds an option under the given name.
A storage for options typed value containers)
void addOptionSubTopic(const std::string &topic)
Adds an option subtopic.
static void fillOptions()
Inserts options used by duarouter into the OptionsCont-singleton.
void addCallExample(const std::string &example, const std::string &desc)
Add a call example.
#define SUMOTIME_MAXSTRING
static void insertRandOptions()
Initialises the given options container with random number options.
static void addAssignmentOptions()
Inserts dua options used by duarouter into the OptionsCont-singleton.