ca-lib2 v2.3.5 (2017-03-29T13:36:46Z)
Dub
Repo
BinaryRule
caLib
rules
BinaryRule
Undocumented in source.
struct
BinaryRule (
Lt
)
if
(
isAnyLattice
!
Lt
&&
is
(
Lt
.
CellStateType
:
ubyte
)
&&
isAnyStaticNeighbourhood
!(
Lt
.
NeighbourhoodType
)
&&
Lt
.
NeighbourhoodType
.
NeighboursAmount
+ 1 < uint.
max
) {
enum
uint
configurations
;
BigInt
maxRuleNumber
;
this
(Lt* lattice, BigInt ruleNumber);
this
(Lt* lattice, ubyte[] ruleSet);
void
applyRule
();
BigInt
getRuleNumber
();
ubyte
[]
getRuleSet
();
static
BigInt
calculateMaxRuleNumber
();
}
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
Source
See Implementation
caLib
rules
BinaryRule
functions
create_BinaryRule
structs
BinaryRule