BinaryRule

Undocumented in source.
struct BinaryRule (
Lt
) if (
isAnyLattice!Lt &&
is(Lt.CellStateType : ubyte)
&&
isAnyStaticNeighbourhood!(Lt.NeighbourhoodType)
&&
Lt.NeighbourhoodType.NeighboursAmount + 1 < uint.max
) {}

Constructors

this
this(Lt* lattice, BigInt ruleNumber)
Undocumented in source.
this
this(Lt* lattice, ubyte[] ruleSet)
Undocumented in source.

Members

Functions

applyRule
void applyRule()
Undocumented in source. Be warned that the author may not have intended to support it.
getRuleNumber
BigInt getRuleNumber()
Undocumented in source. Be warned that the author may not have intended to support it.
getRuleSet
ubyte[] getRuleSet()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

calculateMaxRuleNumber
BigInt calculateMaxRuleNumber()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

configurations
enum uint configurations;
Undocumented in source.
maxRuleNumber
BigInt maxRuleNumber;
Undocumented in source.

Meta