two rules moving a dimer toward east or west

This commit is contained in:
Jean Sirmai 2021-10-17 16:27:28 +02:00
parent bed06c74cb
commit 89b4cac52a
Signed by untrusted user who does not match committer: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 26 additions and 44 deletions

View File

@ -13,7 +13,7 @@
<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>
<!-- Model parameters -->
@ -72,61 +72,43 @@
</savestates>
<!-- Model transitions definition (rules) -->
<transitions id="texte" date="1629830000" author="THE SUPER MATRIX">
<transition id="texte" date="1629830000" author="Bob" parent="texte"
<transitions id="texte" date="1629830000" author="Indécis">
<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">
<quote id="texte" date="1629830000" author="Bob" lang="fr">
Moves a dimer to east.
</quote>
<quote id="texte" date="1629830000" author="Alice" lang="en"> 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>
</arrow>
<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="2" y="0" z="0" site="1" weight="0"> <quote lang="en">The east location next this dimer is empty </quote></arrow>
</if>
<then>
<quote lang="fr">
Therefore I can (and I want to) move it to its next east location
</quote>
<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="0" weight="0">
<quote lang="fr">The identified dimer no more exists ( :-(( </quote>
</arrow>
<arrow x="1" y="0" z="0" site="2" weight="0"> <quote lang="en">The identified dimer no more exists ( :-(( </quote></arrow>
<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">
<quote lang="fr">
Happily, it is now rebuilt at its east location ( ;-))
</transition>
</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>
</transition>