How to use Bellman

For scripts to aid with computation or simulation in cellular automata.
Post Reply
User avatar
Entity Valkyrie 2
Posts: 1758
Joined: February 26th, 2019, 7:13 pm
Contact:

How to use Bellman

Post by Entity Valkyrie 2 » October 4th, 2019, 3:08 am

How do I use Bellman to replace the top block in this reaction?

Code: Select all

x = 20, y = 30, rule = B3/S23
7b2o$7b2o3$8bo$2o6bo$b2o5b3o$2o8bo5b2obo$o15bob2o2$9b2o$9b2o16$8b3o$8b
o$7b2o!
Bx222 IS MY WORST ENEMY.

Please click here for my own pages.

My recent rules:
StateInvestigator 3.0
B3-kq4ej5i6ckn7e/S2-i34q6a7
B3-kq4ej5y6c/S2-i34q5e
Move the Box

User avatar
Goldtiger997
Posts: 764
Joined: June 21st, 2016, 8:00 am

Re: How to use Bellman

Post by Goldtiger997 » October 4th, 2019, 6:08 am

Entity Valkyrie 2 wrote:
October 4th, 2019, 3:08 am
How do I use Bellman to replace the top block in this reaction?
I recall that you used to have trouble running Bellman, so I'm not sure if you are asking how to use Bellman to replace the block in the pattern you posted or if you are also asking how to run Bellman at all.

Assuming that you have Bellman compiled and working, here's an input file that worked for me which I saved as foo.in in the inputs folder.

Code: Select all

#S first-encounter 14
#S last-encounter 32
#S repair-interval 14
#S stable-interval 8
#S max-live 500
#S max-active 8
#P 0 0

................................
................................
................................
................................
..............??????????????....
..............??????????????....
..............??????????????....
..............??????????????....
..............??????????????....
..............??????????????....
.................???????????....
...................?????????....
................................
................................
.........@@.....................
..........@@....................
.........@@..............**.*...
.........@...............*.**...
................................
..................@@............
..................@@............
................................
................................
................................ 
To explain the input file, "@" symbols are cells that are part of an active pattern, "." cells are dead, and "?" cells are unknown cells that we wish to find a catalyst within. I don't properly understand a lot of the commands at the top (I may have used some improperly) so I won't attempt to explain them. You can find them explained in the documentation linked on LifeWiki.

Anyway, using cygwin I ran "time ./bellman inputs/foo.in". I got three similar catalysts, but unfortunately none of them act in an equivalent way to the block in your pattern meaning that the lower block is not restored. Here's the first result:

Code: Select all

x = 20, y = 18, rule = B3/S23
5bo$4bobo$4bobo$3b2ob2o$5bo3b2o$5bob2obo$6bobobob2obo$9b2obob2o4$2o$b
2o$2o14b2obo$o15bob2o2$9b2o$9b2o!
----------
On the other hand, if the problem you are currently having is not being able to compile/run Bellman, then you should refer to dvgrn's well-explained post from last year and probably also the documentation. If you still have problems remember to post lots of specific details.

Edit: AbhpzTa found a working catalyst. I was able to refind the catalyst with Bellman using this input (I had to make some more cells unknown and increase max-active to 10). It took about 40 minutes on my computer to find:

Code: Select all

#S first-encounter 14
#S last-encounter 32
#S repair-interval 14
#S stable-interval 8
#S max-live 500
#S max-active 10
#P 0 0

................................
................................
................................
...........?????????????????....
...........?????????????????....
...........?????????????????....
...........?????????????????....
...........?????????????????....
...........?????????????????....
...........?????????????????....
................????????????....
..................??????????....
................................
................................
.........@@.....................
..........@@....................
.........@@..............**.*...
.........@...............*.**...
................................
..................@@............
..................@@............
................................
................................
................................

User avatar
Entity Valkyrie 2
Posts: 1758
Joined: February 26th, 2019, 7:13 pm
Contact:

Re: How to use Bellman

Post by Entity Valkyrie 2 » October 5th, 2019, 7:24 pm

Oh, I was looking for a CC reflector with this reaction

Code: Select all

x = 11, y = 10, rule = B3/S23
9b2o$9bo$7bobo$obo4b2o$b2o$bo3$b2o$b2o!

Code: Select all

...........**....
...........*.....
.........*.*.....
..@.@....**......
...@@............
...@.............
.................
.................
...@@............
...@@............
.................
?????????????????
?????????????????
?????????????????
?????????????????
Bx222 IS MY WORST ENEMY.

Please click here for my own pages.

My recent rules:
StateInvestigator 3.0
B3-kq4ej5i6ckn7e/S2-i34q6a7
B3-kq4ej5y6c/S2-i34q5e
Move the Box

Post Reply