class Topology: """2D Moore neighborhood, wrapped to a 3-torus.""" dimensions = 2 lattice = core.OrthogonalLattice() neighborhood = core.MooreNeighborhood() border = core.TorusBorder()
class Topology: """ Mandatory class for all ``CellularAutomaton`` instances. All class variables below are also mandatory. Here, we declare the topology as a 2-dimensional orthogonal lattice with Moore neighborhood, wrapped to a 3-torus. """ dimensions = 2 lattice = core.OrthogonalLattice() neighborhood = core.MooreNeighborhood() border = core.TorusBorder()
class Topology: """Most common topology.""" dimensions = 2 lattice = core.OrthogonalLattice() neighborhood = core.MooreNeighborhood() border = core.TorusBorder()
class Topology: """Standard Moore neighbourhood with torus topology.""" dimensions = 2 lattice = core.OrthogonalLattice() neighborhood = core.MooreNeighborhood() border = core.TorusBorder()