122 lines
4.5 KiB
XML
122 lines
4.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gem-graph-model version="0.2">
|
|
<!-- Model identity informations -->
|
|
<identity>
|
|
<name>Modèle de test</name>
|
|
|
|
<owner>Gaston Lagaffe</owner>
|
|
|
|
<owner_id>2</owner_id>
|
|
|
|
<date>1629830000</date>
|
|
|
|
<version>1.0</version>
|
|
|
|
<g_ref id="texte" date="1629830000" author="Jean" lang="en">Ref</g_ref>
|
|
</identity>
|
|
|
|
<!-- Model parameters -->
|
|
<parameters id="texte" date="0" author="Gaston Lagaffe">
|
|
<simulation>
|
|
<max_thread>0</max_thread>
|
|
<max_cycles>9</max_cycles>
|
|
|
|
</simulation>
|
|
|
|
<space-param>
|
|
<dimension>
|
|
<!-- loop_on_zero="true" anything moved before zero reenters at the end of space-->
|
|
<!-- loop_on_zero="false" anything moved before zero is lost-->
|
|
<!-- loop_on_max="true" anything moved beyond max reenters at the zero of space-->
|
|
<!-- loop_on_max="false" anything moved beyond max is lost-->
|
|
<axis name="x" size="29" loop_on_zero="true" loop_on_max="true"/>
|
|
<axis name="y" size="0" loop_on_zero="true" loop_on_max="true"/>
|
|
<axis name="z" size="0" loop_on_zero="true" loop_on_max="true"/>
|
|
</dimension>
|
|
<!-- Site_multiplicity = number of sites in a space unit. -->
|
|
<!-- Each site points towards a neighbouring space unit. -->
|
|
<!-- Several arrows can be stacked in the same site. -->
|
|
<site_multiplicity>3</site_multiplicity>
|
|
|
|
</space-param>
|
|
|
|
</parameters>
|
|
|
|
<!-- 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"/>
|
|
|
|
</object>
|
|
|
|
</objects>
|
|
|
|
<!-- 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"/>
|
|
|
|
<arrow x="10" y="0" z="0" site="1" weight="1"/>
|
|
<arrow x="11" y="0" z="0" site="2" weight="1"/>
|
|
|
|
<arrow x="20" y="0" z="0" site="1" weight="1"/>
|
|
<arrow x="21" y="0" z="0" site="2" weight="1"/>
|
|
|
|
<!-- Three dimers 1-1 are drawn in the global space
|
|
at locations (0,1) (10,11) and (20,21) -->
|
|
|
|
</space>
|
|
|
|
</savestates>
|
|
|
|
<!-- Model transitions definition (rules) -->
|
|
<!-- In this version : <xs:sequence minOccurs="0" maxOccurs="unbounded">-->
|
|
<!-- Transitions should be edited by hand and written in a 'human-readable' format -->
|
|
|
|
<conditions id="random walk of dimers" date="1629822222" author="Jean">
|
|
|
|
<condition x= "0" y="0" z="0" site="1" weight="1" node_id="1" parent="0"/>
|
|
<condition x= "1" y="0" z="0" site="2" weight="1" node_id="2" parent="1"/>
|
|
<!-- as soon as conditions 1 and 2 are satisfied, a dimer is identified at location (0,1). -->
|
|
|
|
<condition x= "2" y="0" z="0" site="1" weight="0" node_id="3" parent="2"/>
|
|
<!-- as soon as condition 3 is satisfied,
|
|
the neighbouring space unit to East of the dimer is empty
|
|
and the dimer identified by conditions (1,2) can be moved to East. -->
|
|
|
|
<condition x="-1" y="0" z="0" site="2" weight="0" node_id="4" parent="2"/>
|
|
<!-- as soon as condition 4 is satisfied,
|
|
the neighbouring space unit to West of the dimer is empty
|
|
and the dimer identified by conditions (1,2) can be moved to West. -->
|
|
|
|
</conditions>
|
|
|
|
<transitions>
|
|
|
|
<transition id="move_a_dimer_to_east" date="1629811111" author="Jean"
|
|
parent="3" probability="1">
|
|
|
|
<arrow x="0" y="0" z="0" site="1" weight="0"/>
|
|
<arrow x="1" y="0" z="0" site="2" weight="0"/>
|
|
<arrow x="1" y="0" z="0" site="1" weight="1"/>
|
|
<arrow x="2" y="0" z="0" site="2" weight="1"/>
|
|
|
|
</transition>
|
|
|
|
<transition id="move_a_dimer_to_west" date="1629811112" author="Jean"
|
|
parent="4" probability="1">
|
|
|
|
<arrow x= "0" y="0" z="0" site="1" weight="0"/>
|
|
<arrow x= "1" y="0" z="0" site="2" weight="0"/>
|
|
<arrow x= "0" y="0" z="0" site="2" weight="1"/>
|
|
<arrow x="-1" y="0" z="0" site="1" weight="1"/>
|
|
|
|
</transition>
|
|
|
|
</transitions>
|
|
|
|
</gem-graph-model>
|
|
|