mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-22 21:01:50 +08:00
Documentation for 416a3bc169
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<map id="range_queries::heavy_light_decomposition::HLD< X >" name="range_queries::heavy_light_decomposition::HLD< X >">
|
||||
<area shape="rect" id="node1" title="The Heavy-Light Decomposition class." alt="" coords="713,127,860,183"/>
|
||||
<area shape="rect" id="node2" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting." alt="" coords="517,127,664,183"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="233,115,392,157"/>
|
||||
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="5,53,128,80"/>
|
||||
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="243,181,382,222"/>
|
||||
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list.html" title=" " alt="" coords="15,188,118,215"/>
|
||||
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector.html" title=" " alt="" coords="254,249,371,276"/>
|
||||
<area shape="rect" id="node8" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html" title="Segment Tree, to store heavy chains." alt="" coords="517,212,664,268"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
e6f815d7d7a7f773e6b2f78e9a402cdf
|
||||
@@ -0,0 +1,252 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
|
||||
-->
|
||||
<!-- Title: range_queries::heavy_light_decomposition::HLD< X > Pages: 1 -->
|
||||
<!--zoomable 211 -->
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
var edges = document.getElementsByTagName('g');
|
||||
if (edges && edges.length) {
|
||||
for (var i=0;i<edges.length;i++) {
|
||||
if (edges[i].id.substr(0,4)=='edge') {
|
||||
edges[i].setAttribute('class','edge');
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></script>
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="dirArrow">
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
||||
</use>
|
||||
</g>
|
||||
</defs>
|
||||
|
||||
<script type="text/javascript">
|
||||
var viewWidth = 649;
|
||||
var viewHeight = 211;
|
||||
var sectionId = 'dynsection-1';
|
||||
</script>
|
||||
<script xlink:href="../../svgpan.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<title>range_queries::heavy_light_decomposition::HLD< X ></title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-207 645,-207 645,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The Heavy-Light Decomposition class.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="531,-70.5 531,-111.5 641,-111.5 641,-70.5 531,-70.5"/>
|
||||
<text text-anchor="start" x="539" y="-99.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="539" y="-88.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="586" y="-77.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD< X ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" target="_top" xlink:title="A Basic Tree, which supports binary lifting.">
|
||||
<polygon fill="white" stroke="black" points="384,-70.5 384,-111.5 494,-111.5 494,-70.5 384,-70.5"/>
|
||||
<text text-anchor="start" x="392" y="-99.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-88.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="439" y="-77.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree< X ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M504.57,-91C513.32,-91 522.23,-91 530.77,-91"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="504.41,-87.5 494.41,-91 504.41,-94.5 504.41,-87.5"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="171,-90 171,-120 290,-120 290,-90 171,-90"/>
|
||||
<text text-anchor="start" x="179" y="-108" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< std::vector</text>
|
||||
<text text-anchor="middle" x="230.5" y="-97" font-family="Helvetica,sans-Serif" font-size="10.00">< int > ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node2 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node3->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M300.34,-100.33C327.52,-98.49 358.29,-96.4 383.83,-94.67"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="299.86,-96.86 290.12,-101.03 300.34,-103.84 299.86,-96.86"/>
|
||||
<text text-anchor="middle" x="337" y="-102" font-family="Helvetica,sans-Serif" font-size="10.00"> t_par</text>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="0,-147.5 0,-166.5 92,-166.5 92,-147.5 0,-147.5"/>
|
||||
<text text-anchor="middle" x="46" y="-154.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< int ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node1 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node4->Node1</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M102.13,-165.65C123.57,-168.61 148.37,-171.55 171,-173 223.78,-176.39 237.52,-179.58 290,-173 382.84,-161.35 404.18,-147.22 494,-121 505.98,-117.5 518.75,-113.48 530.82,-109.54"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="102.61,-162.19 92.21,-164.25 101.62,-169.12 102.61,-162.19"/>
|
||||
<text text-anchor="middle" x="337" y="-195" font-family="Helvetica,sans-Serif" font-size="10.00"> h_parent</text>
|
||||
<text text-anchor="middle" x="337" y="-184" font-family="Helvetica,sans-Serif" font-size="10.00">h_heavychlid</text>
|
||||
<text text-anchor="middle" x="337" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">h_label</text>
|
||||
</g>
|
||||
<!-- Node4->Node2 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M102.38,-153.72C166.65,-148.96 275.41,-137.94 366,-114 371.84,-112.46 377.9,-110.73 383.92,-108.93"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="101.79,-150.26 92.07,-154.46 102.29,-157.24 101.79,-150.26"/>
|
||||
<text text-anchor="middle" x="230.5" y="-161" font-family="Helvetica,sans-Serif" font-size="10.00"> t_depth</text>
|
||||
<text text-anchor="middle" x="230.5" y="-150" font-family="Helvetica,sans-Serif" font-size="10.00">t_size</text>
|
||||
</g>
|
||||
<!-- Node4->Node3 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node4->Node3</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M77.83,-143.66C87.96,-139.57 99.35,-135.29 110,-132 129.61,-125.93 151.41,-120.61 170.97,-116.32"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="76.48,-140.43 68.57,-147.48 79.15,-146.9 76.48,-140.43"/>
|
||||
<text text-anchor="middle" x="131.5" y="-135" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="178.5,-41 178.5,-71 282.5,-71 282.5,-41 178.5,-41"/>
|
||||
<text text-anchor="start" x="186.5" y="-59" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< std::list</text>
|
||||
<text text-anchor="middle" x="230.5" y="-48" font-family="Helvetica,sans-Serif" font-size="10.00">< int > ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node2 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node5->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M292.56,-66.35C321.55,-71.26 355.9,-77.08 383.93,-81.84"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="292.99,-62.87 282.54,-64.65 291.82,-69.77 292.99,-62.87"/>
|
||||
<text text-anchor="middle" x="337" y="-82" font-family="Helvetica,sans-Serif" font-size="10.00"> t_adj</text>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="7.5,-46.5 7.5,-65.5 84.5,-65.5 84.5,-46.5 7.5,-46.5"/>
|
||||
<text text-anchor="middle" x="46" y="-53.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list< int ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node5 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node6->Node5</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M95.03,-56C120.64,-56 152.16,-56 178.24,-56"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="94.81,-52.5 84.81,-56 94.81,-59.5 94.81,-52.5"/>
|
||||
<text text-anchor="middle" x="131.5" y="-59" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="186.5,-0.5 186.5,-19.5 274.5,-19.5 274.5,-0.5 186.5,-0.5"/>
|
||||
<text text-anchor="middle" x="230.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< X ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node2 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node7->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M274.13,-22.57C300.86,-30.87 335.85,-42.49 366,-55 376.97,-59.55 388.6,-65.05 399.23,-70.36"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="274.9,-19.15 264.31,-19.56 272.84,-25.84 274.9,-19.15"/>
|
||||
<text text-anchor="middle" x="337" y="-58" font-family="Helvetica,sans-Serif" font-size="10.00"> t_val</text>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html" target="_top" xlink:title="Segment Tree, to store heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="384,-6.5 384,-47.5 494,-47.5 494,-6.5 384,-6.5"/>
|
||||
<text text-anchor="start" x="392" y="-35.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-24.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="439" y="-13.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG< X ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node8 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node7->Node8</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M284.98,-4.96C309.74,-3.61 339.47,-3.38 366,-7 371.78,-7.79 377.76,-8.92 383.68,-10.24"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="284.47,-1.48 274.7,-5.6 284.9,-8.47 284.47,-1.48"/>
|
||||
<text text-anchor="middle" x="337" y="-10" font-family="Helvetica,sans-Serif" font-size="10.00"> s_tree</text>
|
||||
</g>
|
||||
<!-- Node8->Node1 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node8->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M496.18,-51.8C510.15,-57.96 524.96,-64.5 538.41,-70.44"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="497.24,-48.44 486.68,-47.6 494.41,-54.84 497.24,-48.44"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__coll__graph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,164 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.44.1 (20200629.0846)
|
||||
-->
|
||||
<!-- Title: range_queries::heavy_light_decomposition::HLD< X > Pages: 1 -->
|
||||
<svg width="649pt" height="211pt"
|
||||
viewBox="0.00 0.00 649.00 211.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 207)">
|
||||
<title>range_queries::heavy_light_decomposition::HLD< X ></title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-207 645,-207 645,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="The Heavy-Light Decomposition class.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="531,-70.5 531,-111.5 641,-111.5 641,-70.5 531,-70.5"/>
|
||||
<text text-anchor="start" x="539" y="-99.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="539" y="-88.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="586" y="-77.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD< X ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" target="_top" xlink:title="A Basic Tree, which supports binary lifting.">
|
||||
<polygon fill="white" stroke="black" points="384,-70.5 384,-111.5 494,-111.5 494,-70.5 384,-70.5"/>
|
||||
<text text-anchor="start" x="392" y="-99.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-88.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="439" y="-77.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree< X ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M504.57,-91C513.32,-91 522.23,-91 530.77,-91"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="504.41,-87.5 494.41,-91 504.41,-94.5 504.41,-87.5"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="171,-90 171,-120 290,-120 290,-90 171,-90"/>
|
||||
<text text-anchor="start" x="179" y="-108" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< std::vector</text>
|
||||
<text text-anchor="middle" x="230.5" y="-97" font-family="Helvetica,sans-Serif" font-size="10.00">< int > ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node2 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node3->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M300.34,-100.33C327.52,-98.49 358.29,-96.4 383.83,-94.67"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="299.86,-96.86 290.12,-101.03 300.34,-103.84 299.86,-96.86"/>
|
||||
<text text-anchor="middle" x="337" y="-102" font-family="Helvetica,sans-Serif" font-size="10.00"> t_par</text>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="0,-147.5 0,-166.5 92,-166.5 92,-147.5 0,-147.5"/>
|
||||
<text text-anchor="middle" x="46" y="-154.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< int ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node1 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node4->Node1</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M102.13,-165.65C123.57,-168.61 148.37,-171.55 171,-173 223.78,-176.39 237.52,-179.58 290,-173 382.84,-161.35 404.18,-147.22 494,-121 505.98,-117.5 518.75,-113.48 530.82,-109.54"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="102.61,-162.19 92.21,-164.25 101.62,-169.12 102.61,-162.19"/>
|
||||
<text text-anchor="middle" x="337" y="-195" font-family="Helvetica,sans-Serif" font-size="10.00"> h_parent</text>
|
||||
<text text-anchor="middle" x="337" y="-184" font-family="Helvetica,sans-Serif" font-size="10.00">h_heavychlid</text>
|
||||
<text text-anchor="middle" x="337" y="-173" font-family="Helvetica,sans-Serif" font-size="10.00">h_label</text>
|
||||
</g>
|
||||
<!-- Node4->Node2 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M102.38,-153.72C166.65,-148.96 275.41,-137.94 366,-114 371.84,-112.46 377.9,-110.73 383.92,-108.93"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="101.79,-150.26 92.07,-154.46 102.29,-157.24 101.79,-150.26"/>
|
||||
<text text-anchor="middle" x="230.5" y="-161" font-family="Helvetica,sans-Serif" font-size="10.00"> t_depth</text>
|
||||
<text text-anchor="middle" x="230.5" y="-150" font-family="Helvetica,sans-Serif" font-size="10.00">t_size</text>
|
||||
</g>
|
||||
<!-- Node4->Node3 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node4->Node3</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M77.83,-143.66C87.96,-139.57 99.35,-135.29 110,-132 129.61,-125.93 151.41,-120.61 170.97,-116.32"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="76.48,-140.43 68.57,-147.48 79.15,-146.9 76.48,-140.43"/>
|
||||
<text text-anchor="middle" x="131.5" y="-135" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="178.5,-41 178.5,-71 282.5,-71 282.5,-41 178.5,-41"/>
|
||||
<text text-anchor="start" x="186.5" y="-59" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< std::list</text>
|
||||
<text text-anchor="middle" x="230.5" y="-48" font-family="Helvetica,sans-Serif" font-size="10.00">< int > ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node2 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node5->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M292.56,-66.35C321.55,-71.26 355.9,-77.08 383.93,-81.84"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="292.99,-62.87 282.54,-64.65 291.82,-69.77 292.99,-62.87"/>
|
||||
<text text-anchor="middle" x="337" y="-82" font-family="Helvetica,sans-Serif" font-size="10.00"> t_adj</text>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="7.5,-46.5 7.5,-65.5 84.5,-65.5 84.5,-46.5 7.5,-46.5"/>
|
||||
<text text-anchor="middle" x="46" y="-53.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list< int ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node5 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node6->Node5</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M95.03,-56C120.64,-56 152.16,-56 178.24,-56"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="94.81,-52.5 84.81,-56 94.81,-59.5 94.81,-52.5"/>
|
||||
<text text-anchor="middle" x="131.5" y="-59" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="186.5,-0.5 186.5,-19.5 274.5,-19.5 274.5,-0.5 186.5,-0.5"/>
|
||||
<text text-anchor="middle" x="230.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< X ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node2 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node7->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M274.13,-22.57C300.86,-30.87 335.85,-42.49 366,-55 376.97,-59.55 388.6,-65.05 399.23,-70.36"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="274.9,-19.15 264.31,-19.56 272.84,-25.84 274.9,-19.15"/>
|
||||
<text text-anchor="middle" x="337" y="-58" font-family="Helvetica,sans-Serif" font-size="10.00"> t_val</text>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html" target="_top" xlink:title="Segment Tree, to store heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="384,-6.5 384,-47.5 494,-47.5 494,-6.5 384,-6.5"/>
|
||||
<text text-anchor="start" x="392" y="-35.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-24.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="439" y="-13.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG< X ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node8 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node7->Node8</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M284.98,-4.96C309.74,-3.61 339.47,-3.38 366,-7 371.78,-7.79 377.76,-8.92 383.68,-10.24"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="284.47,-1.48 274.7,-5.6 284.9,-8.47 284.47,-1.48"/>
|
||||
<text text-anchor="middle" x="337" y="-10" font-family="Helvetica,sans-Serif" font-size="10.00"> s_tree</text>
|
||||
</g>
|
||||
<!-- Node8->Node1 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node8->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M496.18,-51.8C510.15,-57.96 524.96,-64.5 538.41,-70.44"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="497.24,-48.44 486.68,-47.6 494.41,-54.84 497.24,-48.44"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.6 KiB |
@@ -185,7 +185,7 @@ Functions</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>get_input function is to receive input from standard IO </p><dl class="todo"><dt><b><a class="el" href="../../dd/da0/todo.html#_todo000013">Todo:</a></b></dt><dd>@christianbender Get input from STDIO or write input to memory as done above. </dd></dl>
|
||||
<p>get_input function is to receive input from standard IO </p><dl class="todo"><dt><b><a class="el" href="../../dd/da0/todo.html#_todo000014">Todo:</a></b></dt><dd>@christianbender Get input from STDIO or write input to memory as done above. </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {}</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user