|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Classes | |
| struct | is_constant_boundary |
True iff B is a ConstantBoundary<T, V>. More... | |
| struct | is_constant_boundary< ConstantBoundary< T, V > > |
Functions | |
| ca_size_t | magnitude (const ca_index_t c) noexcept |
| ca_size_t | wrap_into_range (ca_index_t c, const ca_size_t n) noexcept |
Wrap a signed coordinate into [0, n) with positive modulo. | |
| ca_size_t | reflect_into_range (const ca_index_t c, const ca_size_t n) noexcept |
Reflect a signed coordinate into [0, n) (no-repeat triangle wave). | |
Variables | |
| template<typename B > | |
| constexpr bool | is_constant_boundary_v = is_constant_boundary<B>::value |
|
inlinenoexcept |
Definition at line 75 of file tpl_ca_lattice.H.
Referenced by reflect_into_range(), and wrap_into_range().
|
inlinenoexcept |
Reflect a signed coordinate into [0, n) (no-repeat triangle wave).
Maps -1 → 0, -2 → 1, n → n-1, n+1 → n-2, etc.
Definition at line 98 of file tpl_ca_lattice.H.
References Aleph::blossom_maximum_cardinality_matching(), magnitude(), and r.
Referenced by TEST().
|
inlinenoexcept |
Wrap a signed coordinate into [0, n) with positive modulo.
Definition at line 83 of file tpl_ca_lattice.H.
References Aleph::blossom_maximum_cardinality_matching(), magnitude(), and r.
Referenced by TEST().
|
inlineconstexpr |
Definition at line 134 of file tpl_ca_lattice.H.