returns true if T is a Lattice of dimensionN, Storing cells of type Ct.
A Lattice is the most basic form of a $(LATTICE).
It must define the functions: Ct get(string)(Coord), Ct get(Coord), void set(string)(Coord, Ct), void set(Coord, Ct), Ct[] getNeighbours(string)(Coord), Ct[] getNeighbours(Coord), void iterate(string)(void delegate(Coord position)), void iterate(void delegate(Coord position)), void nextGen(string)(), void nextGen(),
Where Coord is an alias for a typetuple containing int's, one int for each
dimension (in a 3 dimensional LatticeCoord would be: (int, int, int)).
Tests if something is a Lattice.
returns true if T is a Lattice of dimension N, Storing cells of type Ct.
A Lattice is the most basic form of a $(LATTICE). It must define the functions:
Ct get(string)(Coord), Ct get(Coord),
void set(string)(Coord, Ct), void set(Coord, Ct),
Ct[] getNeighbours(string)(Coord), Ct[] getNeighbours(Coord),
void iterate(string)(void delegate(Coord position)), void iterate(void delegate(Coord position)),
void nextGen(string)(), void nextGen(),
Where Coord is an alias for a typetuple containing int's, one int for each dimension (in a 3 dimensional Lattice Coord would be: (int, int, int)).