-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
146 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# trip with via | ||
trips | ||
|
||
# trip with via taz | ||
trips_taz | ||
|
||
# trip with via and periodic rerouting | ||
trips_periodic | ||
|
||
|
Empty file.
89 changes: 89 additions & 0 deletions
89
tests/sumo/extended/simulation_routing/via/trips_taz/input_additional.add.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- generated on Fri 07 Dec 2018 09:51:13 AM CET by Eclipse SUMO netedit Version v1_0_1+0645-93703db | ||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd"> | ||
<input> | ||
<sumo-net-file value="net.net.xml"/> | ||
</input> | ||
<output> | ||
<output-file value="net.net.xml"/> | ||
</output> | ||
<processing> | ||
<geometry.max-grade.fix value="false"/> | ||
<offset.disable-normalization value="true"/> | ||
<lefthand value="false"/> | ||
</processing> | ||
<junctions> | ||
<no-turnarounds value="true"/> | ||
<junctions.corner-detail value="0"/> | ||
<junctions.limit-turn-speed value="-1"/> | ||
<rectangular-lane-cut value="false"/> | ||
</junctions> | ||
<pedestrian> | ||
<walkingareas value="false"/> | ||
</pedestrian> | ||
</configuration> | ||
--> | ||
|
||
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd"> | ||
<taz id="taz_0" shape="-19.95,115.85 111.73,118.00 118.18,-27.13 -19.41,-27.66 -19.95,115.85" color="blue"> | ||
<tazSource weight="1.00" id="A0toA1"/> | ||
<tazSource weight="1.00" id="A0toB0"/> | ||
<tazSource weight="1.00" id="A1toA0"/> | ||
<tazSource weight="1.00" id="A1toB1"/> | ||
<tazSource weight="1.00" id="B0toA0"/> | ||
<tazSource weight="1.00" id="B0toB1"/> | ||
<tazSource weight="1.00" id="B1toA1"/> | ||
<tazSource weight="1.00" id="B1toB0"/> | ||
<tazSink weight="1.00" id="A0toA1"/> | ||
<tazSink weight="1.00" id="A0toB0"/> | ||
<tazSink weight="1.00" id="A1toA0"/> | ||
<tazSink weight="1.00" id="A1toB1"/> | ||
<tazSink weight="1.00" id="B0toA0"/> | ||
<tazSink weight="1.00" id="B0toB1"/> | ||
<tazSink weight="1.00" id="B1toA1"/> | ||
<tazSink weight="1.00" id="B1toB0"/> | ||
</taz> | ||
<taz id="taz_1" shape="175.16,121.76 313.29,120.15 322.43,-23.90 177.31,-18.53 175.16,121.76"> | ||
<tazSource weight="1.00" id="C0toC1"/> | ||
<tazSource weight="1.00" id="C0toD0"/> | ||
<tazSource weight="1.00" id="C1toC0"/> | ||
<tazSource weight="1.00" id="C1toD1"/> | ||
<tazSource weight="1.00" id="D0toC0"/> | ||
<tazSource weight="1.00" id="D0toD1"/> | ||
<tazSource weight="1.00" id="D1toC1"/> | ||
<tazSource weight="1.00" id="D1toD0"/> | ||
<tazSink weight="1.00" id="C0toC1"/> | ||
<tazSink weight="1.00" id="C0toD0"/> | ||
<tazSink weight="1.00" id="C1toC0"/> | ||
<tazSink weight="1.00" id="C1toD1"/> | ||
<tazSink weight="1.00" id="D0toC0"/> | ||
<tazSink weight="1.00" id="D0toD1"/> | ||
<tazSink weight="1.00" id="D1toC1"/> | ||
<tazSink weight="1.00" id="D1toD0"/> | ||
</taz> | ||
<taz id="taz_2" shape="76.80,321.71 77.87,186.26 216.01,181.42 212.25,321.17 76.80,321.71" color="yellow"> | ||
<tazSource weight="1.00" id="B2toB3"/> | ||
<tazSource weight="1.00" id="B2toC2"/> | ||
<tazSource weight="1.00" id="B3toB2"/> | ||
<tazSource weight="1.00" id="B3toC3"/> | ||
<tazSource weight="1.00" id="C2toB2"/> | ||
<tazSource weight="1.00" id="C2toC3"/> | ||
<tazSource weight="1.00" id="C3toB3"/> | ||
<tazSource weight="1.00" id="C3toC2"/> | ||
<tazSink weight="1.00" id="B2toB3"/> | ||
<tazSink weight="1.00" id="B2toC2"/> | ||
<tazSink weight="1.00" id="B3toB2"/> | ||
<tazSink weight="1.00" id="B3toC3"/> | ||
<tazSink weight="1.00" id="C2toB2"/> | ||
<tazSink weight="1.00" id="C2toC3"/> | ||
<tazSink weight="1.00" id="C3toB3"/> | ||
<tazSink weight="1.00" id="C3toC2"/> | ||
</taz> | ||
</additional> |
6 changes: 6 additions & 0 deletions
6
tests/sumo/extended/simulation_routing/via/trips_taz/input_routes.rou.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> | ||
<vType id="DEFAULT_VEHTYPE" sigma="0"/> | ||
|
||
<trip id="0" depart="0" fromTaz="taz_0" toTaz="taz_1" via="taz_2-sink"/> | ||
|
||
</routes> |
5 changes: 5 additions & 0 deletions
5
tests/sumo/extended/simulation_routing/via/trips_taz/options.sumo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--no-step-log --no-duration-log | ||
--net-file=net.net.xml | ||
-a input_additional.add.xml | ||
-r input_routes.rou.xml | ||
--vehroutes=vehroutes.xml |
Empty file.
43 changes: 43 additions & 0 deletions
43
tests/sumo/extended/simulation_routing/via/trips_taz/vehroutes.sumo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- generated on Fri Dec 7 10:20:01 2018 by Eclipse SUMO Version v1_0_1+0645-93703db | ||
This data file and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v2.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/legal/epl-v20.html | ||
SPDX-License-Identifier: EPL-2.0 | ||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> | ||
<input> | ||
<net-file value="net.net.xml"/> | ||
<route-files value="input_routes.rou.xml"/> | ||
<additional-files value="input_additional.add.xml"/> | ||
</input> | ||
<output> | ||
<write-license value="true"/> | ||
<vehroute-output value="vehroutes.xml"/> | ||
</output> | ||
<processing> | ||
<default.speeddev value="0"/> | ||
</processing> | ||
<report> | ||
<xml-validation value="never"/> | ||
<duration-log.disable value="true"/> | ||
<no-step-log value="true"/> | ||
</report> | ||
</configuration> | ||
--> | ||
|
||
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> | ||
<vehicle id="0" depart="0.00" fromTaz="taz_0" toTaz="taz_1" arrival="40.00"> | ||
<routeDistribution> | ||
<route replacedOnEdge="" reason="device.rerouting" replacedAtTime="0.00" probability="0" edges="taz_0-source taz_2-sink taz_1-sink"/> | ||
<route edges="A1toB1 B1toB2 B2toC2 C2toC1 C1toD1"/> | ||
</routeDistribution> | ||
</vehicle> | ||
|
||
</routes> |