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

141 lines
3.8 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
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>
2021-09-19 22:39:47 +02:00
<max_thread value="0"/>
<max_cycles value="13"/>
2021-09-21 15:55:18 +02:00
</simulation>
<space-param>
2021-09-18 17:01:53 +02:00
<dimension value="1"/>
<size value="39"/>
<site_multiplicity value="2"/>
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="0" 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="0" 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="0" 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="0" weight="1"/>
<arrow x="10" y="0" z="0" site="1" weight="1"/>
<arrow x="11" y="0" z="0" site="0" weight="1"/>
<arrow x="20" y="0" z="0" site="1" weight="1"/>
<arrow x="21" y="0" z="0" site="0" weight="1"/>
</space>
</savestates>
<!-- Model transitions definition (rules) -->
<transitions id="texte" date="1629830000" author="THE SUPER MATRIX">
<transition id="texte" date="1629830000" author="Bob" parent="texte"
probability="1">
<quote id="texte" date="1629830000" author="Bob" lang="fr">
Moves a dimer to east.
</quote>
<if>
<arrow x="0" y="0" z="0" site="1" weight="1"/>
<arrow x="1" y="0" z="0" site="0" weight="1">
<quote lang="fr">A dimer is identified</quote>
</arrow>
<arrow x="2" y="0" z="0" site="1" weight="0">
<quote lang="fr">
The east location next this dimer is empty
</quote>
</arrow>
<arrow x="3" y="0" z="0" site="0" weight="0">
<quote lang="fr">
In this very simple model, I do not need to check this condition
</quote>
2021-09-21 15:55:18 +02:00
</arrow>
2021-09-21 15:55:18 +02:00
</if>
2021-09-21 15:55:18 +02:00
<then>
<quote>
Therefore I can (and I want to) move it to its next east location
2021-09-21 15:55:18 +02:00
</quote>
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="0" weight="0">
<quote>The identified dimer no more exists ( :-(( </quote>
2021-09-21 15:55:18 +02:00
</arrow>
2021-09-21 15:55:18 +02:00
<arrow x="1" y="0" z="0" site="1" weight="1"/>
2021-09-21 15:55:18 +02:00
<arrow x="2" y="0" z="0" site="0" weight="1">
<quote>
Happily, it is now rebuilt at its east location ( ;-))
2021-09-21 15:55:18 +02:00
</quote>
2021-09-21 15:55:18 +02:00
</arrow>
2021-09-21 15:55:18 +02:00
</then>
2021-09-21 15:55:18 +02:00
</transition>
</transitions>
2021-09-21 15:55:18 +02:00
<!-- Non context-specific tags, designed to annotate anything -->
<ref id="texte" date="1629830000" author="Jean" lang="ref"></ref>
2021-09-21 15:55:18 +02:00
<quote id="texte" date="1629830000" author="Jean" lang="ref"></quote>
2021-09-18 16:44:10 +02:00
</gem-graph-model>