caLib_abstract.neighbourhood

This module defines the notion of a $(NEIGHBOURHOOD). A $(NEIGHBOURHOOD) defines what cells in the lattice that are "neighbours". Most ca $(RULE)s change the state of a cell depending on the cells neighbours.

It provides templates for testing whether a given object is a $(NEIGHBOURHOOD), and what kind of $(NEIGHBOURHOOD) it is.

$(CALIB_ABSTRACT_DESC)

Members

Structs

BlockNeighbourhood
struct BlockNeighbourhood(uint N)
Undocumented in source.
Neighbourhood
struct Neighbourhood(uint N)
Undocumented in source.
ShiftingNeighbourhood
struct ShiftingNeighbourhood(uint N)
Undocumented in source.
StaticNeighbourhood
struct StaticNeighbourhood(uint N)
Undocumented in source.

Templates

isAnyNeighbourhood
template isAnyNeighbourhood(T)

$(IS_ANY Neighbourhood)

isAnyShiftingNeighbourhood
template isAnyShiftingNeighbourhood(T)

$(IS_ANY ShiftingNeighbourhood)

isAnyStaticNeighbourhood
template isAnyStaticNeighbourhood(T)

$(IS_ANY StaticNeighbourhood)

isBlockNeighbourhood
template isBlockNeighbourhood(T, uint N)
Undocumented in source.
isNeighbourhood
template isNeighbourhood(T, uint N)

Tests if something is a Neighbourhood.

isShiftingNeighbourhood
template isShiftingNeighbourhood(T, uint N)

Tests if something is a ShiftingNeighbourhood.

isStaticNeighbourhood
template isStaticNeighbourhood(T, uint N)

Tests if something is a StaticNeighbourhood.

Meta