2021-11-11 16:22:42 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-12-07 19:38:42 +01:00
|
|
|
<gem-graph-model version="0.2.1">
|
2021-12-07 20:01:44 +01:00
|
|
|
|
2021-11-02 17:54:30 +01:00
|
|
|
<identity>
|
2021-12-08 19:57:49 +01:00
|
|
|
<name>Chrysalide</name>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2021-12-08 19:57:49 +01:00
|
|
|
<owner>Léontine qui patine</owner>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
|
|
|
<owner_id>2</owner_id>
|
|
|
|
|
2021-12-05 17:44:05 +01:00
|
|
|
<date>1630000000</date>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
|
|
|
<version>1.0</version>
|
|
|
|
|
2021-12-08 23:14:36 +01:00
|
|
|
<g_ref id="diff" date="1630000000" author="Léontine" lang="en">Qui ça ?'</g_ref>
|
2021-11-02 17:54:30 +01:00
|
|
|
</identity>
|
|
|
|
|
2021-12-08 19:57:49 +01:00
|
|
|
<parameters id="texte" date="0" author="Léontine qui trottine.">
|
2021-11-02 17:54:30 +01:00
|
|
|
<simulation>
|
|
|
|
<max_thread>0</max_thread>
|
|
|
|
<max_cycles>9</max_cycles>
|
|
|
|
|
|
|
|
</simulation>
|
|
|
|
|
|
|
|
<space-param>
|
2021-11-11 16:22:42 +01:00
|
|
|
<!-- 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-->
|
2021-12-07 19:38:42 +01:00
|
|
|
|
2021-12-13 19:09:12 +01:00
|
|
|
<dimension x="20"/>
|
2021-12-07 19:38:42 +01:00
|
|
|
|
2021-11-02 17:54:30 +01:00
|
|
|
<!-- 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. -->
|
2021-12-07 19:38:42 +01:00
|
|
|
|
2021-12-11 09:54:52 +01:00
|
|
|
<site_multiplicity>3</site_multiplicity>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
|
|
|
</space-param>
|
|
|
|
|
|
|
|
</parameters>
|
|
|
|
|
|
|
|
<!-- Model objects definition -->
|
|
|
|
|
2021-12-05 17:44:05 +01:00
|
|
|
<objects id="only dimers in this model" date="1630000000" author="inanimés,... âme ?">
|
|
|
|
<object id="a dimer" date="1630000000" author="Alphonse">
|
2021-12-07 19:38:42 +01:00
|
|
|
<arrow site="1" weight="1" x="0"/>
|
|
|
|
<arrow site="2" weight="1" x="1"/>
|
2021-11-02 17:54:30 +01:00
|
|
|
</object>
|
|
|
|
|
|
|
|
</objects>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Saved space description (initial space is sequence 0) -->
|
|
|
|
|
2021-12-08 23:14:36 +01:00
|
|
|
<states id="texte" date="1630000000" author="Here, states are spaces.">
|
|
|
|
<space id="initial" date="1630000000" author="Une souris verte,">
|
2021-12-14 19:45:09 +01:00
|
|
|
<arrow site="0" weight="6" x="0"/>
|
2021-12-07 19:38:42 +01:00
|
|
|
<arrow site="1" weight="1" x="0"/>
|
2021-12-18 23:15:19 +01:00
|
|
|
<arrow site="2" weight="9" x="0"/>
|
2021-12-09 14:55:59 +01:00
|
|
|
<arrow site="2" weight="7" x="1"/>
|
2021-12-14 19:45:09 +01:00
|
|
|
<arrow site="1" weight="3" x="6"/>
|
2021-12-18 23:15:19 +01:00
|
|
|
<arrow site="0" weight="1" x="7"/>
|
|
|
|
<arrow site="1" weight="1" x="7"/>
|
2021-12-09 14:55:59 +01:00
|
|
|
<arrow site="2" weight="1" x="7"/>
|
2021-12-18 23:15:19 +01:00
|
|
|
<arrow site="1" weight="3" x="8"/>
|
2021-12-13 19:09:12 +01:00
|
|
|
<arrow site="1" weight="4" x="14"/>
|
2021-12-11 09:54:52 +01:00
|
|
|
<arrow site="0" weight="8" x="14"/>
|
2021-12-13 19:09:12 +01:00
|
|
|
<arrow site="2" weight="5" x="15"/>
|
|
|
|
<arrow site="1" weight="2" x="17"/>
|
2021-12-11 09:54:52 +01:00
|
|
|
<arrow site="2" weight="7" x="18"/>
|
2021-12-14 19:45:09 +01:00
|
|
|
<arrow site="2" weight="9" x="20"/>
|
2021-12-18 23:15:19 +01:00
|
|
|
<arrow site="0" weight="6" x="20"/>
|
|
|
|
<arrow site="1" weight="4" x="20"/>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2021-12-08 23:14:36 +01:00
|
|
|
</space>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2021-12-08 23:14:36 +01:00
|
|
|
</states>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
|
|
|
<!-- Model transitions definition (rules) -->
|
2021-12-14 19:45:09 +01:00
|
|
|
<!-- In this version : <xs:sequence minOccurs="1" maxOccurs="unbounded">-->
|
2021-11-02 17:54:30 +01:00
|
|
|
<!-- Transitions should be edited by hand and written in a 'human-readable' format -->
|
|
|
|
|
2021-12-05 17:44:05 +01:00
|
|
|
<conditions id="random walk of dimers" date="1630000000" author="Zazard le lézard !">
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2021-12-07 19:38:42 +01:00
|
|
|
<condition site="1" weight="1" node_id="1" parent="0" x="0"/>
|
|
|
|
<condition site="2" weight="1" node_id="2" parent="1" x="1"/>
|
2021-12-14 19:45:09 +01:00
|
|
|
<!-- as soon as conditions 1 and 2 are satisfied, a dimer is identified at location (0,1). -->
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2021-12-07 19:38:42 +01:00
|
|
|
<condition site="1" weight="0" node_id="3" parent="2" x="2"/>
|
2021-11-02 17:54:30 +01:00
|
|
|
<!-- as soon as condition 3 is satisfied,
|
2021-12-08 23:14:36 +01:00
|
|
|
the neighbouring space unhit to East of the dimer is empty
|
2021-11-02 17:54:30 +01:00
|
|
|
and the dimer identified by conditions (1,2) can be moved to East. -->
|
|
|
|
|
2022-01-09 12:01:01 +01:00
|
|
|
<condition site="2" weight="0" node_id="4" parent="2" x="1"/>
|
2021-11-02 17:54:30 +01:00
|
|
|
<!-- 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. -->
|
|
|
|
|
2022-01-09 12:01:01 +01:00
|
|
|
<condition site="2" weight="1" node_id="5" parent="3" x="1"/>
|
|
|
|
<condition site="2" weight="0" node_id="6" parent="4" x="1"/>
|
|
|
|
<condition site="2" weight="2" node_id="7" parent="3" x="1"/>
|
|
|
|
<condition site="0" weight="3" node_id="8" parent="6" x="1"/>
|
|
|
|
<condition site="0" weight="4" node_id="9" parent="6" x="1"/>
|
2021-11-02 17:54:30 +01:00
|
|
|
</conditions>
|
|
|
|
|
|
|
|
<transitions>
|
|
|
|
|
2021-12-05 17:44:05 +01:00
|
|
|
<transition id="move_a_dimer_to_east" date="1630000000" author="Pas moi..."
|
2022-01-09 12:01:01 +01:00
|
|
|
parent="7" probability="1">
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2021-12-07 19:38:42 +01:00
|
|
|
<arrow site="1" weight="0" x="0"/>
|
|
|
|
<arrow site="2" weight="0" x="1"/>
|
|
|
|
<arrow site="1" weight="1" x="1"/>
|
|
|
|
<arrow site="2" weight="1" x="2"/>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2022-01-07 19:08:09 +01:00
|
|
|
</transition>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2022-01-07 19:08:09 +01:00
|
|
|
<transition id="move_a_dimer_to_west" date="1630000000" author="Ni moi !"
|
2022-01-09 12:01:01 +01:00
|
|
|
parent="8" probability="1">
|
|
|
|
|
|
|
|
<arrow site="1" weight="0" x="0"/>
|
|
|
|
<arrow site="2" weight="0" x="1"/>
|
|
|
|
<arrow site="2" weight="1" x="0"/>
|
|
|
|
<arrow site="1" weight="1" x="1"/>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
|
2022-01-09 12:45:42 +01:00
|
|
|
<transition id="do_anything_you_want !" date="1630000000" author="Ni moi !"
|
2022-01-09 12:01:01 +01:00
|
|
|
parent="9" probability="1">
|
|
|
|
|
|
|
|
<arrow site="1" weight="0" x="0"/>
|
|
|
|
<arrow site="2" weight="0" x="1"/>
|
|
|
|
<arrow site="2" weight="1" x="0"/>
|
|
|
|
<arrow site="1" weight="1" x="1"/>
|
|
|
|
|
|
|
|
</transition>
|
|
|
|
|
2022-01-09 12:45:42 +01:00
|
|
|
<transition id="do_nothing or something" date="1630000000" author="Ni moi !"
|
2022-01-09 12:01:01 +01:00
|
|
|
parent="5" probability="1">
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2021-12-07 19:38:42 +01:00
|
|
|
<arrow site="1" weight="0" x="0"/>
|
|
|
|
<arrow site="2" weight="0" x="1"/>
|
|
|
|
<arrow site="2" weight="1" x="0"/>
|
|
|
|
<arrow site="1" weight="1" x="1"/>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
2022-01-07 19:08:09 +01:00
|
|
|
</transition>
|
2021-11-02 17:54:30 +01:00
|
|
|
|
|
|
|
</transitions>
|
|
|
|
|
|
|
|
</gem-graph-model>
|