From 331c52213d8d572d950724946c1aa661ec988184 Mon Sep 17 00:00:00 2001 From: Aniruthan R <67466816+aneee004@users.noreply.github.com> Date: Fri, 14 Aug 2020 01:21:37 +0530 Subject: [PATCH] Update heavy_light_decomposition.cpp --- range_queries/heavy_light_decomposition.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/range_queries/heavy_light_decomposition.cpp b/range_queries/heavy_light_decomposition.cpp index 5f3f2f828..41c0fd56c 100644 --- a/range_queries/heavy_light_decomposition.cpp +++ b/range_queries/heavy_light_decomposition.cpp @@ -55,6 +55,7 @@ /** * A Basic Tree, which supports binary lifting + * @template, the data type of the values stored in the tree nodes */ template class Tree { @@ -226,6 +227,7 @@ public: /** * Segment Tree, to store heavy chains + * @template, the data type of the values stored in the tree nodes */ template class SG { @@ -300,6 +302,7 @@ private: /** * The Heavy-Light Decomposition class + * @template, the data type of the values stored in the tree nodes */ template class HLD : public Tree, public SG {