Skip to content

Commit

Permalink
added tests refs #14806, #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 1, 2024
1 parent 7a9d32b commit a22a254
Show file tree
Hide file tree
Showing 19 changed files with 529 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<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"/>
<flow id="v" begin="1" period="5" number="3" line="LV" departPos="5">
<route edges="beg middle end"/>
</flow>
<personFlow id="p1" begin="triggered" period="5" number="3" departPos="5">
<ride from="beg" to="end" lines="v"/>
</personFlow>
</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--no-step-log --no-duration-log --net-file=three_split.net.xml -r=input_routes.rou.xml --tripinfo-output=tripinfos.xml -e 1000
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-05-01 19:03:39 by Eclipse SUMO sumo Version v1_19_0+2014-7a9d32b9385
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"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="1000"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<personinfo id="p1.0" depart="2.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.0" depart="2.00" arrival="78.00" arrivalPos="500.00" duration="76.00" routeLength="1992.40" timeLoss="3.95"/>
</personinfo>
<tripinfo id="v.0" depart="1.00" departLane="beg_0" departPos="5.00" departSpeed="0.00" departDelay="0.00" arrival="78.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="77.00" routeLength="1995.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="4.86" rerouteNo="0" devices="tripinfo_v.0 person_v.0" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p1.1" depart="7.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.1" depart="7.00" arrival="83.00" arrivalPos="500.00" duration="76.00" routeLength="1992.40" timeLoss="3.95"/>
</personinfo>
<tripinfo id="v.1" depart="6.00" departLane="beg_0" departPos="5.00" departSpeed="0.00" departDelay="0.00" arrival="83.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="77.00" routeLength="1995.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="4.86" rerouteNo="0" devices="tripinfo_v.1 person_v.1" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p1.2" depart="12.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.2" depart="12.00" arrival="88.00" arrivalPos="500.00" duration="76.00" routeLength="1992.40" timeLoss="3.95"/>
</personinfo>
<tripinfo id="v.2" depart="11.00" departLane="beg_0" departPos="5.00" departSpeed="0.00" departDelay="0.00" arrival="88.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="77.00" routeLength="1995.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="4.86" rerouteNo="0" devices="tripinfo_v.2 person_v.2" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2022-04-27 15:18:14 by Eclipse SUMO sumo Version v1_12_0+2325-8f8fe5402ec
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"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="1000"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<xml-validation.routes value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
</mesoscopic>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<personinfo id="p1.0" depart="1.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.0" depart="1.00" arrival="73.00" arrivalPos="500.00" duration="72.00" routeLength="1900.00" timeLoss="0.00"/>
</personinfo>
<tripinfo id="v.0" depart="1.00" departLane="" departPos="0.00" departSpeed="27.80" departDelay="1.00" arrival="73.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="72.00" routeLength="2000.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_v.0 person_v.0" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p1.1" depart="6.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.1" depart="6.00" arrival="78.00" arrivalPos="500.00" duration="72.00" routeLength="1900.00" timeLoss="0.00"/>
</personinfo>
<tripinfo id="v.1" depart="6.00" departLane="" departPos="0.00" departSpeed="27.80" departDelay="6.00" arrival="78.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="72.00" routeLength="2000.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_v.1 person_v.1" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p1.2" depart="11.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.2" depart="11.00" arrival="83.00" arrivalPos="500.00" duration="72.00" routeLength="1900.00" timeLoss="0.00"/>
</personinfo>
<tripinfo id="v.2" depart="11.00" departLane="" departPos="0.00" departSpeed="27.80" departDelay="11.00" arrival="83.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="72.00" routeLength="2000.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_v.2 person_v.2" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<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"/>
<flow id="v" begin="0" end="15" number="3" line="LV" departPos="5">
<route edges="beg middle end"/>
</flow>
<personFlow id="p1" begin="triggered" end="15" number="6" departPos="5">
<ride from="beg" to="end" lines="v"/>
</personFlow>
</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--no-step-log --no-duration-log --net-file=three_split.net.xml -r=input_routes.rou.xml --tripinfo-output=tripinfos.xml -e 1000
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-05-01 19:43:14 by Eclipse SUMO sumo Version v1_19_0+2014-7a9d32b9385
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"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="1000"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<personinfo id="p1.0" depart="1.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.0" depart="1.00" arrival="77.00" arrivalPos="500.00" duration="76.00" routeLength="1992.40" timeLoss="3.95"/>
</personinfo>
<personinfo id="p1.1" depart="3.50" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.0" depart="4.00" arrival="77.00" arrivalPos="500.00" duration="73.00" routeLength="1969.00" timeLoss="1.79"/>
</personinfo>
<tripinfo id="v.0" depart="0.00" departLane="beg_0" departPos="5.00" departSpeed="0.00" departDelay="0.00" arrival="77.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="77.00" routeLength="1995.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="4.86" rerouteNo="0" devices="tripinfo_v.0 person_v.0" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p1.2" depart="6.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.1" depart="6.00" arrival="82.00" arrivalPos="500.00" duration="76.00" routeLength="1992.40" timeLoss="3.95"/>
</personinfo>
<personinfo id="p1.3" depart="8.50" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.1" depart="9.00" arrival="82.00" arrivalPos="500.00" duration="73.00" routeLength="1969.00" timeLoss="1.79"/>
</personinfo>
<tripinfo id="v.1" depart="5.00" departLane="beg_0" departPos="5.00" departSpeed="0.00" departDelay="0.00" arrival="82.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="77.00" routeLength="1995.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="4.86" rerouteNo="0" devices="tripinfo_v.1 person_v.1" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p1.4" depart="11.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.2" depart="11.00" arrival="87.00" arrivalPos="500.00" duration="76.00" routeLength="1992.40" timeLoss="3.95"/>
</personinfo>
<personinfo id="p1.5" depart="13.50" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.2" depart="14.00" arrival="87.00" arrivalPos="500.00" duration="73.00" routeLength="1969.00" timeLoss="1.79"/>
</personinfo>
<tripinfo id="v.2" depart="10.00" departLane="beg_0" departPos="5.00" departSpeed="0.00" departDelay="0.00" arrival="87.00" arrivalLane="end_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="77.00" routeLength="1995.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="4.86" rerouteNo="0" devices="tripinfo_v.2 person_v.2" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2022-04-27 15:18:14 by Eclipse SUMO sumo Version v1_12_0+2325-8f8fe5402ec
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"/>
</input>
<output>
<write-license value="true"/>
<tripinfo-output value="tripinfos.xml"/>
</output>
<time>
<end value="1000"/>
</time>
<processing>
<default.speeddev value="0"/>
<pedestrian.model value="nonInteracting"/>
</processing>
<report>
<xml-validation value="never"/>
<xml-validation.routes value="never"/>
<duration-log.disable value="true"/>
<no-step-log value="true"/>
</report>
<mesoscopic>
<mesosim value="true"/>
</mesoscopic>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<personinfo id="p1.0" depart="1.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.0" depart="1.00" arrival="73.00" arrivalPos="500.00" duration="72.00" routeLength="1900.00" timeLoss="0.00"/>
</personinfo>
<tripinfo id="v.0" depart="1.00" departLane="" departPos="0.00" departSpeed="27.80" departDelay="1.00" arrival="73.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="72.00" routeLength="2000.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_v.0 person_v.0" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p1.1" depart="6.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.1" depart="6.00" arrival="78.00" arrivalPos="500.00" duration="72.00" routeLength="1900.00" timeLoss="0.00"/>
</personinfo>
<tripinfo id="v.1" depart="6.00" departLane="" departPos="0.00" departSpeed="27.80" departDelay="6.00" arrival="78.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="72.00" routeLength="2000.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_v.1 person_v.1" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
<personinfo id="p1.2" depart="11.00" type="DEFAULT_PEDTYPE" speedFactor="1.00">
<ride waitingTime="0.00" vehicle="v.2" depart="11.00" arrival="83.00" arrivalPos="500.00" duration="72.00" routeLength="1900.00" timeLoss="0.00"/>
</personinfo>
<tripinfo id="v.2" depart="11.00" departLane="" departPos="0.00" departSpeed="27.80" departDelay="11.00" arrival="83.00" arrivalLane="" arrivalPos="500.00" arrivalSpeed="27.80" duration="72.00" routeLength="2000.00" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_v.2 person_v.2" vType="DEFAULT_VEHTYPE" speedFactor="1.00" vaporized=""/>
</tripinfos>
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<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"/>
<flow id="v" begin="0" number="10" end="100" line="LV" departPos="5">
<route edges="beg middle end"/>
</flow>
<personFlow id="p1" begin="triggered" end="100" period="exp(0.5)" departPos="5">
<ride from="beg" to="end" lines="v"/>
</personFlow>
</routes>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--no-step-log --no-duration-log --net-file=three_split.net.xml -r=input_routes.rou.xml --tripinfo-output=tripinfos.xml -e 1000
Empty file.
Loading

0 comments on commit a22a254

Please sign in to comment.