gem-graph-server/debian/var/models/example.xml

118 lines
3.6 KiB
XML
Raw Normal View History

2021-09-18 16:44:10 +02:00
<?xml version="1.0" encoding="UTF-8"?>
2021-09-21 15:55:18 +02:00
<gem-graph-model version="0.1">
2021-09-19 22:39:47 +02:00
2021-09-21 15:55:18 +02:00
<!-- Model identity informations -->
2021-09-18 16:44:10 +02:00
<identity>
2021-09-21 15:55:18 +02:00
<name>Modèle de test</name>
<owner>Gaston Lagaffe</owner>
<owner_id>2</owner_id>
2021-09-18 16:44:10 +02:00
<date>1629830000</date>
2021-09-21 15:55:18 +02:00
2021-09-18 16:44:10 +02:00
<version>1.0</version>
2021-09-19 22:39:47 +02:00
<ref id="texte" date="1629830000" author="Jean" lang="en">Ref</ref>
2021-09-21 15:55:18 +02:00
</identity>
2021-09-19 22:39:47 +02:00
2021-09-21 15:55:18 +02:00
<!-- Model parameters -->
<parameters id="texte" date="0" author="Gaston Lagaffe">
<simulation>
<max_thread>0</max_thread>
<max_cycles>9</max_cycles>
2021-09-19 22:39:47 +02:00
2021-09-21 15:55:18 +02:00
</simulation>
<space-param>
<dimension>1</dimension>
<size x="29" y="0" z="0"/>
<site_multiplicity>3</site_multiplicity>
2021-09-19 22:39:47 +02:00
2021-09-21 15:55:18 +02:00
</space-param>
2021-09-19 22:39:47 +02:00
2021-09-21 15:55:18 +02:00
</parameters>
2021-09-21 15:55:18 +02:00
<!-- Model objects definition -->
<objects id="texte" date="1629830000" author="Jean Sirmai">
<object id="dimer 1-1" date="1629830000" author="Jean Sirmai">
<arrow x="0" y="0" z="0" site="1" weight="1"/>
<arrow x="1" y="0" z="0" site="2" weight="1"/>
2021-09-21 15:55:18 +02:00
</object>
<object id="dimer 2-2" date="1629830000" author="Jean Sirmai">
<arrow x="0" y="0" z="0" site="1" weight="2"/>
<arrow x="1" y="0" z="0" site="2" weight="2"/>
2021-09-21 15:55:18 +02:00
</object>
<object id="dimer 3-3" date="1629830000" author="Jean Sirmai">
<arrow x="0" y="0" z="0" site="1" weight="3"/>
<arrow x="1" y="0" z="0" site="2" weight="3"/>
2021-09-21 15:55:18 +02:00
</object>
2021-09-18 19:50:06 +02:00
</objects>
2021-09-19 22:39:47 +02:00
2021-09-21 15:55:18 +02:00
<!-- Saved space description (initial space is sequence 0) -->
<savestates id="texte" date="1629830000" author="THE MATRIX">
<space id="initial" date="1629830000" author="Jean Sirmai" sequence="0">
<arrow x="0" y="0" z="0" site="1" weight="1"/>
<arrow x="1" y="0" z="0" site="2" weight="1"/>
2021-09-21 15:55:18 +02:00
<arrow x="10" y="0" z="0" site="1" weight="1"/>
<arrow x="11" y="0" z="0" site="2" weight="1"/>
2021-09-21 15:55:18 +02:00
<arrow x="20" y="0" z="0" site="1" weight="1"/>
<arrow x="21" y="0" z="0" site="2" weight="1"/>
2021-09-21 15:55:18 +02:00
</space>
</savestates>
<!-- Model transitions definition (rules) -->
<!-- As long as there is no client, transitions have to be edited by hand
and should be written using a 'human-readable' format -->
<transitions id="texte" date="1629822222" author="Jean">
<transition id="move_a_dimer_to_east" date="1629811111" author="Jean"
parent="root" probability="1">
2021-09-21 15:55:18 +02:00
<if>
<arrow x="0" y="0" z="0" site="1" weight="1"/>
<arrow x="1" y="0" z="0" site="2" weight="1"/>
<arrow x="2" y="0" z="0" site="1" weight="0"/>
2021-09-21 15:55:18 +02:00
</if>
<then>
2021-09-21 15:55:18 +02:00
<arrow x="0" y="0" z="0" site="1" weight="0"/>
<arrow x="1" y="0" z="0" site="2" weight="0"/>
2021-09-21 15:55:18 +02:00
<arrow x="1" y="0" z="0" site="1" weight="1"/>
<arrow x="2" y="0" z="0" site="2" weight="1"/>
</then>
</transition>
<transition id="move_a_dimer_to_west" date="1629811111" author="Jean"
parent="root" probability="1">
<if>
<arrow x= "0" y="0" z="0" site="2" weight="1"/>
<arrow x="-1" y="0" z="0" site="1" weight="1"/>
<arrow x="-2" y="0" z="0" site="2" weight="0"/>
</if>
<then>
<arrow x= "0" y="0" z="0" site="2" weight="0"/>
<arrow x="-1" y="0" z="0" site="1" weight="0"/>
<arrow x="-1" y="0" z="0" site="2" weight="1"/>
<arrow x="-2" y="0" z="0" site="1" weight="1"/>
2021-09-21 15:55:18 +02:00
</then>
2021-09-21 15:55:18 +02:00
</transition>
</transitions>
2021-09-18 16:44:10 +02:00
</gem-graph-model>