|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Half-open integer interval [begin, end).
More...
#include <ca-tiling.H>
Public Member Functions | |
| constexpr ca_size_t | size () const noexcept |
| constexpr bool | empty () const noexcept |
Public Attributes | |
| ca_size_t | begin = 0 |
| Inclusive lower bound. | |
| ca_size_t | end = 0 |
| Exclusive upper bound. | |
Half-open integer interval [begin, end).
Used everywhere a "slice along an axis" must be passed around. An empty range (begin == end) is the canonical representation for a no-op partition (e.g., when the number of partitions exceeds the number of cells along the split axis).
Definition at line 89 of file ca-tiling.H.
Definition at line 103 of file ca-tiling.H.
Referenced by Aleph::CA::Tile2D_Range::empty().
Definition at line 97 of file ca-tiling.H.
Referenced by Aleph::CA::Tile2D_Range::size().
| ca_size_t Aleph::CA::Range1D::begin = 0 |
Inclusive lower bound.
Definition at line 92 of file ca-tiling.H.
| ca_size_t Aleph::CA::Range1D::end = 0 |
Exclusive upper bound.
Definition at line 94 of file ca-tiling.H.