caLib_abstract.rule

This module defines the notion of a $(RULE). A $(RULE) is the part of a cellular automaton responsible for changing the ca's cells state. Each generation the $(RULE) is applied to the cellular automaton in order to get it's cells new state.

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

$(CALIB_ABSTRACT_DESC)

Members

Enums

isReversibleRule
eponymoustemplate isReversibleRule(T)

Tests if something is a ReversibleRule, defined as being a Rule with the additional primitive applyRuleReverse

isRule
eponymoustemplate isRule(T)

Tests if something is a Rule, defined as having a primitive applyRule

Structs

ReversibleRule
struct ReversibleRule

Example of a ReversibleRule

Rule
struct Rule

Example of a Rule

Meta