gem-graph-server/debian/var/models/XML model example (in progr...

100 lines
3.7 KiB
Plaintext
Raw Normal View History

2021-09-18 16:44:10 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<gem-graph-model>
2021-09-19 22:39:47 +02:00
2021-09-18 16:44:10 +02:00
<identity>
2021-09-19 22:39:47 +02:00
<anything_but_not_just_the_word_name>Modèle de test</anything_but_not_just_the_word_name>
2021-09-18 16:46:39 +02:00
<name value="(Trois dimères)"/>
2021-09-20 18:21:31 +02:00
<owner>2</owner>
2021-09-18 16:44:10 +02:00
<date>1629830000</date>
<version>1.0</version>
</identity>
2021-09-19 22:39:47 +02:00
2021-09-18 16:46:39 +02:00
<parameters id="0" date="0" author="Gaston Lagaffe">
2021-09-19 22:39:47 +02:00
<modelization>
<max_thread value="0"/>
<max_cycles value="13"/>
</modelization>
<space>
2021-09-18 17:01:53 +02:00
<dimension value="1"/>
<size value="39"/>
<site_multiplicity value="2"/>
<boundaries/>
2021-09-19 22:39:47 +02:00
</space>
2021-09-18 16:46:39 +02:00
</parameters>
2021-09-19 22:39:47 +02:00
<objects id="A list of connex states" date="1629830000" author="Jean Sirmai">
<state 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"/>
</state>
<state 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"/>
</state>
<state 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"/>
</state>
2021-09-20 18:36:05 +02:00
<!-- Just for the fun ! Can you imagine a rules in a next model ? -->
<state id="dimer 1-2" 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="2"/>
</state>
2021-09-18 19:50:06 +02:00
</objects>
2021-09-19 22:39:47 +02:00
<state id="initial state" date="1629830000" author="Jean Sirmai">
<!-- three dimers of three types (1-1, 2-2, 3-3) are defined in three locations-->
<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="2"/>
<arrow x="11" y="0" z="0" site="0" weight="2"/>
<arrow x="20" y="0" z="0" site="1" weight="3"/>
<arrow x="21" y="0" z="0" site="0" weight="3"/>
</state>
<produced_states id="a computed state" date="000" author="THE MATRIX (you know it...)">
</produced_states>
<transitions id="how many ?" date="000" author="THE SUPER MATRIX (you did'not know it ? Did you ?...)">
<transition id="0" date="1629830000" author="Jean Sirmai" probability="1"> <!-- moves a dimer to east-->
<state id="initial transition state" date="0" 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"/> <!-- a dimer is identified-->
<!-- the local space origin is its "west" particule-->
<arrow x="2" y="0" z="0" site="1" weight="0"/> <!-- the east location next this dimer is empty-->
<arrow x="3" y="0" z="0" site="0" weight="0"/> <!-- In this very simple model, I do not need to check this condition-->
</state>
<state id="final transition state" date="0" author="Jean Sirmai"> <!-- Therefore I can (and I want to) move it to its next east location-->
<arrow x="0" y="0" z="0" site="1" weight="0"/>
<arrow x="1" y="0" z="0" site="0" weight="0"/> <!-- The identified dimer no more exists ( :-(( -->
<arrow x="1" y="0" z="0" site="1" weight="1"/>
<arrow x="2" y="0" z="0" site="0" weight="1"/> <!-- Happily, it is now rebuilt at its east location ( ;-))-->
</state>
</transition>
</transitions>
<ref></ref>
<quote></quote>
2021-09-18 16:44:10 +02:00
</gem-graph-model>