forked from mxgmn/MarkovJunior
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SmartSAW.xml
36 lines (34 loc) · 908 Bytes
/
SmartSAW.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<sequence values="BRDYGWEUN" origin="True">
<union symbol="?" values="BD"/>
<union symbol="_" values="BN"/>
<all>
<rule in="RBB" out="**D"/>
<rule in="DBB" out="**D"/>
</all>
<markov>
<markov>
<markov>
<one in="Y_D" out="UEG"/>
<one in="YWW" out="DNR"/>
</markov>
<all in="G_D" out="*EG"/>
<markov>
<one in="RBD" out="WWY"/>
<one in="RWW" out="DNR"/>
</markov>
<sequence>
<one in="**D/**_/WWU" out="***/***/RND"/>
<all>
<rule in="*_*/_G_" out="***/*D*"/>
<rule in="*?*/?E?" out="***/*B*"/>
<rule in="*_*/_U_" out="***/*R*"/>
</all>
</sequence>
</markov>
<prl in="N" out="B"/>
</markov>
</sequence>
<!--
I was trying to implement depth-first search with early exit in MJ, and made this.
It goes much further than the naive self-avoiding walk.
-->