# Tag Info

You seem to be looking to enumerate (and/or randomly sample from) the set of isotropic two-state two-dimensional cellular automata on the Moore neighborhood. The general way to this is simply to find all the equivalence classes of the $2^{3\times3}$ possible neighborhoods, where two neighborhoods are considered equivalent if one can be transformed into the ...
I won't go into the details of your specific case but try to answer the general problem. In the unrestricted case there is a mapping from each of the $n$ (=512) input states to one of 2 output states and you want to restrict the function as follows: Create a partitioning of the initial $n$ input states into subsets. Your adapted function maps each of these ...