-
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
8 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
tests/sumo/extended/rerouter/person/optional/aggregated.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,60 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- generated on 2024-01-12 09:42:03 by Eclipse SUMO sumo Version v1_19_0+0617-774437b6018 | ||
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 | ||
This file may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License 2.0 are satisfied: GNU General Public License, version 2 | ||
or later which is available at | ||
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html | ||
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later | ||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> | ||
<input> | ||
<net-file value="three_split.net.xml"/> | ||
<route-files value="input_routes.rou.xml"/> | ||
<additional-files value="input_additional.add.xml"/> | ||
</input> | ||
<output> | ||
<write-license value="true"/> | ||
</output> | ||
<time> | ||
<begin value="0"/> | ||
</time> | ||
<processing> | ||
<default.speeddev value="0"/> | ||
</processing> | ||
<routing> | ||
<device.rerouting.probability value="1"/> | ||
</routing> | ||
<report> | ||
<xml-validation value="never"/> | ||
<duration-log.disable value="true"/> | ||
<no-step-log value="true"/> | ||
</report> | ||
</configuration> | ||
--> | ||
|
||
<meandata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/meandata_file.xsd"> | ||
<interval begin="0.00" end="2302.00" id="ed0"> | ||
<edge id="beg" arrived="0" entered="0"/> | ||
<edge id="beg2left" arrived="0" entered="2"/> | ||
<edge id="beg2right" arrived="0" entered="8"/> | ||
<edge id="end" arrived="20" entered="20"/> | ||
<edge id="left" arrived="0" entered="2"/> | ||
<edge id="left2end" arrived="0" entered="2"/> | ||
<edge id="middle" arrived="0" entered="10"/> | ||
<edge id="rend" arrived="0" entered="0"/> | ||
<edge id="right" arrived="0" entered="8"/> | ||
<edge id="right2end" arrived="0" entered="8"/> | ||
</interval> | ||
</meandata> |
57 changes: 57 additions & 0 deletions
57
tests/sumo/extended/rerouter/person/optional/aggregated.sumo.meso
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,57 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- generated on 2023-02-22 08:20:47 by Eclipse SUMO sumo Version v1_16_0+0596-1ab9327 | ||
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 | ||
This file may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License 2.0 are satisfied: GNU General Public License, version 2 | ||
or later which is available at | ||
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html | ||
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later | ||
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> | ||
<input> | ||
<net-file value="three_split.net.xml"/> | ||
<route-files value="input_routes.rou.xml"/> | ||
<additional-files value="input_additional.add.xml"/> | ||
</input> | ||
<output> | ||
<write-license value="true"/> | ||
</output> | ||
<time> | ||
<begin value="0"/> | ||
</time> | ||
<processing> | ||
<default.speeddev value="0"/> | ||
</processing> | ||
<routing> | ||
<device.rerouting.probability value="1"/> | ||
</routing> | ||
<report> | ||
<xml-validation value="never"/> | ||
<duration-log.disable value="true"/> | ||
<no-step-log value="true"/> | ||
</report> | ||
<mesoscopic> | ||
<mesosim value="true"/> | ||
</mesoscopic> | ||
</configuration> | ||
--> | ||
|
||
<meandata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/meandata_file.xsd"> | ||
<interval begin="0.00" end="283.00" id="ed0"> | ||
<edge id="left" arrived="41"/> | ||
<edge id="middle" arrived="29"/> | ||
<edge id="right" arrived="30"/> | ||
</interval> | ||
</meandata> |
Empty file.
10 changes: 10 additions & 0 deletions
10
tests/sumo/extended/rerouter/person/optional/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,10 @@ | ||
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd"> | ||
<edgeData id="ed0" file="aggregated.xml" writeAttributes="entered arrived" detectPersons="walk"/> | ||
|
||
<rerouter id="rerouter" edges="beg" optional="1"> | ||
<interval begin="0" end="86400"> | ||
<viaProbReroute id="left" probability="1"/> | ||
<viaProbReroute id="right" probability="1"/> | ||
</interval> | ||
</rerouter> | ||
</additional> |
12 changes: 12 additions & 0 deletions
12
tests/sumo/extended/rerouter/person/optional/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,12 @@ | ||
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> | ||
<personFlow id="p" begin="0" end="100" number="10"> | ||
<walk from="beg" to="end"/> | ||
</personFlow> | ||
<personFlow id="r" begin="0" end="100" number="10"> | ||
<walk from="beg" to="end"> | ||
<param key="rerouter" value="nearest"/> | ||
<param key="pushParam" value="1"/> | ||
</walk> | ||
</personFlow> | ||
</routes> | ||
|
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,2 @@ | ||
--no-step-log -b 0 --no-duration-log --net-file=three_split.net.xml --route-files=input_routes.rou.xml --additional-files=input_additional.add.xml | ||
--device.rerouting.probability 1 |
Empty file.
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 |
---|---|---|
|
@@ -5,3 +5,7 @@ destProb | |
# | ||
# | ||
viaProb | ||
|
||
# | ||
# | ||
optional |