Commit 0e90021a authored by Ulrich Kemloh's avatar Ulrich Kemloh Committed by Denis

cleaning unused files

add new test scenario.
parent 088b896a
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<traffic version="0.4">
<rooms>
<room room_id="0" state="good" />
</rooms>
<doors>
<door trans_id="1" state="open" />
</doors>
</traffic>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persons version="0.4">
<header>
<description>Headon</description>
<number>2</number>
</header>
<!-- default distribution -->
<!-- TODO: also distribute with room_id only -->
<distribution>
<dist room_caption="headon" subroom_id="0" number="2" />
</distribution>
<!-- <groups> <group id="0"> <members>1</members> <!-- <trip>0</trip> -->
<!-- <goal>0</goal> </group> </groups> -->
<!-- <person id="1" height="180" startX= startY= startZ="" wishVelo="double"
direction="" goal="" age="18" gender="male"/> -->
<person id="1" startX="1" startY="0" goal="1" age="18" gender="male" />
<person id="2" startX="19" startY="0" goal="0" age="18" gender="female" />
</persons>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geometry version="0.5" caption="second life" unit="m">
<rooms>
<room id="0" caption="hall">
<subroom id="0" closed="0" class="subroom">
<polygon caption="wall">
<vertex px="100.0" py="0.0" />
<vertex px="0.0" py="0.0" />
<vertex px="0.0" py="100.0" />
<vertex px="100.0" py="100.0" />
</polygon>
</subroom>
</room>
</rooms>
<transitions>
<!-- exits like crossings but between rooms or to outside (room with index
= -1) -->
<transition id="0" caption="main exit" type="emergency"
room1_id="0" subroom1_id="0" room2_id="-1" subroom2_id="-1">
<vertex px="100.0" py="0.0" />
<vertex px="100.0" py="100.0" />
</transition>
</transitions>
</geometry>
<?xml version="1.0" encoding="UTF-8" ?>
<JuPedSim project="JPS-Project" version="0.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ini.xsd">
<!-- seed used for initialising random generator -->
<seed>12542</seed>
<max_sim_time> 20</max_sim_time>
<!-- geometry file -->
<geometry>geo.xml</geometry>
<!-- trajectories file and format -->
<trajectories format="xml-plain" embed_mesh="false" fps="8">
<file location="trajectories.xml" />
<!--<socket hostname="127.0.0.1" port="8989"/> -->
</trajectories>
<!-- where to store the logs -->
<!--<logfile>outputfiles/log.txt</logfile> -->
<!-- traffic information: e.g closed doors or smoked rooms -->
<traffic_constraints>
<!-- room states are: good or smoked -->
</traffic_constraints>
<routing>
</routing>
<!--persons information and distribution -->
<agents>
<agents_distribution>
<group group_id="0" room_id="0" subroom_id="0" number="10000" goal_id="" router_id="1" route_id="" age="" gender="" height="" startX="" startY="" />
</agents_distribution>
</agents>
<!-- These parameters may be overwritten -->
<operational_models>
<model id="1" description="gcfm">
<parameters>
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exitCrossingStrategy>3</exitCrossingStrategy>
<linkedcells enabled="true" cell_size="2.2" />
<v0 mu="1.24" sigma="0.001" />
<bmax mu="0.25" sigma="0.001" />
<bmin mu="0.20" sigma="0.001" />
<amin mu="0.18" sigma="0.001" />
<tau mu="0.5" sigma="0.001" />
<atau mu="0.5" sigma="0.001" />
<force_ped nu="0.3" dist_max="3" disteff_max="2" interpolation_width="0.1" />
<force_wall nu="0.2" dist_max="3" disteff_max="2" interpolation_width="0.1" />
</parameters>
</model>
<model id="2" desciption="cdt">
<parameters></parameters>
</model>
</operational_models>
<route_choice_models>
<router router_id="0" description="dummy">
<parameters></parameters>
</router>
<router router_id="1" description="global_shortest">
<parameters>
</parameters>
</router>
</route_choice_models>
</JuPedSim>
This diff is collapsed.
......@@ -121,12 +121,14 @@
<agents_distribution>
<group group_id="1" room_id="0" subroom_id="1" number="10" goal_id="0" router_id="1" route_id=""/>
<group group_id="1" room_id="0" subroom_id="1" number="1" goal_id="0" router_id="1" route_id=""/>
<group group_id="2" room_id="0" subroom_id="2" number="10" goal_id="0" router_id="1" route_id=""/>
<!--
<group group_id="1" room_id="0" subroom_id="1" number="10" goal_id="0" router_id="1" route_id=""/>
<group group_id="2" room_id="0" subroom_id="2" number="10" goal_id="0" router_id="1" route_id=""/>
<group group_id="3" room_id="0" subroom_id="3" number="10" goal_id="0" router_id="1" route_id=""/>
<group group_id="4" room_id="0" subroom_id="4" number="10" goal_id="0" router_id="1" route_id=""/>
<group group_id="5" room_id="0" subroom_id="5" number="10" goal_id="0" router_id="1" route_id=""/>
......@@ -170,7 +172,7 @@
<group group_id="34" room_id="5" subroom_id="7" number="10" goal_id="0" router_id="1" route_id=""/>
<group group_id="35" room_id="5" subroom_id="8" number="10" goal_id="0" router_id="1" route_id=""/>
<group group_id="36" room_id="5" subroom_id="9" number="10" goal_id="1" router_id="1" route_id=""/>
<group group_id="37" room_id="5" subroom_id="10" number="10" goal_id="0" router_id="1" route_id=""/>
<group group_id="37" room_id="5" subroom_id="10" number="10" goal_id="0" router_id="1" route_id=""/> -->
......
<?xml version="1.0" encoding="UTF-8" ?>
<JuPedSim project="JPS-Project" version="0.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ini.xsd">
<!-- seed used for initialising random generator -->
<seed>12542</seed>
<!-- geometry file -->
<geometry>geometry-mall.xml</geometry>
<!-- traectories file and format -->
<trajectories format="xml-plain" embed_mesh="false" fps="8">
<file location="trajectorie.xml" />
</trajectories>
<!-- where to store the logs -->
<!--logfile>log</logfile-->
<!-- traffic information: e.g closed doors or smoked rooms -->
<traffic_constraints>
<!-- <\!-- room states are: good or smoked -\-> -->
<rooms>
<room room_id="0" state="good" />
</rooms>
<!-- doors states are: close or open -->
<doors>
</doors>
</traffic_constraints>
<routing>
<goals>
<goal id="0" final="true" caption="goal 0">
<polygon>
<vertex px="2.0" py="6.0" />
<vertex px="2.0" py="8.0" />
<vertex px="1.0" py="8.0" />
<vertex px="1.0" py="6.0" />
<vertex px="2.0" py="6.0" />
</polygon>
</goal>
<?xml version="1.0" encoding="UTF-8" ?>
<JuPedSim project="JPS-Project" version="0.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ini.xsd">
<!-- seed used for initialising random generator -->
<seed>12542</seed>
<!-- geometry file -->
<geometry>geometry.xml</geometry>
<max_sim_time>900</max_sim_time>
<!-- traectories file and format -->
<trajectories format="xml-plain" embed_mesh="false" fps="16">
<file location="trajectorie.xml" />
</trajectories>
<!-- where to store the logs -->
<!--logfile>log</logfile-->
<!-- traffic information: e.g closed doors or smoked rooms -->
<traffic_constraints>
<!-- <\!-- room states are: good or smoked -\-> -->
<rooms>
<room room_id="0" state="good" />
<room room_id="1" state="good" />
</rooms>
<!-- doors states are: close or open -->
<doors>
<door trans_id="0" caption="" state="open" />
<door trans_id="1" caption="" state="close" />
<door trans_id="2" caption="" state="close" />
<door trans_id="3" caption="" state="open" />
<door trans_id="4" caption="" state="close" />
<door trans_id="5" caption="" state="close" />
<door trans_id="6" caption="" state="close" />
<door trans_id="7" caption="" state="close" />
<door trans_id="8" caption="" state="close" />
<door trans_id="9" caption="" state="close" />
<door trans_id="10" caption="" state="close" />
<door trans_id="11" caption="" state="close" />
<door trans_id="12" caption="" state="close" />
<door trans_id="13" caption="" state="close" />
<door trans_id="14" caption="" state="close" />
<door trans_id="15" caption="" state="close" />
<door trans_id="16" caption="" state="close" />
<door trans_id="17" caption="" state="close" />
<door trans_id="18" caption="" state="close" />
<door trans_id="19" caption="" state="close" />
</doors>
</traffic_constraints>
<routing>
<goals>
<goal id="0" final="true" caption="goal 0">
<polygon>
<vertex px="5.0" py="10.0" />
<vertex px="7.0" py="10.0" />
<vertex px="7.0" py="12.0" />
<vertex px="5.0" py="12.0" />
<vertex px="5.0" py="10.0" />
</polygon>
</goal>
<goal id="1" final="true" caption="goal 1">
<polygon>
<vertex px="10.0" py="31.0" />
<vertex px="12.0" py="31.0" />
<vertex px="12.0" py="33.0" />
<vertex px="10.0" py="33.0" />
<vertex px="10.0" py="31.0" />
</polygon>
</goal>
<goal id="2" final="true" caption="goal 2">
<polygon>
<vertex px="26.0" py="31.0" />
<vertex px="28.0" py="31.0" />
<vertex px="28.0" py="33.0" />
<vertex px="26.0" py="33.0" />
<vertex px="26.0" py="31.0" />
</polygon>
</goal>
<goal id="3" final="true" caption="goal 3">
<polygon>
<vertex px="31.0" py="10.0" />
<vertex px="33.0" py="10.0" />
<vertex px="33.0" py="12.0" />
<vertex px="31.0" py="12.0" />
<vertex px="31.0" py="10.0" />
</polygon>
</goal>
</goals>
</routing>
<goal id="1" final="true" caption="goal 1">
<polygon>
<vertex px="18.0" py="6.0" />
<vertex px="19.0" py="6.0" />
<vertex px="19.0" py="8.0" />
<vertex px="18.0" py="8.0" />
<vertex px="18.0" py="6.0" />
</polygon>
</goal>
</goals>
</routing>
<!--persons information and distribution -->
<agents>
<agents_distribution>
<group group_id="1" room_id="6" subroom_id="10" number="150" goal_id="0" router_id="1" route_id=""/>
<!--persons information and distribution -->
<agents>
<agents_distribution>
</agents_distribution>
<!-- frequency in persons/minute -->
<agents_sources/>
</agents>
<!-- These parameters may be overwritten -->
<operational_models>
<model id="1" description="gcfm">
<parameters>
<tmax unit="sec">900</tmax>
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exitCrossingStrategy>3</exitCrossingStrategy>
<linkedcells enabled="true" cell_size="2.2" />
<v0 mu="1.24" sigma="0.001" />
<bmax mu="0.25" sigma="0.001" />
<bmin mu="0.20" sigma="0.001" />
<amin mu="0.18" sigma="0.001" />
<tau mu="0.5" sigma="0.001" />
<atau mu="0.5" sigma="0.001" />
<force_ped nu="0.3" dist_max="3" disteff_max="2" interpolation_width="0.1" />
<force_wall nu="0.2" dist_max="3" disteff_max="2" interpolation_width="0.1" />
</parameters>
</model>
</operational_models>
<route_choice_models>
<router router_id="1" description="global_safest">
<parameters>
<navigation_lines file="routing.xml" />
</parameters>
</router>
</route_choice_models>
</JuPedSim>
<group group_id="0" room_id="0" subroom_id="11" number="30" goal_id="" router_id="1" route_id=""/>
<!--<group group_id="0" room_id="1" subroom_id="3" number="15" goal_id="1" router_id="1" route_id=""/>
<group group_id="1" room_id="1" subroom_id="7" number="15" goal_id="1" router_id="1" route_id=""/>
<group group_id="2" room_id="1" subroom_id="2" number="50" goal_id="1" router_id="1" route_id=""/>
<group group_id="3" room_id="1" subroom_id="6" number="50" goal_id="1" router_id="1" route_id=""/>
<group group_id="4" room_id="1" subroom_id="0" number="15" goal_id="2" router_id="1" route_id=""/>
<group group_id="5" room_id="1" subroom_id="4" number="15" goal_id="2" router_id="1" route_id=""/>
<group group_id="6" room_id="1" subroom_id="1" number="50" goal_id="2" router_id="1" route_id=""/>
<group group_id="7" room_id="1" subroom_id="5" number="50" goal_id="2" router_id="1" route_id=""/>-->
</agents_distribution>
<!-- frequency in persons/minute -->
<agents_sources/>
</agents>
<!-- These parameters may be overwritten -->
<operational_models>
<model id="1" description="gcfm">
<parameters>
<solver>euler</solver>
<stepsize>0.01</stepsize>
<exitCrossingStrategy>3</exitCrossingStrategy>
<linkedcells enabled="true" cell_size="2.2" />
<v0 mu="1.24" sigma="0.001" />
<bmax mu="0.25" sigma="0.001" />
<bmin mu="0.20" sigma="0.001" />
<amin mu="0.18" sigma="0.001" />
<tau mu="0.5" sigma="0.001" />
<atau mu="0.5" sigma="0.001" />
<force_ped nu="0.3" dist_max="3" disteff_max="2" interpolation_width="0.1" />
<force_wall nu="0.2" dist_max="3" disteff_max="2" interpolation_width="0.1" />
</parameters>
</model>
</operational_models>
<route_choice_models>
<router router_id="1" description="global_safest">
<parameters>
<navigation_lines file="routing.xml" />
</parameters>
</router>
</route_choice_models>
</JuPedSim>
......@@ -2,6 +2,6 @@
<routing version="0.5">
<Hlines>
</Hlines>
</routing>
......@@ -9,7 +9,7 @@
<!-- geometry file -->
<geometry>bateau.xml</geometry>
<!-- trajectories file and format -->
<trajectories format="xml-plain" embed_mesh="false" fps="4">
<trajectories format="xml-plain" embed_mesh="false" fps="8">
<file location="trajectories.xml" />
<!--<socket hostname="127.0.0.1" port="8989"/> -->
</trajectories>
......@@ -69,7 +69,7 @@
<group group_id="5" room_id="0" subroom_id="0" number="0" goal_id="" router_id="1" route_id="" motivation=""/>
<group group_id="0" room_id="0" subroom_id="0" number="0" goal_id="" router_id="1" route_id="" />
<group group_id="1" room_id="0" subroom_id="1" number="0" goal_id="" router_id="2" route_id="" patience="5"/>
<group group_id="2" room_id="0" number="200" goal_id="-1" router_id="2" patience="5"/>
<group group_id="2" room_id="0" number="1000" goal_id="-1" router_id="2" patience="5"/>
<group group_id="3" room_id="0" subroom_id="0" number="10" goal_id="-1" router_id="2" patience="5"/>
</agents_distribution>
</agents>
......
......@@ -46,7 +46,7 @@
<agents>
<agents_distribution>
<group group_id="1" room_id="0" subroom_id="0" number="300" goal_id="" router_id="1" route_id=""/>
<group group_id="1" room_id="0" subroom_id="0" number="1" goal_id="" router_id="1" route_id=""/>
</agents_distribution>
......
......@@ -40,7 +40,7 @@
#include <iomanip>
//penalty factors for distances outdoor
#define PENALTY_FACTOR 1
#define PENALTY_FACTOR 30
using namespace std;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment