Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::CA::ObserverLike Concept Reference

Concept satisfied by any cellular-automaton observer. More...

#include <ca-observer.H>

Concept definition

template<typename O, typename Lattice>
concept Aleph::CA::ObserverLike = requires(O &o, std::size_t s, const Lattice &f) {
o.on_step_begin(s, f);
o.on_step_end(s, f);
}
Concept satisfied by any cellular-automaton observer.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Definition Blossom.H:466

Detailed Description

Concept satisfied by any cellular-automaton observer.

An observer responds to two engine events with the signatures on_step_begin(std::size_t step, const Lattice& frame) and on_step_end(std::size_t step, const Lattice& frame). The first is fired with the index of the step about to run; the second with the index that just completed.

Template Parameters
Oobserver type.
Latticelattice type the observer is going to inspect.

Definition at line 108 of file ca-observer.H.