Template Class Treap
Defined in File Treap.h
Nested Relationships
Nested Types
Class Documentation
-
template<std::totally_ordered K, class V>
class Treap a DICTIONARY on a treap
Public Types
-
using size_type = std::size_t
-
using difference_type = std::ptrdiff_t
-
using reference = value_type
-
using const_reference = value_type
-
using const_iterator = PathIterator<Treap, Shape>
-
using iterator = const_iterator
Public Functions
-
explicit Treap(std::uint64_t seed = 1)
-
std::size_t size(void) const
-
int height(void) const
the height, -1 if empty
-
inline const_iterator begin(void) const
-
inline const_iterator end(void) const
-
inline const_iterator cbegin(void) const
-
inline const_iterator cend(void) const
-
struct Shape
the shape of the tree, for PathIterator
-
using size_type = std::size_t