Lattice

Example of a Lattice

Members

Aliases

CellStateType
alias CellStateType = Ct
Undocumented in source.
Coord
alias Coord = Repeat!(N, int)
Undocumented in source.
NeighbourhoodType
alias NeighbourhoodType = neighbourhood
Undocumented in source.

Functions

get
Ct get(Coord )
Undocumented in source. Be warned that the author may not have intended to support it.
get
Ct get(Coord )
Undocumented in source. Be warned that the author may not have intended to support it.
getNeighbours
Ct[] getNeighbours(Coord )
Undocumented in source. Be warned that the author may not have intended to support it.
getNeighbours
Ct[] getNeighbours(Coord )
Undocumented in source. Be warned that the author may not have intended to support it.
iterate
void iterate(Ct delegate(Ct, Ct[], Coord) )
Undocumented in source. Be warned that the author may not have intended to support it.
iterate
void iterate(Ct delegate(Ct, Ct[], Coord) )
Undocumented in source. Be warned that the author may not have intended to support it.
nextGen
void nextGen()
Undocumented in source. Be warned that the author may not have intended to support it.
nextGen
void nextGen()
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(Coord , Ct )
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(Coord , Ct )
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

Dimension
enum uint Dimension;
Undocumented in source.

Examples

static assert(isLattice!(Lattice!(int, 2), int, 2));
static assert(isAnyLattice!(Lattice!(char, 3)));

Meta