two rules moving a dimer toward east or west
This commit is contained in:
parent
bed06c74cb
commit
89b4cac52a
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
|
|
||||||
<ref id="texte" date="1629830000" author="Jean" lang="fr">Ref</ref>
|
<ref id="texte" date="1629830000" author="Jean" lang="en">Ref</ref>
|
||||||
</identity>
|
</identity>
|
||||||
|
|
||||||
<!-- Model parameters -->
|
<!-- Model parameters -->
|
||||||
|
@ -72,61 +72,43 @@
|
||||||
</savestates>
|
</savestates>
|
||||||
|
|
||||||
<!-- Model transitions definition (rules) -->
|
<!-- Model transitions definition (rules) -->
|
||||||
<transitions id="texte" date="1629830000" author="THE SUPER MATRIX">
|
<transitions id="texte" date="1629830000" author="Indécis">
|
||||||
<transition id="texte" date="1629830000" author="Bob" parent="texte"
|
<quote lang="en">As long as there is no client, transitions have to be edited by hand and should be in a 'human-readable' format</quote>
|
||||||
|
|
||||||
|
<transition id="move_a_dimer_to_east" date="1629830001" author="Alice" parent="root"
|
||||||
probability="1">
|
probability="1">
|
||||||
<quote id="texte" date="1629830000" author="Bob" lang="fr">
|
<quote id="texte" date="1629830000" author="Alice" lang="en"> Moves a dimer to east. </quote>
|
||||||
Moves a dimer to east.
|
|
||||||
</quote>
|
|
||||||
|
|
||||||
<if>
|
<if>
|
||||||
<arrow x="0" y="0" z="0" site="1" weight="1"/>
|
<arrow x="0" y="0" z="0" site="1" weight="1"/>
|
||||||
|
<arrow x="1" y="0" z="0" site="2" weight="1"> <quote lang="en">A dimer is identified at coords (0,1)</quote></arrow>
|
||||||
<arrow x="1" y="0" z="0" site="0" weight="1">
|
<arrow x="2" y="0" z="0" site="1" weight="0"> <quote lang="en">The east location next this dimer is empty </quote></arrow>
|
||||||
<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>
|
|
||||||
|
|
||||||
</arrow>
|
|
||||||
|
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<then>
|
<then> <quote lang="en">Therefore I can (and I want to) move it to its next east location </quote>
|
||||||
<quote lang="fr">
|
|
||||||
Therefore I can (and I want to) move it to its next east location
|
|
||||||
|
|
||||||
</quote>
|
|
||||||
|
|
||||||
<arrow x="0" y="0" z="0" site="1" weight="0"/>
|
<arrow x="0" y="0" z="0" site="1" weight="0"/>
|
||||||
<arrow x="1" y="0" z="0" site="0" weight="0">
|
<arrow x="1" y="0" z="0" site="2" weight="0"> <quote lang="en">The identified dimer no more exists ( :-(( </quote></arrow>
|
||||||
<quote lang="fr">The identified dimer no more exists ( :-(( </quote>
|
|
||||||
|
|
||||||
</arrow>
|
|
||||||
|
|
||||||
<arrow x="1" y="0" z="0" site="1" weight="1"/>
|
<arrow x="1" y="0" z="0" site="1" weight="1"/>
|
||||||
|
<arrow x="2" y="0" z="0" site="2" weight="1"> <quote lang="en">Happily, it is now rebuilt at its east location ( ;-)) </quote></arrow>
|
||||||
|
</then>
|
||||||
|
|
||||||
<arrow x="2" y="0" z="0" site="0" weight="1">
|
</transition>
|
||||||
<quote lang="fr">
|
|
||||||
Happily, it is now rebuilt at its east location ( ;-))
|
|
||||||
|
|
||||||
</quote>
|
<transition id="move_a_dimer_to_west" date="1629830001" author="Bob" parent="root"
|
||||||
|
probability="1">
|
||||||
|
<quote id="texte" date="1629830000" author="Bob" lang="en"> Moves a dimer to west. </quote>
|
||||||
|
|
||||||
</arrow>
|
<if>
|
||||||
|
<arrow x= "0" y="0" z="0" site="1" weight="1"/>
|
||||||
|
<arrow x= "1" y="0" z="0" site="2" weight="1"> <quote lang="en">A dimer is identified at coords (0,1)</quote></arrow>
|
||||||
|
<arrow x="-1" y="0" z="0" site="2" weight="0"> <quote lang="en">The west location next this dimer is empty </quote></arrow>
|
||||||
|
</if>
|
||||||
|
|
||||||
|
<then> <quote lang="en">Therefore I can (and I want to) move it to its next east location </quote>
|
||||||
|
<arrow x= "0" y="0" z="0" site="1" weight="0"/>
|
||||||
|
<arrow x= "1" y="0" z="0" site="2" weight="0"> <quote lang="en">The identified dimer no more exists ( :-(( </quote></arrow>
|
||||||
|
<arrow x= "0" y="0" z="0" site="2" weight="1"/>
|
||||||
|
<arrow x="-1" y="0" z="0" site="1" weight="1"> <quote lang="en">Happily, it is now rebuilt at its west location ( ;-)) </quote></arrow>
|
||||||
</then>
|
</then>
|
||||||
|
|
||||||
</transition>
|
</transition>
|
||||||
|
|
Loading…
Reference in New Issue