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.
StaticNeighbourhood
struct StaticNeighbourhood(uint N)
Undocumented in source.

Templates

isAnyNeighbourhood
template isAnyNeighbourhood(T)

$(IS_ANY Neighbourhood)

isAnyStaticNeighbourhood
template isAnyStaticNeighbourhood(T)

$(IS_ANY StaticNeighbourhood)

isNeighbourhood
template isNeighbourhood(T, uint N)

Tests if something is a Neighbourhood.

isStaticNeighbourhood
template isStaticNeighbourhood(T, uint N)

Tests if something is a StaticNeighbourhood.

Meta