ca-lib2 v2.0.2 (2017-03-16T06:40:07Z)
Dub
Repo
TotalisticRule.applyRule
caLib
rules
TotalisticRule
TotalisticRule
Undocumented in source. Be warned that the author may not have intended to support it.
struct
TotalisticRule
(Lt)
void
applyRule
(
)
if
(
isAnyLattice
!
Lt
&&
Lt.Dimension
== 2
&&
is
(
Lt.CellStateType
:
ubyte
)
&&
isStaticNeighbourhood
!(
Lt.NeighbourhoodType
, 2)
&&
Lt.NeighbourhoodType.NeighboursAmount
+ 1 < uint.
max
)
Meta
Source
See Implementation
caLib
rules
TotalisticRule
TotalisticRule
constructors
this
functions
applyRule
getRuleNumber
getRuleSet
variables
configurations
maxRuleNumber