Path: blob/main/tests/marouter/meta/write_template_commented_full/cfg.marouter
169686 views
<?xml version="1.0" encoding="UTF-8"?> <!-- generated on 2025-09-11T14:39:47.429013+01:00 by Eclipse SUMO marouter v1_24_0+0753-7ddc191931e --> <marouterConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/marouterConfiguration.xsd"> <configuration> <!-- Loads the named config on startup --> <configuration-file value="" synonymes="c configuration" type="FILE"/> <!-- Saves current configuration into FILE --> <save-configuration value="" synonymes="C save-config" type="FILE"/> <!-- Enforce relative paths when saving the configuration --> <save-configuration.relative value="false" synonymes="save-config.relative" type="BOOL"/> <!-- Saves a configuration template (empty) into FILE --> <save-template value="" type="FILE"/> <!-- Saves the configuration schema into FILE --> <save-schema value="" type="FILE"/> <!-- Adds comments to saved template, configuration, or schema --> <save-commented value="" synonymes="save-template.commented" type="BOOL"/> </configuration> <input> <!-- Use FILE as SUMO-network to route on --> <net-file value="" synonymes="n net" type="FILE"/> <!-- Read additional network data (districts, bus stops) from FILE(s) --> <additional-files value="" synonymes="a additional d districts taz-files" deprecated="d districts" type="FILE"/> <!-- Read sumo routes, alternatives, flows, and trips from FILE(s) --> <route-files value="" synonymes="alternative-files alternatives-files f flow-files flows r trip-files trips" deprecated="alternative-files alternatives-files f flow-files flows trip-files trips" type="FILE"/> <!-- Determines where to load PHEMlight definitions from --> <phemlight-path value="./PHEMlight/" type="FILE"/> <!-- Enable fleet age modelling with the given reference year in PHEMlight5 --> <phemlight-year value="0" type="INT"/> <!-- Set ambient temperature to correct NOx emissions in PHEMlight5 --> <phemlight-temperature value="1.79769e+308" type="FLOAT"/> <!-- Read network weights from FILE(s) --> <weight-files value="" synonymes="w weights" type="FILE"/> <!-- Read lane-based network weights from FILE(s) --> <lane-weight-files value="" type="FILE"/> <!-- Name of the xml attribute which gives the edge weight --> <weight-attribute value="traveltime" synonymes="measure x" deprecated="measure" type="STR"/> <!-- Initialize a TAZ for every junction to use attributes toJunction and fromJunction --> <junction-taz value="false" type="BOOL"/> <!-- Loads O/D-files from FILE(s) --> <od-matrix-files value="" synonymes="m od-files" type="FILE"/> <!-- Loads O/D-matrix in Amitran format from FILE(s) --> <od-amitran-files value="" synonymes="amitran amitran-files" type="FILE"/> <!-- Loads O/D-matrix in tazRelation format from FILE(s) --> <tazrelation-files value="" synonymes="z" type="FILE"/> <!-- Define data attribute for loading counts (default 'count') --> <tazrelation-attribute value="count" synonymes="attribute" type="STR"/> <!-- The travel time influence of prior intervals --> <weight-adaption value="0" type="FLOAT"/> <!-- Parameter key(s) defining source (and sink) taz --> <taz-param value="" type="STR[]"/> <!-- Ignore attributes 'fromTaz' and 'toTaz' --> <ignore-taz value="false" type="BOOL"/> </input> <output> <!-- Write generated routes to FILE --> <output-file value="" synonymes="o output" type="FILE"/> <!-- Write used vehicle types into separate FILE --> <vtype-output value="" type="FILE"/> <!-- Keep vTypeDistribution ids when writing vehicles and their types --> <keep-vtype-distributions value="false" type="BOOL"/> <!-- Return fuel consumption values in (legacy) unit l instead of mg --> <emissions.volumetric-fuel value="false" type="BOOL"/> <!-- Write vehicles that reference routes by their id --> <named-routes value="false" type="BOOL"/> <!-- Include license info into every output file --> <write-license value="false" type="BOOL"/> <!-- Write parsable metadata (configuration etc.) instead of comments --> <write-metadata value="false" type="BOOL"/> <!-- Prefix which is applied to all output files. The special string 'TIME' is replaced by the current time. --> <output-prefix value="" type="STR"/> <!-- Defines the number of digits after the comma for floating point output --> <precision value="2" type="INT"/> <!-- Defines the number of digits after the comma for lon,lat output --> <precision.geo value="6" type="INT"/> <!-- Defines the standard compression algorithm (currently only for parquet output) --> <output.compression value="" type="STR"/> <!-- Defines the standard output format if not derivable from the file name ('xml', 'csv', 'parquet') --> <output.format value="xml" type="STR"/> <!-- How to derive column headers from attribute names ('none', 'tag', 'auto', 'plain') --> <output.column-header value="tag" type="STR"/> <!-- Separator in CSV output --> <output.column-separator value=";" type="STR"/> <!-- Write time values as hour:minute:second or day:hour:minute:second rather than seconds --> <human-readable-time value="false" synonymes="H" type="BOOL"/> <!-- Does not save vtype information --> <ignore-vehicle-type value="false" synonymes="no-vtype" deprecated="no-vtype" type="BOOL"/> <!-- Writes edge loads and final costs into FILE --> <netload-output value="" type="FILE"/> <!-- Writes complete distance matrix into FILE --> <all-pairs-output value="" type="FILE"/> <!-- Write exit times (weights) for each edge --> <exit-times value="false" type="BOOL"/> </output> <processing> <!-- Prune the number of alternatives to INT --> <max-alternatives value="5" type="INT"/> <!-- Use origin and destination zones (districts) for in- and output --> <with-taz value="false" type="BOOL"/> <!-- The number of parallel execution threads used for routing --> <routing-threads value="0" type="INT"/> <!-- Select among routing algorithms ['dijkstra', 'astar', 'CH', 'CHWrapper'] --> <routing-algorithm value="dijkstra" type="STR"/> <!-- Comma separated list of param keys to compare for additional restrictions --> <restriction-params value="" type="STR[]"/> <!-- Interpolate edge weights at interval boundaries --> <weights.interpolate value="false" synonymes="interpolate" deprecated="interpolate" type="BOOL"/> <!-- Expand the end of the last loaded weight interval to infinity --> <weights.expand value="false" synonymes="expand-weights" deprecated="expand-weights" type="BOOL"/> <!-- Apply the given time penalty when computing routing costs for minor-link internal lanes --> <weights.minor-penalty value="1.5" type="FLOAT"/> <!-- Apply the given time penalty when computing routing costs across a traffic light --> <weights.tls-penalty value="0" type="FLOAT"/> <!-- Apply the given time penalty when computing routing costs for turnaround internal lanes --> <weights.turnaround-penalty value="5" type="FLOAT"/> <!-- Defines the time interval when aggregating single vehicle input; Defaults to one hour --> <aggregation-interval value="3600" type="TIME"/> <!-- Ignore edge priorities when calculating capacities and restraints --> <capacities.default value="false" type="BOOL"/> <!-- Consider edge priorities in addition to travel times, weighted by factor --> <weights.priority-factor value="0" type="FLOAT"/> <!-- Aggregate routing queries with the same origin for different vehicle types --> <bulk-routing.vtypes value="false" type="BOOL"/> <!-- Aggregation period for the given weight files; triggers rebuilding of Contraction Hierarchy --> <weight-period value="3600" type="TIME"/> <!-- Scales the loaded flows by FLOAT --> <scale value="1" synonymes="s" type="FLOAT"/> <!-- Defines the name of the vehicle type to use --> <vtype value="" type="STR"/> <!-- Defines the prefix for vehicle flow names --> <prefix value="" type="STR"/> <!-- Uses STR[] as a timeline definition --> <timeline value="" type="STR[]"/> <!-- Uses STR as a 24h-timeline definition --> <timeline.day-in-hours value="false" type="BOOL"/> <!-- Keep traffic flows of all time slots in the net --> <additive-traffic value="false" type="BOOL"/> <!-- Choose a assignment method: incremental, UE or SUE --> <assignment-method value="incremental" type="STR"/> <!-- Use FLOAT as tolerance when checking for SUE stability --> <tolerance value="0.001" type="FLOAT"/> <!-- Use left-turn penalty FLOAT to calculate link travel time when searching routes --> <left-turn-penalty value="0" type="FLOAT"/> <!-- Use INTEGER as the number of paths needed to be searched for each OD pair at each iteration --> <paths value="1" type="INT"/> <!-- Penalize existing routes with FLOAT to find secondary routes --> <paths.penalty value="1" type="FLOAT"/> <!-- Use FLOAT as the upper bound to determine auxiliary link cost --> <upperbound value="0.5" synonymes="upper" deprecated="upper" type="FLOAT"/> <!-- Use FLOAT as the lower bound to determine auxiliary link cost --> <lowerbound value="0.15" synonymes="lower" deprecated="lower" type="FLOAT"/> <!-- maximal number of iterations for new route searching in incremental and stochastic user assignment --> <max-iterations value="20" synonymes="i" type="INT"/> <!-- maximal number of inner iterations for user equilibrium calculation in the stochastic user assignment --> <max-inner-iterations value="1000" type="INT"/> <!-- Choose a route choice method: gawron, logit, or lohse --> <route-choice-method value="logit" type="STR"/> <!-- Use FLOAT as Gawron's beta --> <gawron.beta value="0.3" synonymes="gBeta" deprecated="gBeta" type="FLOAT"/> <!-- Use FLOAT as Gawron's a --> <gawron.a value="0.05" synonymes="gA" deprecated="gA" type="FLOAT"/> <!-- Save routes with near zero probability --> <keep-all-routes value="false" type="BOOL"/> <!-- Only reuse routes from input, do not calculate new ones --> <skip-new-routes value="false" type="BOOL"/> <!-- Use FLOAT as (c-)logit's beta for the commonality factor --> <logit.beta value="0.15" synonymes="lBeta" deprecated="lBeta" type="FLOAT"/> <!-- Use FLOAT as (c-)logit's gamma for the commonality factor --> <logit.gamma value="1" synonymes="lGamma" deprecated="lGamma" type="FLOAT"/> <!-- Use FLOAT as (c-)logit's theta --> <logit.theta value="0.01" synonymes="lTheta" deprecated="lTheta" type="FLOAT"/> </processing> <defaults> <!-- Defaults will override given values --> <defaults-override value="false" type="BOOL"/> <!-- Assigns a default depart lane --> <flow-output.departlane value="free" synonymes="departlane" type="STR"/> <!-- Assigns a default depart position --> <flow-output.departpos value="" synonymes="departpos" type="STR"/> <!-- Assigns a default depart speed --> <flow-output.departspeed value="max" synonymes="departspeed" type="STR"/> <!-- Assigns a default arrival lane --> <flow-output.arrivallane value="" synonymes="arrivallane" type="STR"/> <!-- Assigns a default arrival position --> <flow-output.arrivalpos value="" synonymes="arrivalpos" type="STR"/> <!-- Assigns a default arrival speed --> <flow-output.arrivalspeed value="" synonymes="arrivalspeed" type="STR"/> </defaults> <time> <!-- Defines the begin time; Previous trips will be discarded --> <begin value="0" synonymes="b" type="TIME"/> <!-- Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can represent --> <end value="-1" synonymes="e" type="TIME"/> </time> <report> <!-- Switches to verbose output --> <verbose value="false" synonymes="v" type="BOOL"/> <!-- Prints option values before processing --> <print-options value="false" type="BOOL"/> <!-- Prints this screen or selected topics --> <help value="false" synonymes="?" type="BOOL"/> <!-- Prints the current version --> <version value="false" synonymes="V" type="BOOL"/> <!-- Set schema validation scheme of XML inputs ("never", "local", "auto" or "always") --> <xml-validation value="local" synonymes="X" type="STR"/> <!-- Set schema validation scheme of SUMO network inputs ("never", "local", "auto" or "always") --> <xml-validation.net value="never" type="STR"/> <!-- Set schema validation scheme of SUMO route inputs ("never", "local", "auto" or "always") --> <xml-validation.routes value="local" type="STR"/> <!-- Disables output of warnings --> <no-warnings value="false" synonymes="W suppress-warnings" deprecated="suppress-warnings" type="BOOL"/> <!-- Aggregate warnings of the same type whenever more than INT occur --> <aggregate-warnings value="-1" type="INT"/> <!-- Writes all messages to FILE (implies verbose) --> <log value="" synonymes="l log-file" type="FILE"/> <!-- Writes all non-error messages to FILE (implies verbose) --> <message-log value="" type="FILE"/> <!-- Writes all warnings and errors to FILE --> <error-log value="" type="FILE"/> <!-- Writes timestamps in front of all messages --> <log.timestamps value="false" type="BOOL"/> <!-- Writes process ID in front of all messages --> <log.processid value="false" type="BOOL"/> <!-- Language to use in messages --> <language value="C" type="STR"/> <!-- Continue if a route could not be build --> <ignore-errors value="false" synonymes="continue-on-unbuild dismiss-loading-errors" deprecated="continue-on-unbuild dismiss-loading-errors" type="BOOL"/> <!-- Defines how often statistics shall be printed --> <stats-period value="-1" type="INT"/> <!-- Disable console output of route parsing step --> <no-step-log value="false" type="BOOL"/> </report> <random_number> <!-- Initialises the random number generator with the current system time --> <random value="false" synonymes="abs-rand" deprecated="abs-rand" type="BOOL"/> <!-- Initialises the random number generator with the given value --> <seed value="23423" synonymes="srand" deprecated="srand" type="INT"/> </random_number> </marouterConfiguration>