Documentation for 6376bf46af

This commit is contained in:
github-actions
2023-09-27 18:42:32 +00:00
parent d28eba1fef
commit b5b4d78981
5708 changed files with 52275 additions and 51112 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: data_structures::SegmentTree&lt; T &gt; Class Template Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -111,41 +111,41 @@ $(document).ready(function(){initNavTree('dd/d95/classdata__structures_1_1_segme
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a330724f79c5d1bdb745c29474ff3eac2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a330724f79c5d1bdb745c29474ff3eac2">SegmentTree</a> (int n)</td></tr>
<tr class="memitem:a330724f79c5d1bdb745c29474ff3eac2" id="r_a330724f79c5d1bdb745c29474ff3eac2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a330724f79c5d1bdb745c29474ff3eac2">SegmentTree</a> (int n)</td></tr>
<tr class="separator:a330724f79c5d1bdb745c29474ff3eac2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0e78179ab979ae2bc4304bdc181db17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#ad0e78179ab979ae2bc4304bdc181db17">update</a> (int pos, T val)</td></tr>
<tr class="memitem:ad0e78179ab979ae2bc4304bdc181db17" id="r_ad0e78179ab979ae2bc4304bdc181db17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#ad0e78179ab979ae2bc4304bdc181db17">update</a> (int pos, T val)</td></tr>
<tr class="memdesc:ad0e78179ab979ae2bc4304bdc181db17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates a value at a certain position. <br /></td></tr>
<tr class="separator:ad0e78179ab979ae2bc4304bdc181db17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c5331b509d9b55bedfadf979b30dd5b"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a1c5331b509d9b55bedfadf979b30dd5b">range_comb</a> (int l, int r)</td></tr>
<tr class="memitem:a1c5331b509d9b55bedfadf979b30dd5b" id="r_a1c5331b509d9b55bedfadf979b30dd5b"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a1c5331b509d9b55bedfadf979b30dd5b">range_comb</a> (int l, int r)</td></tr>
<tr class="memdesc:a1c5331b509d9b55bedfadf979b30dd5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns comb across all values between l and r. <br /></td></tr>
<tr class="separator:a1c5331b509d9b55bedfadf979b30dd5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a8d22286b7be3dcbb701ac5c7d9c79841"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a8d22286b7be3dcbb701ac5c7d9c79841">comb</a> (T x, T y)</td></tr>
<tr class="memitem:a8d22286b7be3dcbb701ac5c7d9c79841" id="r_a8d22286b7be3dcbb701ac5c7d9c79841"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a8d22286b7be3dcbb701ac5c7d9c79841">comb</a> (T x, T y)</td></tr>
<tr class="memdesc:a8d22286b7be3dcbb701ac5c7d9c79841"><td class="mdescLeft">&#160;</td><td class="mdescRight">Any associative function that combines x and y. <br /></td></tr>
<tr class="separator:a8d22286b7be3dcbb701ac5c7d9c79841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d3beccc936af2377c8eeb17067fd141"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a6d3beccc936af2377c8eeb17067fd141">mid</a> (int l, int r)</td></tr>
<tr class="memitem:a6d3beccc936af2377c8eeb17067fd141" id="r_a6d3beccc936af2377c8eeb17067fd141"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a6d3beccc936af2377c8eeb17067fd141">mid</a> (int l, int r)</td></tr>
<tr class="memdesc:a6d3beccc936af2377c8eeb17067fd141"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gives the midpoint between two integers. <br /></td></tr>
<tr class="separator:a6d3beccc936af2377c8eeb17067fd141"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a04f1832c5ce86def50c3021b2ab6b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a2a04f1832c5ce86def50c3021b2ab6b1">update</a> (int i, int l, int r, int pos, T val)</td></tr>
<tr class="memitem:a2a04f1832c5ce86def50c3021b2ab6b1" id="r_a2a04f1832c5ce86def50c3021b2ab6b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a2a04f1832c5ce86def50c3021b2ab6b1">update</a> (int i, int l, int r, int pos, T val)</td></tr>
<tr class="memdesc:a2a04f1832c5ce86def50c3021b2ab6b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper method for update method below. <br /></td></tr>
<tr class="separator:a2a04f1832c5ce86def50c3021b2ab6b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fecc48e8e3f6f5f6e728495a4282e52"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a8fecc48e8e3f6f5f6e728495a4282e52">range_comb</a> (int i, int l, int r, int tl, int tr)</td></tr>
<tr class="memitem:a8fecc48e8e3f6f5f6e728495a4282e52" id="r_a8fecc48e8e3f6f5f6e728495a4282e52"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html#a8fecc48e8e3f6f5f6e728495a4282e52">range_comb</a> (int i, int l, int r, int tl, int tr)</td></tr>
<tr class="memdesc:a8fecc48e8e3f6f5f6e728495a4282e52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper method for range_comb method below. <br /></td></tr>
<tr class="separator:a8fecc48e8e3f6f5f6e728495a4282e52"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a10ffa5fc03c66170f0bc2592b843baa3"><td class="memItemLeft" align="right" valign="top"><a id="a10ffa5fc03c66170f0bc2592b843baa3" name="a10ffa5fc03c66170f0bc2592b843baa3"></a>
<tr class="memitem:a10ffa5fc03c66170f0bc2592b843baa3" id="r_a10ffa5fc03c66170f0bc2592b843baa3"><td class="memItemLeft" align="right" valign="top"><a id="a10ffa5fc03c66170f0bc2592b843baa3" name="a10ffa5fc03c66170f0bc2592b843baa3"></a>
const T&#160;</td><td class="memItemRight" valign="bottom"><b>ID</b> = 0</td></tr>
<tr class="memdesc:a10ffa5fc03c66170f0bc2592b843baa3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Comb(ID, x) = x. <br /></td></tr>
<tr class="separator:a10ffa5fc03c66170f0bc2592b843baa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a735d072a603f3abb7c03818440575258"><td class="memItemLeft" align="right" valign="top"><a id="a735d072a603f3abb7c03818440575258" name="a735d072a603f3abb7c03818440575258"></a>
<tr class="memitem:a735d072a603f3abb7c03818440575258" id="r_a735d072a603f3abb7c03818440575258"><td class="memItemLeft" align="right" valign="top"><a id="a735d072a603f3abb7c03818440575258" name="a735d072a603f3abb7c03818440575258"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>t</b></td></tr>
<tr class="memdesc:a735d072a603f3abb7c03818440575258"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vector to represent the tree. <br /></td></tr>
<tr class="separator:a735d072a603f3abb7c03818440575258"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a167fd91b68048e49e97859a8947690f3"><td class="memItemLeft" align="right" valign="top"><a id="a167fd91b68048e49e97859a8947690f3" name="a167fd91b68048e49e97859a8947690f3"></a>
<tr class="memitem:a167fd91b68048e49e97859a8947690f3" id="r_a167fd91b68048e49e97859a8947690f3"><td class="memItemLeft" align="right" valign="top"><a id="a167fd91b68048e49e97859a8947690f3" name="a167fd91b68048e49e97859a8947690f3"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> = 0</td></tr>
<tr class="memdesc:a167fd91b68048e49e97859a8947690f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of elements available for querying in the tree. <br /></td></tr>
<tr class="separator:a167fd91b68048e49e97859a8947690f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -584,7 +584,7 @@ Here is the call graph for this function:</div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d5/d3c/namespacedata__structures.html">data_structures</a></li><li class="navelem"><a class="el" href="../../dd/d95/classdata__structures_1_1_segment_tree.html">SegmentTree</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>

View File

@@ -1,14 +1,14 @@
<map id="data_structures::SegmentTree::range_comb" name="data_structures::SegmentTree::range_comb">
<area shape="rect" id="Node000001" title="Returns comb across all values between l and r." alt="" coords="5,92,177,133"/>
<area shape="rect" id="Node000002" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a8fecc48e8e3f6f5f6e728495a4282e52" title="Helper method for range_comb method below." alt="" coords="225,92,396,133"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="177,110,210,110,210,115,177,115"/>
<area shape="poly" id="edge6_Node000002_Node000002" title=" " alt="" coords="269,92,267,82,274,73,288,67,310,65,335,68,349,74,346,79,333,73,310,71,289,73,277,77,272,83,274,91"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="177,110,209,110,209,115,177,115"/>
<area shape="poly" id="edge6_Node000002_Node000002" title=" " alt="" coords="269,92,267,82,274,73,288,67,310,65,334,68,348,74,346,79,333,73,310,71,289,73,277,77,272,83,274,91"/>
<area shape="rect" id="Node000003" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a8d22286b7be3dcbb701ac5c7d9c79841" title="Any associative function that combines x and y." alt="" coords="444,5,615,46"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="360,89,443,55,458,49,460,54,445,60,362,94"/>
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="494,70,566,96"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="396,98,478,87,479,92,396,104"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="396,98,478,87,478,92,396,104"/>
<area shape="rect" id="Node000005" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a6d3beccc936af2377c8eeb17067fd141" title="Gives the midpoint between two integers." alt="" coords="444,120,615,161"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="396,121,429,125,429,130,396,126"/>
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="396,121,429,125,428,130,396,126"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min.html#" title=" " alt="" coords="496,185,564,211"/>
<area shape="poly" id="edge5_Node000002_Node000006" title=" " alt="" coords="355,131,445,170,482,182,480,187,443,175,353,136"/>
<area shape="poly" id="edge5_Node000002_Node000006" title=" " alt="" coords="355,131,445,170,481,182,480,187,443,175,353,136"/>
</map>

View File

@@ -1,7 +1,7 @@
<?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 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: data_structures::SegmentTree::range_comb Pages: 1 -->
<svg width="466pt" height="162pt"
@@ -42,8 +42,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-73.62C136.66,-73.62 145.03,-73.62 153.3,-73.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.1,-77.13 163.1,-73.62 153.1,-70.13 153.1,-77.13"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-73.62C136.48,-73.62 144.65,-73.62 152.74,-73.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.58,-77.13 162.58,-73.63 152.58,-70.13 152.58,-77.13"/>
</a>
</g>
</g>
@@ -51,8 +51,8 @@
<g id="edge6_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge6_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M199.6,-89.36C193.65,-98.43 203.37,-106.88 228.75,-106.88 243.03,-106.88 252.35,-104.2 256.71,-100.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.29,-100.68 257.9,-90.36 253.34,-99.92 260.29,-100.68"/>
<path fill="none" stroke="#63b8ff" d="M199.6,-89.36C193.65,-98.43 203.37,-106.88 228.75,-106.88 242.63,-106.88 251.83,-104.35 256.34,-100.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="259.78,-101.25 257.69,-90.86 252.84,-100.28 259.78,-101.25"/>
</a>
</g>
</g>
@@ -70,8 +70,8 @@
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M266.88,-89.26C285.48,-97.02 308.37,-106.45 329,-114.62 332.65,-116.07 336.43,-117.55 340.24,-119.03"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="338.75,-122.59 349.34,-122.92 341.26,-116.06 338.75,-122.59"/>
<path fill="none" stroke="#63b8ff" d="M266.88,-89.26C285.48,-97.02 308.37,-106.45 329,-114.62 332.55,-116.03 336.21,-117.47 339.91,-118.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="338.33,-122.04 348.92,-122.37 340.85,-115.51 338.33,-122.04"/>
</a>
</g>
</g>
@@ -88,8 +88,8 @@
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M293.04,-82.19C314,-85.03 336.64,-88.1 354.99,-90.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="354.43,-94.17 364.81,-92.05 355.37,-87.24 354.43,-94.17"/>
<path fill="none" stroke="#63b8ff" d="M293.04,-82.19C313.8,-85 336.21,-88.04 354.47,-90.51"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="353.93,-93.97 364.31,-91.84 354.87,-87.03 353.93,-93.97"/>
</a>
</g>
</g>
@@ -107,8 +107,8 @@
<g id="edge4_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M293.04,-65.45C301.16,-64.4 309.53,-63.32 317.8,-62.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="318.13,-65.6 327.6,-60.85 317.23,-58.66 318.13,-65.6"/>
<path fill="none" stroke="#63b8ff" d="M293.04,-65.45C300.98,-64.42 309.15,-63.36 317.24,-62.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="317.63,-65.8 327.09,-61.05 316.73,-58.86 317.63,-65.8"/>
</a>
</g>
</g>
@@ -125,8 +125,8 @@
<g id="edge5_Node000002_Node000006" class="edge">
<title>Node2&#45;&gt;Node6</title>
<g id="a_edge5_Node000002_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M261.48,-57.93C280.74,-48.73 305.97,-37.26 329,-28.62 337.95,-25.27 347.78,-22.08 356.97,-19.31"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="357.75,-22.44 366.36,-16.27 355.78,-15.72 357.75,-22.44"/>
<path fill="none" stroke="#63b8ff" d="M261.48,-57.93C280.74,-48.73 305.97,-37.26 329,-28.62 337.76,-25.34 347.35,-22.22 356.37,-19.49"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="357.3,-22.87 365.91,-16.69 355.33,-16.15 357.3,-22.87"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -1,7 +1,7 @@
<?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 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: data_structures::SegmentTree::range_comb Pages: 1 -->
<svg width="466pt" height="162pt"
@@ -32,8 +32,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-73.62C136.66,-73.62 145.03,-73.62 153.3,-73.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.1,-77.13 163.1,-73.62 153.1,-70.13 153.1,-77.13"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-73.62C136.48,-73.62 144.65,-73.62 152.74,-73.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.58,-77.13 162.58,-73.63 152.58,-70.13 152.58,-77.13"/>
</a>
</g>
</g>
@@ -41,8 +41,8 @@
<g id="edge6_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge6_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M199.6,-89.36C193.65,-98.43 203.37,-106.88 228.75,-106.88 243.03,-106.88 252.35,-104.2 256.71,-100.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.29,-100.68 257.9,-90.36 253.34,-99.92 260.29,-100.68"/>
<path fill="none" stroke="#63b8ff" d="M199.6,-89.36C193.65,-98.43 203.37,-106.88 228.75,-106.88 242.63,-106.88 251.83,-104.35 256.34,-100.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="259.78,-101.25 257.69,-90.86 252.84,-100.28 259.78,-101.25"/>
</a>
</g>
</g>
@@ -60,8 +60,8 @@
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M266.88,-89.26C285.48,-97.02 308.37,-106.45 329,-114.62 332.65,-116.07 336.43,-117.55 340.24,-119.03"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="338.75,-122.59 349.34,-122.92 341.26,-116.06 338.75,-122.59"/>
<path fill="none" stroke="#63b8ff" d="M266.88,-89.26C285.48,-97.02 308.37,-106.45 329,-114.62 332.55,-116.03 336.21,-117.47 339.91,-118.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="338.33,-122.04 348.92,-122.37 340.85,-115.51 338.33,-122.04"/>
</a>
</g>
</g>
@@ -78,8 +78,8 @@
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M293.04,-82.19C314,-85.03 336.64,-88.1 354.99,-90.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="354.43,-94.17 364.81,-92.05 355.37,-87.24 354.43,-94.17"/>
<path fill="none" stroke="#63b8ff" d="M293.04,-82.19C313.8,-85 336.21,-88.04 354.47,-90.51"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="353.93,-93.97 364.31,-91.84 354.87,-87.03 353.93,-93.97"/>
</a>
</g>
</g>
@@ -97,8 +97,8 @@
<g id="edge4_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge4_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M293.04,-65.45C301.16,-64.4 309.53,-63.32 317.8,-62.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="318.13,-65.6 327.6,-60.85 317.23,-58.66 318.13,-65.6"/>
<path fill="none" stroke="#63b8ff" d="M293.04,-65.45C300.98,-64.42 309.15,-63.36 317.24,-62.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="317.63,-65.8 327.09,-61.05 316.73,-58.86 317.63,-65.8"/>
</a>
</g>
</g>
@@ -115,8 +115,8 @@
<g id="edge5_Node000002_Node000006" class="edge">
<title>Node2&#45;&gt;Node6</title>
<g id="a_edge5_Node000002_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M261.48,-57.93C280.74,-48.73 305.97,-37.26 329,-28.62 337.95,-25.27 347.78,-22.08 356.97,-19.31"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="357.75,-22.44 366.36,-16.27 355.78,-15.72 357.75,-22.44"/>
<path fill="none" stroke="#63b8ff" d="M261.48,-57.93C280.74,-48.73 305.97,-37.26 329,-28.62 337.76,-25.34 347.35,-22.22 356.37,-19.49"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="357.3,-22.87 365.91,-16.69 355.33,-16.15 357.3,-22.87"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@@ -1,8 +1,8 @@
<map id="data_structures::SegmentTree::update" name="data_structures::SegmentTree::update">
<area shape="rect" id="Node000001" title="Helper method for update method below." alt="" coords="5,39,177,79"/>
<area shape="poly" id="edge3_Node000001_Node000001" title=" " alt="" coords="50,39,47,29,54,20,69,14,91,12,115,15,129,21,127,26,114,20,91,17,70,19,57,24,53,30,55,37"/>
<area shape="poly" id="edge3_Node000001_Node000001" title=" " alt="" coords="50,39,47,29,54,20,69,14,91,12,115,14,129,21,127,26,113,20,91,17,70,19,57,24,53,30,55,37"/>
<area shape="rect" id="Node000002" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a8d22286b7be3dcbb701ac5c7d9c79841" title="Any associative function that combines x and y." alt="" coords="225,5,396,46"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="176,43,209,38,210,44,177,49"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="176,43,209,38,209,44,177,49"/>
<area shape="rect" id="Node000003" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a6d3beccc936af2377c8eeb17067fd141" title="Gives the midpoint between two integers." alt="" coords="225,71,396,111"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="177,69,210,74,209,79,176,74"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="177,69,209,74,209,79,176,74"/>
</map>

View File

@@ -1,7 +1,7 @@
<?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 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: data_structures::SegmentTree::update Pages: 1 -->
<svg width="301pt" height="88pt"
@@ -32,8 +32,8 @@
<g id="edge3_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge3_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M35.1,-54.99C29.15,-64.06 38.87,-72.5 64.25,-72.5 78.53,-72.5 87.85,-69.83 92.21,-65.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.79,-66.31 93.4,-55.99 88.84,-65.55 95.79,-66.31"/>
<path fill="none" stroke="#63b8ff" d="M35.1,-54.99C29.15,-64.06 38.87,-72.5 64.25,-72.5 78.13,-72.5 87.33,-69.97 91.84,-66.2"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.28,-66.87 93.19,-56.48 88.34,-65.91 95.28,-66.87"/>
</a>
</g>
</g>
@@ -51,8 +51,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-48.99C136.66,-50.24 145.03,-51.52 153.3,-52.8"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.68,-56.4 163.1,-54.46 153.74,-49.48 152.68,-56.4"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-48.99C136.48,-50.21 144.65,-51.47 152.74,-52.71"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.18,-56.17 162.6,-54.23 153.25,-49.25 152.18,-56.17"/>
</a>
</g>
</g>
@@ -70,8 +70,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-29.9C136.66,-28.7 145.03,-27.47 153.3,-26.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.71,-29.57 163.1,-24.65 152.69,-22.65 153.71,-29.57"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-29.9C136.48,-28.73 144.65,-27.52 152.74,-26.33"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.22,-29.8 162.6,-24.87 152.19,-22.87 153.22,-29.8"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -1,7 +1,7 @@
<?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 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: data_structures::SegmentTree::update Pages: 1 -->
<svg width="301pt" height="88pt"
@@ -22,8 +22,8 @@
<g id="edge3_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge3_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M35.1,-54.99C29.15,-64.06 38.87,-72.5 64.25,-72.5 78.53,-72.5 87.85,-69.83 92.21,-65.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.79,-66.31 93.4,-55.99 88.84,-65.55 95.79,-66.31"/>
<path fill="none" stroke="#63b8ff" d="M35.1,-54.99C29.15,-64.06 38.87,-72.5 64.25,-72.5 78.13,-72.5 87.33,-69.97 91.84,-66.2"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.28,-66.87 93.19,-56.48 88.34,-65.91 95.28,-66.87"/>
</a>
</g>
</g>
@@ -41,8 +41,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-48.99C136.66,-50.24 145.03,-51.52 153.3,-52.8"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.68,-56.4 163.1,-54.46 153.74,-49.48 152.68,-56.4"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-48.99C136.48,-50.21 144.65,-51.47 152.74,-52.71"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.18,-56.17 162.6,-54.23 153.25,-49.25 152.18,-56.17"/>
</a>
</g>
</g>
@@ -60,8 +60,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-29.9C136.66,-28.7 145.03,-27.47 153.3,-26.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.71,-29.57 163.1,-24.65 152.69,-22.65 153.71,-29.57"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-29.9C136.48,-28.73 144.65,-27.52 152.74,-26.33"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.22,-29.8 162.6,-24.87 152.19,-22.87 153.22,-29.8"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -1,12 +1,12 @@
<map id="data_structures::SegmentTree::range_comb" name="data_structures::SegmentTree::range_comb">
<area shape="rect" id="Node000001" title="Helper method for range_comb method below." alt="" coords="5,92,177,133"/>
<area shape="poly" id="edge5_Node000001_Node000001" title=" " alt="" coords="50,92,47,82,54,73,69,67,91,65,115,68,129,74,127,79,114,73,91,71,70,73,57,77,53,83,55,91"/>
<area shape="poly" id="edge5_Node000001_Node000001" title=" " alt="" coords="50,92,47,82,54,73,69,67,91,65,115,68,129,74,127,79,113,73,91,71,70,73,57,77,53,83,55,91"/>
<area shape="rect" id="Node000002" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a8d22286b7be3dcbb701ac5c7d9c79841" title="Any associative function that combines x and y." alt="" coords="225,5,396,46"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="141,89,224,55,239,49,241,54,226,60,143,94"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="141,89,224,55,238,49,240,54,226,60,143,94"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="274,70,347,96"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="176,98,259,87,260,92,177,104"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="176,98,258,87,259,92,177,104"/>
<area shape="rect" id="Node000004" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a6d3beccc936af2377c8eeb17067fd141" title="Gives the midpoint between two integers." alt="" coords="225,120,396,161"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="177,121,210,125,209,130,176,126"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="177,121,209,125,209,130,176,126"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min.html#" title=" " alt="" coords="276,185,345,211"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="136,131,226,170,263,182,261,187,224,175,134,136"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="136,131,226,170,262,182,260,187,224,175,134,136"/>
</map>

View File

@@ -1,7 +1,7 @@
<?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 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: data_structures::SegmentTree::range_comb Pages: 1 -->
<svg width="301pt" height="162pt"
@@ -32,8 +32,8 @@
<g id="edge5_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge5_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M35.1,-89.36C29.15,-98.43 38.87,-106.88 64.25,-106.88 78.53,-106.88 87.85,-104.2 92.21,-100.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.79,-100.68 93.4,-90.36 88.84,-99.92 95.79,-100.68"/>
<path fill="none" stroke="#63b8ff" d="M35.1,-89.36C29.15,-98.43 38.87,-106.88 64.25,-106.88 78.13,-106.88 87.33,-104.35 91.84,-100.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.28,-101.25 93.19,-90.86 88.34,-100.28 95.28,-101.25"/>
</a>
</g>
</g>
@@ -51,8 +51,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M102.38,-89.26C120.98,-97.02 143.87,-106.45 164.5,-114.62 168.15,-116.07 171.93,-117.55 175.74,-119.03"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="174.25,-122.59 184.84,-122.92 176.76,-116.06 174.25,-122.59"/>
<path fill="none" stroke="#63b8ff" d="M102.38,-89.26C120.98,-97.02 143.87,-106.45 164.5,-114.62 168.05,-116.03 171.71,-117.47 175.41,-118.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="173.83,-122.04 184.42,-122.37 176.35,-115.51 173.83,-122.04"/>
</a>
</g>
</g>
@@ -69,8 +69,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-82.19C149.5,-85.03 172.14,-88.1 190.49,-90.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="189.93,-94.17 200.31,-92.05 190.87,-87.24 189.93,-94.17"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-82.19C149.3,-85 171.71,-88.04 189.97,-90.51"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="189.43,-93.97 199.81,-91.84 190.37,-87.03 189.43,-93.97"/>
</a>
</g>
</g>
@@ -88,8 +88,8 @@
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-65.45C136.66,-64.4 145.03,-63.32 153.3,-62.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.63,-65.6 163.1,-60.85 152.73,-58.66 153.63,-65.6"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-65.45C136.48,-64.42 144.65,-63.36 152.74,-62.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.13,-65.8 162.59,-61.05 152.23,-58.86 153.13,-65.8"/>
</a>
</g>
</g>
@@ -106,8 +106,8 @@
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M96.98,-57.93C116.24,-48.73 141.47,-37.26 164.5,-28.62 173.45,-25.27 183.28,-22.08 192.47,-19.31"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="193.25,-22.44 201.86,-16.27 191.28,-15.72 193.25,-22.44"/>
<path fill="none" stroke="#63b8ff" d="M96.98,-57.93C116.24,-48.73 141.47,-37.26 164.5,-28.62 173.26,-25.34 182.85,-22.22 191.87,-19.49"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="192.8,-22.87 201.41,-16.69 190.83,-16.15 192.8,-22.87"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@@ -1,7 +1,7 @@
<?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 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: data_structures::SegmentTree::range_comb Pages: 1 -->
<svg width="301pt" height="162pt"
@@ -22,8 +22,8 @@
<g id="edge5_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge5_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M35.1,-89.36C29.15,-98.43 38.87,-106.88 64.25,-106.88 78.53,-106.88 87.85,-104.2 92.21,-100.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.79,-100.68 93.4,-90.36 88.84,-99.92 95.79,-100.68"/>
<path fill="none" stroke="#63b8ff" d="M35.1,-89.36C29.15,-98.43 38.87,-106.88 64.25,-106.88 78.13,-106.88 87.33,-104.35 91.84,-100.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="95.28,-101.25 93.19,-90.86 88.34,-100.28 95.28,-101.25"/>
</a>
</g>
</g>
@@ -41,8 +41,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M102.38,-89.26C120.98,-97.02 143.87,-106.45 164.5,-114.62 168.15,-116.07 171.93,-117.55 175.74,-119.03"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="174.25,-122.59 184.84,-122.92 176.76,-116.06 174.25,-122.59"/>
<path fill="none" stroke="#63b8ff" d="M102.38,-89.26C120.98,-97.02 143.87,-106.45 164.5,-114.62 168.05,-116.03 171.71,-117.47 175.41,-118.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="173.83,-122.04 184.42,-122.37 176.35,-115.51 173.83,-122.04"/>
</a>
</g>
</g>
@@ -59,8 +59,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-82.19C149.5,-85.03 172.14,-88.1 190.49,-90.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="189.93,-94.17 200.31,-92.05 190.87,-87.24 189.93,-94.17"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-82.19C149.3,-85 171.71,-88.04 189.97,-90.51"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="189.43,-93.97 199.81,-91.84 190.37,-87.03 189.43,-93.97"/>
</a>
</g>
</g>
@@ -78,8 +78,8 @@
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-65.45C136.66,-64.4 145.03,-63.32 153.3,-62.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.63,-65.6 163.1,-60.85 152.73,-58.66 153.63,-65.6"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-65.45C136.48,-64.42 144.65,-63.36 152.74,-62.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.13,-65.8 162.59,-61.05 152.23,-58.86 153.13,-65.8"/>
</a>
</g>
</g>
@@ -96,8 +96,8 @@
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M96.98,-57.93C116.24,-48.73 141.47,-37.26 164.5,-28.62 173.45,-25.27 183.28,-22.08 192.47,-19.31"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="193.25,-22.44 201.86,-16.27 191.28,-15.72 193.25,-22.44"/>
<path fill="none" stroke="#63b8ff" d="M96.98,-57.93C116.24,-48.73 141.47,-37.26 164.5,-28.62 173.26,-25.34 182.85,-22.22 191.87,-19.49"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="192.8,-22.87 201.41,-16.69 190.83,-16.15 192.8,-22.87"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -1,10 +1,10 @@
<map id="data_structures::SegmentTree::update" name="data_structures::SegmentTree::update">
<area shape="rect" id="Node000001" title="Updates a value at a certain position." alt="" coords="5,39,177,79"/>
<area shape="rect" id="Node000002" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a2a04f1832c5ce86def50c3021b2ab6b1" title="Helper method for update method below." alt="" coords="225,39,396,79"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="177,56,210,56,210,62,177,62"/>
<area shape="poly" id="edge4_Node000002_Node000002" title=" " alt="" coords="269,39,267,29,274,20,288,14,310,12,335,15,349,21,346,26,333,20,310,17,289,19,277,24,272,30,274,37"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="177,56,209,56,209,62,177,62"/>
<area shape="poly" id="edge4_Node000002_Node000002" title=" " alt="" coords="269,39,267,29,274,20,288,14,310,12,334,14,348,21,346,26,333,20,310,17,289,19,277,24,272,30,274,37"/>
<area shape="rect" id="Node000003" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a8d22286b7be3dcbb701ac5c7d9c79841" title="Any associative function that combines x and y." alt="" coords="444,5,615,46"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="396,43,429,38,429,44,396,49"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="396,43,428,38,429,44,396,49"/>
<area shape="rect" id="Node000004" href="$dd/d95/classdata__structures_1_1_segment_tree.html#a6d3beccc936af2377c8eeb17067fd141" title="Gives the midpoint between two integers." alt="" coords="444,71,615,111"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="396,69,429,74,429,79,396,74"/>
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="396,69,429,74,428,79,396,74"/>
</map>

View File

@@ -1,7 +1,7 @@
<?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 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: data_structures::SegmentTree::update Pages: 1 -->
<svg width="466pt" height="88pt"
@@ -42,8 +42,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-39.25C136.66,-39.25 145.03,-39.25 153.3,-39.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.1,-42.75 163.1,-39.25 153.1,-35.75 153.1,-42.75"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-39.25C136.48,-39.25 144.65,-39.25 152.74,-39.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.58,-42.75 162.58,-39.25 152.58,-35.75 152.58,-42.75"/>
</a>
</g>
</g>
@@ -51,8 +51,8 @@
<g id="edge4_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge4_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M199.6,-54.99C193.65,-64.06 203.37,-72.5 228.75,-72.5 243.03,-72.5 252.35,-69.83 256.71,-65.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.29,-66.31 257.9,-55.99 253.34,-65.55 260.29,-66.31"/>
<path fill="none" stroke="#63b8ff" d="M199.6,-54.99C193.65,-64.06 203.37,-72.5 228.75,-72.5 242.63,-72.5 251.83,-69.97 256.34,-66.2"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="259.78,-66.87 257.69,-56.48 252.84,-65.91 259.78,-66.87"/>
</a>
</g>
</g>
@@ -70,8 +70,8 @@
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M293.04,-48.99C301.16,-50.24 309.53,-51.52 317.8,-52.8"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="317.18,-56.4 327.6,-54.46 318.24,-49.48 317.18,-56.4"/>
<path fill="none" stroke="#63b8ff" d="M293.04,-48.99C300.98,-50.21 309.15,-51.47 317.24,-52.71"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="316.68,-56.17 327.1,-54.23 317.75,-49.25 316.68,-56.17"/>
</a>
</g>
</g>
@@ -89,8 +89,8 @@
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M293.04,-29.9C301.16,-28.7 309.53,-27.47 317.8,-26.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="318.21,-29.57 327.6,-24.65 317.19,-22.65 318.21,-29.57"/>
<path fill="none" stroke="#63b8ff" d="M293.04,-29.9C300.98,-28.73 309.15,-27.52 317.24,-26.33"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="317.72,-29.8 327.1,-24.87 316.69,-22.87 317.72,-29.8"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -1,7 +1,7 @@
<?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 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: data_structures::SegmentTree::update Pages: 1 -->
<svg width="466pt" height="88pt"
@@ -32,8 +32,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M128.54,-39.25C136.66,-39.25 145.03,-39.25 153.3,-39.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.1,-42.75 163.1,-39.25 153.1,-35.75 153.1,-42.75"/>
<path fill="none" stroke="#63b8ff" d="M128.54,-39.25C136.48,-39.25 144.65,-39.25 152.74,-39.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.58,-42.75 162.58,-39.25 152.58,-35.75 152.58,-42.75"/>
</a>
</g>
</g>
@@ -41,8 +41,8 @@
<g id="edge4_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge4_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M199.6,-54.99C193.65,-64.06 203.37,-72.5 228.75,-72.5 243.03,-72.5 252.35,-69.83 256.71,-65.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.29,-66.31 257.9,-55.99 253.34,-65.55 260.29,-66.31"/>
<path fill="none" stroke="#63b8ff" d="M199.6,-54.99C193.65,-64.06 203.37,-72.5 228.75,-72.5 242.63,-72.5 251.83,-69.97 256.34,-66.2"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="259.78,-66.87 257.69,-56.48 252.84,-65.91 259.78,-66.87"/>
</a>
</g>
</g>
@@ -60,8 +60,8 @@
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M293.04,-48.99C301.16,-50.24 309.53,-51.52 317.8,-52.8"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="317.18,-56.4 327.6,-54.46 318.24,-49.48 317.18,-56.4"/>
<path fill="none" stroke="#63b8ff" d="M293.04,-48.99C300.98,-50.21 309.15,-51.47 317.24,-52.71"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="316.68,-56.17 327.1,-54.23 317.75,-49.25 316.68,-56.17"/>
</a>
</g>
</g>
@@ -79,8 +79,8 @@
<g id="edge3_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M293.04,-29.9C301.16,-28.7 309.53,-27.47 317.8,-26.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="318.21,-29.57 327.6,-24.65 317.19,-22.65 318.21,-29.57"/>
<path fill="none" stroke="#63b8ff" d="M293.04,-29.9C300.98,-28.73 309.15,-27.52 317.24,-26.33"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="317.72,-29.8 327.1,-24.87 316.69,-22.87 317.72,-29.8"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB