Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/tests/duarouter/meta/write_template_commented_full/cfg.duarouter
185994 views
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2025-12-11T12:24:22.374419+01:00 by Eclipse SUMO duarouter v1_25_0+0458-86552fc0338
-->

<duarouterConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/duarouterConfiguration.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 t trip-files trips" deprecated="alternative-files alternatives-files f flow-files flows t 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"/>

    </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="" synonymes="vtype" 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 &apos;TIME&apos; is replaced by the current time. -->
        <output-prefix value="" type="STR"/>

        <!-- Suffix which is applied to all output files. The special string &apos;TIME&apos; is replaced by the current time. -->
        <output-suffix 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 (&apos;xml&apos;, &apos;csv&apos;, &apos;parquet&apos;) -->
        <output.format value="xml" type="STR"/>

        <!-- How to derive column headers from attribute names (&apos;none&apos;, &apos;tag&apos;, &apos;auto&apos;, &apos;plain&apos;) -->
        <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"/>

        <!-- Write generated route alternatives to FILE -->
        <alternatives-output value="" synonymes="alternatives" type="FILE"/>

        <!-- Write edge splits and connectivity to FILE -->
        <intermodal-network-output value="" type="FILE"/>

        <!-- Write intermodal edges with lengths and travel times to FILE -->
        <intermodal-weight-output value="" type="FILE"/>

        <!-- Write trips instead of vehicles (for validating trip input) -->
        <write-trips value="false" type="BOOL"/>

        <!-- Write trips with geo-coordinates -->
        <write-trips.geo value="false" type="BOOL"/>

        <!-- Write trips with fromJunction and toJunction -->
        <write-trips.junctions value="false" type="BOOL"/>

        <!-- Include the cost attribute in route output -->
        <write-costs value="false" type="BOOL"/>

        <!-- Write exit times (weights) for each edge -->
        <exit-times value="false" type="BOOL"/>

        <!-- Include total route length in the output -->
        <route-length 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"/>

        <!-- Assume input is unsorted -->
        <unsorted-input value="false" synonymes="unsorted" type="BOOL"/>

        <!-- Load routes for the next number of seconds ahead -->
        <route-steps value="200" synonymes="s" type="TIME"/>

        <!-- Disable (junction) internal links -->
        <no-internal-links value="false" type="BOOL"/>

        <!-- generate random departure times for flow input -->
        <randomize-flows value="false" type="BOOL"/>

        <!-- Remove loops within the route; Remove turnarounds at start and end of the route -->
        <remove-loops value="false" type="BOOL"/>

        <!-- Tries to correct a false route -->
        <repair value="false" type="BOOL"/>

        <!-- Tries to correct an invalid starting edge by using the first usable edge instead -->
        <repair.from value="false" type="BOOL"/>

        <!-- Tries to correct an invalid destination edge by using the last usable edge instead -->
        <repair.to value="false" type="BOOL"/>

        <!-- Backtrack on route if the detour is longer than the gap by FACTOR -->
        <repair.max-detour-factor value="10" type="FLOAT"/>

        <!-- Maximum distance when mapping input coordinates (fromXY etc.) to the road network -->
        <mapmatch.distance value="100" type="FLOAT"/>

        <!-- Match positions to junctions instead of edges -->
        <mapmatch.junctions value="false" type="BOOL"/>

        <!-- Match positions to taz instead of edges -->
        <mapmatch.taz value="false" type="BOOL"/>

        <!-- Aggregate routing queries with the same origin -->
        <bulk-routing value="false" type="BOOL"/>

        <!-- The number of parallel execution threads used for routing -->
        <routing-threads value="0" type="INT"/>

        <!-- Select among routing algorithms [&apos;dijkstra&apos;, &apos;astar&apos;, &apos;CH&apos;, &apos;CHWrapper&apos;] -->
        <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"/>

        <!-- Apply the given time penalty when computing routing costs for train reversal. Negative values disable reversal -->
        <weights.reversal-penalty value="60" type="FLOAT"/>

        <!-- Edge weights for routing are dynamically disturbed by a random factor drawn uniformly from [1,FLOAT) -->
        <weights.random-factor value="1" type="FLOAT"/>

        <!-- Aggregation period for the given weight files; triggers rebuilding of Contraction Hierarchy -->
        <weight-period value="3600" type="TIME"/>

        <!-- Consider edge priorities in addition to travel times, weighted by factor -->
        <weights.priority-factor value="0" type="FLOAT"/>

        <!-- Initialize lookup table for astar from the given file (generated by marouter --all-pairs-output) -->
        <astar.all-distances value="" type="FILE"/>

        <!-- Initialize lookup table for astar ALT-variant from the given file -->
        <astar.landmark-distances value="" type="FILE"/>

        <!-- Save lookup table for astar ALT-variant to the given file -->
        <astar.save-landmark-distances value="" type="FILE"/>

        <!-- Scale demand by the given factor (by discarding or duplicating vehicles) -->
        <scale value="1" type="FLOAT"/>

        <!-- Suffix to be added when creating ids for cloned vehicles -->
        <scale-suffix value="." type="STR"/>

        <!-- Use FLOAT as Gawron&apos;s beta -->
        <gawron.beta value="0.9" synonymes="gBeta" deprecated="gBeta" type="FLOAT"/>

        <!-- Use FLOAT as Gawron&apos;s a -->
        <gawron.a value="0.5" 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"/>

        <!-- The probability of keeping the old route -->
        <keep-route-probability value="0" type="FLOAT"/>

        <!-- Route all public transport input -->
        <ptline-routing value="false" type="BOOL"/>

        <!-- Write flows instead of expanding them into vehicles -->
        <keep-flows value="false" type="BOOL"/>

        <!-- Choose a route choice method: gawron, logit, or lohse -->
        <route-choice-method value="gawron" type="STR"/>

        <!-- Use c-logit model (deprecated in favor of --route-choice-method logit) -->
        <logit value="false" type="BOOL"/>

        <!-- Use FLOAT as logit&apos;s beta -->
        <logit.beta value="-1" synonymes="lBeta" deprecated="lBeta" type="FLOAT"/>

        <!-- Use FLOAT as logit&apos;s gamma -->
        <logit.gamma value="1" synonymes="lGamma" deprecated="lGamma" type="FLOAT"/>

        <!-- Use FLOAT as logit&apos;s theta (negative values mean auto-estimation) -->
        <logit.theta value="-1" synonymes="lTheta" deprecated="lTheta" type="FLOAT"/>

        <!-- Use FLOAT as a factor on pedestrian maximum speed during intermodal routing -->
        <persontrip.walkfactor value="0.75" type="FLOAT"/>

        <!-- Use FLOAT as a factor on walking speed against vehicle traffic direction -->
        <persontrip.walk-opposite-factor value="1" type="FLOAT"/>

        <!-- Where are mode changes from car to walking allowed (possible values: &apos;parkingAreas&apos;, &apos;ptStops&apos;, &apos;allJunctions&apos; and combinations) -->
        <persontrip.transfer.car-walk value="parkingAreas" type="STR[]"/>

        <!-- Where taxis can drop off customers (&apos;allJunctions, &apos;ptStops&apos;) -->
        <persontrip.transfer.taxi-walk value="" type="STR[]"/>

        <!-- Where taxis can pick up customers (&apos;allJunctions, &apos;ptStops&apos;) -->
        <persontrip.transfer.walk-taxi value="" type="STR[]"/>

        <!-- Estimated time for taxi pickup -->
        <persontrip.taxi.waiting-time value="300" type="TIME"/>

        <!-- Only use the intended public transport line rather than any alternative line that stops at the destination -->
        <persontrip.ride-public-line value="false" type="BOOL"/>

        <!-- Use FLOAT as a maximum train length when initializing the railway router -->
        <railway.max-train-length value="1000" type="FLOAT"/>

        <!-- Declare routing failure if traveltime exceeds the given positive TIME -->
        <max-traveltime value="-1" type="TIME"/>

    </processing>

    <defaults>
        <!-- Assigns a default depart lane -->
        <departlane value="" type="STR"/>

        <!-- Assigns a default depart position -->
        <departpos value="" type="STR"/>

        <!-- Assigns a default depart speed -->
        <departspeed value="" type="STR"/>

        <!-- Assigns a default arrival lane -->
        <arrivallane value="" type="STR"/>

        <!-- Assigns a default arrival position -->
        <arrivalpos value="" type="STR"/>

        <!-- Assigns a default arrival speed -->
        <arrivalspeed value="" type="STR"/>

        <!-- Defaults will override given values -->
        <defaults-override value="false" type="BOOL"/>

    </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 (&quot;never&quot;, &quot;local&quot;, &quot;auto&quot; or &quot;always&quot;) -->
        <xml-validation value="local" synonymes="X" type="STR"/>

        <!-- Set schema validation scheme of SUMO network inputs (&quot;never&quot;, &quot;local&quot;, &quot;auto&quot; or &quot;always&quot;) -->
        <xml-validation.net value="never" type="STR"/>

        <!-- Set schema validation scheme of SUMO route inputs (&quot;never&quot;, &quot;local&quot;, &quot;auto&quot; or &quot;always&quot;) -->
        <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>

</duarouterConfiguration>