|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Phase-7 illustration: every observer running together. More...
#include <cstdint>#include <cstdio>#include <random>#include <ca-engine-utils.H>#include <ca-metrics.H>#include <ca-observer.H>#include <ca-traits.H>#include <tpl_ca_engine.H>#include <tpl_ca_lattice.H>#include <tpl_ca_neighborhood.H>#include <tpl_ca_rule.H>#include <tpl_ca_storage.H>Go to the source code of this file.
Functions | |
| int | main () |
Phase-7 illustration: every observer running together.
Drives a 64x64 toroidal Game of Life seeded with a random pattern for 200 steps while a Composite_Observer collects density, activity, entropy, frame snapshots and short-cycle detection.
Then re-runs a small blinker for 8 steps to showcase the same pipeline producing the canonical Phase-7 numbers (activity = 4, cycle length = 2).
Definition in file ca_observability_example.cc.
| int main | ( | void | ) |
Definition at line 80 of file ca_observability_example.cc.
References Aleph::CA::attach_observer(), Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::make_game_of_life_rule().