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

Detect whether the scheme exposes apply_with_origin(engine, rule, origin) (Margolus). More...

#include <tpl_ca_async_engine.H>

Concept definition

template<typename Scheme, typename Engine, typename Rule>
concept Aleph::CA::ca_async_engine_detail::HasApplyWithOrigin = requires(const Scheme &s, Engine &e, Rule &r, ca_index_t o) { s.apply_with_origin(e, r, o); }
Detect whether the scheme exposes apply_with_origin(engine, rule, origin) (Margolus).
std::ptrdiff_t ca_index_t
Signed coordinate component used by lattices and neighborhoods.
Definition ca-traits.H:60
Gsl_Compatible_Rng r

Detailed Description

Detect whether the scheme exposes apply_with_origin(engine, rule, origin) (Margolus).

When present the engine can drive step_back() by re-applying the active partition with the same parity that produced the most recent forward step.

Definition at line 94 of file tpl_ca_async_engine.H.