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

Pure local transition function (Phase 0–7 signature). More...

#include <tpl_ca_concepts.H>

Concept definition

template<typename R, typename L>
and requires(const R &r, const typename L::state_type &s, Neighbor_View<typename L::state_type> v) {
{ r(s, v) } -> std::convertible_to<typename L::state_type>;
}
Pure local transition function (Phase 0–7 signature).
Storage + topology that carries the cell values.
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
@ R
Recovered (and immune).
and
Check uniqueness with explicit hash + equality functors.
gsl_rng * r

Detailed Description

Pure local transition function (Phase 0–7 signature).

A BasicRuleLike rule consumes only (state, neighbours) and is therefore deterministic from the engine's point of view. Every rule shipped before Phase 8 satisfies this concept.

Template Parameters
Rcandidate rule type.
Llattice type whose state_type is consumed/produced.

Definition at line 166 of file tpl_ca_concepts.H.