|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Connectivity pattern around a coordinate. More...
#include <tpl_ca_concepts.H>
Connectivity pattern around a coordinate.
A Neighborhood describes how to enumerate the cells that take part in the local transition for a given coordinate. The engine relies on the following interface:
coord_type — coordinate type accepted by enumeration.rank_v — compile-time dimensionality.size_v — compile-time number of offsets.radius() — chebyshev or graph radius (≥ 1).size() — number of neighbors enumerated at runtime.for_each_offset(center, f) — invokes f(offset) for each neighbour offset around center.Concrete neighborhoods (Moore, Von Neumann, custom offsets, ...) will be added in Phase 2; this concept fixes the contract relied on by the synchronous engine and neighbour gathering helpers.
| H | candidate neighborhood type. |
Definition at line 144 of file tpl_ca_concepts.H.