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

<!-- generated on 2025-09-11T14:39:47.395468+01:00 by Eclipse SUMO jtrrouter v1_24_0+0753-7ddc191931e
-->

<jtrrouterConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/jtrrouterConfiguration.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"/>

        <!-- Initialize a TAZ for every junction to use attributes toJunction and fromJunction -->
        <junction-taz value="false" type="BOOL"/>

        <!-- Read turning ratios from FILE(s) -->
        <turn-ratio-files value="" synonymes="t turns" type="FILE"/>

    </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"/>

        <!-- 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 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"/>

        <!-- 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"/>

        <!-- Comma separated list of param keys to compare for additional restrictions -->
        <restriction-params value="" type="STR[]"/>

        <!-- 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"/>

        <!-- Routes are cut off when the route edges to net edges ratio is larger than FLOAT -->
        <max-edges-factor value="2" type="FLOAT"/>

        <!-- Use STR[] as default turn definition -->
        <turn-defaults value="30,50,20" synonymes="T" type="STR[]"/>

        <!-- Use STR[] as list of sink edges -->
        <sink-edges value="" synonymes="sinks" type="STR[]"/>

        <!-- Whether all edges are allowed as sink edges -->
        <accept-all-destinations value="false" synonymes="A" type="BOOL"/>

        <!-- Ignore road restrictions based on vehicle class -->
        <ignore-vclasses value="false" synonymes="i" type="BOOL"/>

        <!-- Allow to re-use a road -->
        <allow-loops value="false" type="BOOL"/>

        <!-- Use all source edges as sink edges. -->
        <sources-are-sinks value="false" synonymes="S" type="BOOL"/>

        <!-- Subtract upstream flow when inserting a new flow. When option --sources-are-sinks is set, the upstream flow is limited to the value of the source flow and the remaining part terminates. -->
        <discount-sources value="false" synonymes="D" type="BOOL"/>

    </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>

</jtrrouterConfiguration>