This module offers methods and user interaction widgets/windows for handling the table-like step functions of elementary cellular automatons.
- A bit of functionality to generate a rule number from arbitrary step functions by running them on a pre-generated target and finding out how it behaved.
Figure out from the given neighbourhood and the permutation what position in the old array each entry in the new array is supposed to come from to realize the permutations.
|The neighbourhood object to use.|
|A dictionary that says what cell to take the value from for any given cell.|
Apply the permute_func, which takes in the offset and returns a new offset to the neighbourhood offsets and return a permutation dictionary that maps each name of a cell to the name of the cell its data is supposed to come from.