Template Class SPlusTree
Defined in File StaticSearch.h
Nested Relationships
Nested Types
Class Documentation
-
template<class T, class Less = std::less<T>, std::size_t Bytes = 64>
class SPlusTree the static B+-tree of Slotin on a sorted array, by the order less()
Public Functions
-
SPlusTree(void) = default
-
explicit SPlusTree(const std::vector<T> &A, Less less = Less())
the tree on the sorted items of A
- Pre:
A is sorted (an audit)
-
std::size_t lowerBound(const T &v) const
the first place of an item not smaller than v, size() if none
-
std::size_t size(void) const
-
bool empty(void) const
-
int height(void) const
the levels, the leaves included
-
SPlusTree(void) = default