|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Functions | |
| template<typename State > | |
| constexpr State | invert (const State &s) noexcept |
| Toggle a cell value between its zero and a non-zero counterpart. | |
| template<typename State > | |
| constexpr std::size_t | popcount (const Block_2x2< State > &b) noexcept |
| Population count of a 2×2 block: number of non-zero cells. | |
|
inlineconstexprnoexcept |
Toggle a cell value between its zero and a non-zero counterpart.
Works for bool, integral types and small enums.
Definition at line 99 of file tpl_ca_block_rule.H.
References Aleph::blossom_maximum_cardinality_matching().