Rule:Codd-ICRA
@RULE Codd-ICRA
@TABLE
- Codd-ICRA rule table
n_states:8 neighborhood:vonNeumann symmetries:rotate4
var a={0,1,2,3,4,5,6,7} var b={0,1,2,3,4,5,6,7} var c={0,1,2,3,4,5,6,7} var d={0,1,2,3,4,5,6,7}
- Note: In the original rule table, it says 'even'.
- I believe that this should say 'odd'.
var e={1,3,5,7}
- TJH added some extra cases for collisions between sheathing-signals:
- (see top of file)
- for 2-way collisions:
0,0,6,6,2,2 # sh 0,6,6,0,2,2 # sh (reflected form of above)
- for 3-way collisions:
1,6,6,6,0,6 # sh
- TJH added some extra cases to allow sense after extend_left
- (sense after extend_right works, and is used on the program tape)
2,0,0,3,4,3 0,0,3,1,2,1 # path end self-repair
- Original rule table
0,0,0,0,6,2 0,0,0,0,7,3 0,0,0,1,5,3 0,0,0,1,6,2 0,0,0,2,5,2 0,0,0,2,6,2 0,0,0,4,2,2 0,0,0,5,1,3 0,0,0,6,1,2 0,0,0,6,2,2 0,0,0,6,6,2 0,0,1,0,6,2 0,0,1,0,7,3 0,0,1,1,6,2 0,0,1,2,6,2 0,0,1,6,1,2 0,0,1,6,2,2 0,0,1,6,6,2 0,0,2,0,6,2 0,0,2,0,7,3 0,0,2,1,3,1 0,0,2,2,6,2 0,0,2,2,7,1 0,0,2,6,1,2 0,0,2,6,2,2 0,0,2,7,2,1 0,0,3,6,3,1 0,0,6,1,1,2 0,0,6,2,1,2 0,0,6,2,2,2 0,0,6,2,6,2 0,0,6,6,1,2 0,0,7,2,2,1
0,1,1,1,6,2 0,1,1,2,4,1 0,1,1,2,5,1 0,1,1,2,6,1 0,1,1,2,7,1 0,1,1,4,2,1 0,1,1,5,2,1 0,1,1,6,2,1 0,1,1,6,6,2
0,1,2,1,2,1 0,1,2,1,4,1 0,1,2,1,5,1 0,1,2,1,6,1 0,1,2,1,7,1 0,1,2,2,2,7 0,1,2,2,3,1 0,1,2,2,4,1 0,1,2,2,5,1 0,1,2,2,6,1 0,1,2,2,7,1 0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