We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d4618 commit 9155c79Copy full SHA for 9155c79
weilycoder/ds/segment_tree.hpp
@@ -12,6 +12,11 @@
12
#include <vector>
13
14
namespace weilycoder {
15
+/**
16
+ * @brief Segment Tree Base Class that uses heap indexing for child nodes
17
+ * @tparam _Monoid The monoid defining the operation and identity
18
+ * @tparam _ptr_t The pointer type used for indexing nodes (default: size_t)
19
+ */
20
template <typename _Monoid, typename _ptr_t = size_t> struct SegmentTreeHeapSon {
21
protected:
22
using T = typename _Monoid::value_type;
0 commit comments