How Do I Use Gsearch
Posted: April 20th, 2017, 10:51 am
I FINALLY found a program that works on repl.it(an online compiler), but how do I use Gsearch. I can't even find out how to specify the ruleset. Can someone please help me.
Huh, yes, the "rule/options" part of the instructions isn't all that clear, is it?Zacinfinity wrote:I FINALLY found a program that works on repl.it(an online compiler), but how do I use Gsearch. I can't even find out how to specify the ruleset.
Based on a quick look at the parsing code,gsearch source code wrote:usage: gsearch rule/options
available options
/lNN searches for NN*NN patterns (default DEFAULT_PATSIZE = 6 in source)
/gNN limits gap between small phases to NN generations (default MAX_GENERATIONS = 50000 in source)
/kNN kills still lifes separated from main body by NN positions
/eNN kills small active regions separated from main body by NN empty columns
/rNN repeatedly searches with randomly chosen rules using NN as seed
/oNN outputs oscillators of period at least NN
/pNN outputs photons of period at least NN
/xNN prevents random testing of rules with survival when there are NN neighbors
/zNN prevents random testing of rules with births when there are NN neighbors
Looks like you're going to have trouble with the default definition of GLIDERDB, also. There's a copy atdvgrn wrote:EDIT: Yikes -- PARAM_IS_BITMASK for the first four switches, so gsearch is expecting 'B', 'S', 'X' and 'Z' values to be in binary. Have adjusted my notes above, but maybe still not correctly...
What's the error message, if any? Look up the error message in the source code, and eventually (with enough pain and suffering) you'll be able to figure out what's going wrong.Zacinfinity wrote:Thanks, but it still doesn't work.
There is an update to glider.db in the Other CA forum, though it hasn't been updated recently.dvgrn wrote:Is there a more recent copy of glider.db anywhere else?