Documentation for 8b1eab204b
@@ -1,3 +1,4 @@
|
||||
<!-- HTML header for doxygen 1.12.0-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
@@ -5,10 +6,15 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: data_structures/binaryheap.cpp File Reference</title>
|
||||
<title>TheAlgorithms/C++: data_structures/binaryheap.cpp File Reference</title>
|
||||
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
|
||||
<script type="text/javascript">
|
||||
DoxygenAwesomeDarkModeToggle.init()
|
||||
</script>
|
||||
<script type="text/javascript" src="../../clipboard.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
@@ -18,14 +24,24 @@
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
<script type="text/javascript">
|
||||
window.MathJax = {
|
||||
options: {
|
||||
ignoreHtmlClass: 'tex2jax_ignore',
|
||||
processHtmlClass: 'tex2jax_process'
|
||||
},
|
||||
loader: {
|
||||
load: ['[tex]/ams']
|
||||
},
|
||||
tex: {
|
||||
macros: {},
|
||||
packages: ['base','configmacros','ams']
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
@@ -33,10 +49,11 @@ MathJax.Hub.Config({
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Algorithms_in_C++<span id="projectnumber"> 1.0.0</span>
|
||||
<div id="projectname">TheAlgorithms/C++<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
<div id="projectbrief">All the algorithms implemented in C++</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -121,7 +138,9 @@ Include dependency graph for binaryheap.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/dd1/binaryheap_8cpp__incl.svg" width="242" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
</div>
|
||||
<p><a href="../../de/dc3/binaryheap_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d05/class_min_heap.html">MinHeap</a></td></tr>
|
||||
@@ -134,6 +153,8 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>A C++ program to demonstrate common Binary Heap Operations. </p>
|
||||
|
||||
<p class="definition">Definition in file <a class="el" href="../../de/dc3/binaryheap_8cpp_source.html">binaryheap.cpp</a>.</p>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">◆ </a></span>main()</h2>
|
||||
@@ -149,6 +170,8 @@ Functions</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../de/dc3/binaryheap_8cpp_source.html#l00128">128</a> of file <a class="el" href="../../de/dc3/binaryheap_8cpp_source.html">binaryheap.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 128</span> {</div>
|
||||
<div class="line"><span class="lineno"> 129</span> <a class="code hl_class" href="../../d2/d05/class_min_heap.html">MinHeap</a> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>(11);</div>
|
||||
<div class="line"><span class="lineno"> 130</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(3);</div>
|
||||
@@ -158,15 +181,14 @@ Functions</h2></td></tr>
|
||||
<div class="line"><span class="lineno"> 134</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(5);</div>
|
||||
<div class="line"><span class="lineno"> 135</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(4);</div>
|
||||
<div class="line"><span class="lineno"> 136</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(45);</div>
|
||||
<div class="line"><span class="lineno"> 137</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.extractMin() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 138</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.getMin() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 137</span> std::cout << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.extractMin() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 138</span> std::cout << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.getMin() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><span class="lineno"> 139</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.decreaseKey(2, 1);</div>
|
||||
<div class="line"><span class="lineno"> 140</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.getMin();</div>
|
||||
<div class="line"><span class="lineno"> 140</span> std::cout << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.getMin();</div>
|
||||
<div class="line"><span class="lineno"> 141</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 142</span>}</div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html"><div class="ttname"><a href="../../d2/d05/class_min_heap.html">MinHeap</a></div><div class="ttdef"><b>Definition</b> binaryheap.cpp:10</div></div>
|
||||
<div class="ttc" id="ahash__search_8cpp_html_a566eaf0ffafd50bc61e644561fd27001"><div class="ttname"><a href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a></div><div class="ttdeci">int h(int key)</div><div class="ttdef"><b>Definition</b> hash_search.cpp:45</div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html"><div class="ttname"><a href="../../d2/d05/class_min_heap.html">MinHeap</a></div><div class="ttdef"><b>Definition</b> <a href="../../de/dc3/binaryheap_8cpp_source.html#l00010">binaryheap.cpp:10</a></div></div>
|
||||
<div class="ttc" id="ahash__search_8cpp_html_a566eaf0ffafd50bc61e644561fd27001"><div class="ttname"><a href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a></div><div class="ttdeci">int h(int key)</div><div class="ttdef"><b>Definition</b> <a href="../../d1/df3/hash__search_8cpp_source.html#l00045">hash_search.cpp:45</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
284
de/dc3/binaryheap_8cpp_source.html
Normal file
@@ -0,0 +1,284 @@
|
||||
<!-- HTML header for doxygen 1.12.0-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<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.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>TheAlgorithms/C++: data_structures/binaryheap.cpp Source File</title>
|
||||
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
|
||||
<script type="text/javascript">
|
||||
DoxygenAwesomeDarkModeToggle.init()
|
||||
</script>
|
||||
<script type="text/javascript" src="../../clipboard.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.MathJax = {
|
||||
options: {
|
||||
ignoreHtmlClass: 'tex2jax_ignore',
|
||||
processHtmlClass: 'tex2jax_process'
|
||||
},
|
||||
loader: {
|
||||
load: ['[tex]/ams']
|
||||
},
|
||||
tex: {
|
||||
macros: {},
|
||||
packages: ['base','configmacros','ams']
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
|
||||
<td id="projectalign">
|
||||
<div id="projectname">TheAlgorithms/C++<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">All the algorithms implemented in C++</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('de/dc3/binaryheap_8cpp_source.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">binaryheap.cpp</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="../../de/dc3/binaryheap_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <climits></span></div>
|
||||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <iostream></span></div>
|
||||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include <utility></span></div>
|
||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
|
||||
<div class="foldopen" id="foldopen00010" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html"> 10</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d2/d05/class_min_heap.html">MinHeap</a> {</div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e"> 11</a></span> <span class="keywordtype">int</span> *<a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>; </div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#a88b4aa3e66392a3eabbf2517a9a79a02"> 12</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a88b4aa3e66392a3eabbf2517a9a79a02">capacity</a>; </div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913"> 13</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a>; </div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">public</span>:</div>
|
||||
<div class="foldopen" id="foldopen00019" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#a078cb888e642bb1f95dd0e03f0a35820"> 19</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#a078cb888e642bb1f95dd0e03f0a35820">MinHeap</a>(<span class="keywordtype">int</span> cap) {</div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a> = 0;</div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a88b4aa3e66392a3eabbf2517a9a79a02">capacity</a> = cap;</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a> = <span class="keyword">new</span> <span class="keywordtype">int</span>[cap];</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aaef438c1056492cb62c4a4d9035b5cad">MinHeapify</a>(<span class="keywordtype">int</span>);</div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keywordtype">int</span> parent(<span class="keywordtype">int</span> i) { <span class="keywordflow">return</span> (i - 1) / 2; }</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#aa8c6c141e3de664819686aa637e1afca"> 31</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aa8c6c141e3de664819686aa637e1afca">left</a>(<span class="keywordtype">int</span> i) { <span class="keywordflow">return</span> (2 * i + 1); }</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#ac760b85cf90265b8d674b942a43fb70e"> 34</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#ac760b85cf90265b8d674b942a43fb70e">right</a>(<span class="keywordtype">int</span> i) { <span class="keywordflow">return</span> (2 * i + 2); }</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#a4014f1edaed0bd7db0c0d2ca53228980">extractMin</a>();</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aa7f726cc6327955d22871592227432f5">decreaseKey</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> new_val);</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#a336ac71f0d857269fe9a98058a3cd130"> 43</a></span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#a336ac71f0d857269fe9a98058a3cd130">getMin</a>() { <span class="keywordflow">return</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[0]; }</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#a37ac126eabb0c3ce04047172abccca29">deleteKey</a>(<span class="keywordtype">int</span> i);</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aef78f3384f5a0ae880ad0883d2d44b82">insertKey</a>(<span class="keywordtype">int</span> k);</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_class" href="../../d2/d05/class_min_heap.html">~MinHeap</a>() { <span class="keyword">delete</span>[] <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>; }</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment">// Inserts a new key 'k'</span></div>
|
||||
<div class="foldopen" id="foldopen00055" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#aef78f3384f5a0ae880ad0883d2d44b82"> 55</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aef78f3384f5a0ae880ad0883d2d44b82">MinHeap::insertKey</a>(<span class="keywordtype">int</span> k) {</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a> == <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a88b4aa3e66392a3eabbf2517a9a79a02">capacity</a>) {</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> std::cout << <span class="stringliteral">"\nOverflow: Could not insertKey\n"</span>;</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> }</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="comment">// First insert the new key at the end</span></div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a>++;</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordtype">int</span> i = <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a> - 1;</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[i] = k;</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="comment">// Fix the min heap property if it is violated</span></div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordflow">while</span> (i != 0 && <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[parent(i)] > <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[i]) {</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> std::swap(<a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[i], <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[parent(i)]);</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> i = parent(i);</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> }</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
|
||||
<div class="foldopen" id="foldopen00076" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#aa7f726cc6327955d22871592227432f5"> 76</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aa7f726cc6327955d22871592227432f5">MinHeap::decreaseKey</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> new_val) {</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[i] = new_val;</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keywordflow">while</span> (i != 0 && <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[parent(i)] > <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[i]) {</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> std::swap(<a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[i], <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[parent(i)]);</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> i = parent(i);</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> }</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="comment">// Method to remove minimum element (or root) from min heap</span></div>
|
||||
<div class="foldopen" id="foldopen00085" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#a4014f1edaed0bd7db0c0d2ca53228980"> 85</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#a4014f1edaed0bd7db0c0d2ca53228980">MinHeap::extractMin</a>() {</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a> <= 0)</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> INT_MAX;</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a> == 1) {</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a>--;</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[0];</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> }</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="comment">// Store the minimum value, and remove it from heap</span></div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordtype">int</span> root = <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[0];</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[0] = <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[<a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a> - 1];</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a>--;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aaef438c1056492cb62c4a4d9035b5cad">MinHeapify</a>(0);</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">return</span> root;</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
|
||||
<div class="foldopen" id="foldopen00105" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#a37ac126eabb0c3ce04047172abccca29"> 105</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#a37ac126eabb0c3ce04047172abccca29">MinHeap::deleteKey</a>(<span class="keywordtype">int</span> i) {</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aa7f726cc6327955d22871592227432f5">decreaseKey</a>(i, INT_MIN);</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#a4014f1edaed0bd7db0c0d2ca53228980">extractMin</a>();</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
|
||||
<div class="foldopen" id="foldopen00113" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="../../d2/d05/class_min_heap.html#aaef438c1056492cb62c4a4d9035b5cad"> 113</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aaef438c1056492cb62c4a4d9035b5cad">MinHeap::MinHeapify</a>(<span class="keywordtype">int</span> i) {</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keywordtype">int</span> l = <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aa8c6c141e3de664819686aa637e1afca">left</a>(i);</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordtype">int</span> r = <a class="code hl_function" href="../../d2/d05/class_min_heap.html#ac760b85cf90265b8d674b942a43fb70e">right</a>(i);</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordtype">int</span> smallest = i;</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">if</span> (l < <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a> && <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[l] < <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[i])</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> smallest = l;</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordflow">if</span> (r < <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a> && <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[r] < <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[smallest])</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> smallest = r;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">if</span> (smallest != i) {</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> std::swap(<a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[i], <a class="code hl_variable" href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">harr</a>[smallest]);</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_function" href="../../d2/d05/class_min_heap.html#aaef438c1056492cb62c4a4d9035b5cad">MinHeapify</a>(smallest);</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> }</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span><span class="comment">// Driver program to test above functions</span></div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span><span class="keywordtype">int</span> <a class="code hl_function" href="../../dd/d1e/generate__parentheses_8cpp.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main</a>() {</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <a class="code hl_class" href="../../d2/d05/class_min_heap.html">MinHeap</a> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>(11);</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(3);</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(2);</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.deleteKey(1);</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(15);</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(5);</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(4);</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.insertKey(45);</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> std::cout << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.extractMin() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> std::cout << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.getMin() << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.decreaseKey(2, 1);</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> std::cout << <a class="code hl_function" href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a>.getMin();</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span>}</div>
|
||||
<div class="ttc" id="aclass_min_heap_html"><div class="ttname"><a href="../../d2/d05/class_min_heap.html">MinHeap</a></div><div class="ttdef"><b>Definition</b> <a href="#l00010">binaryheap.cpp:10</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_a078cb888e642bb1f95dd0e03f0a35820"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#a078cb888e642bb1f95dd0e03f0a35820">MinHeap::MinHeap</a></div><div class="ttdeci">MinHeap(int cap)</div><div class="ttdef"><b>Definition</b> <a href="#l00019">binaryheap.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_a336ac71f0d857269fe9a98058a3cd130"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#a336ac71f0d857269fe9a98058a3cd130">MinHeap::getMin</a></div><div class="ttdeci">int getMin()</div><div class="ttdef"><b>Definition</b> <a href="#l00043">binaryheap.cpp:43</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_a34a93a87967308eb516328c0aca3c48e"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#a34a93a87967308eb516328c0aca3c48e">MinHeap::harr</a></div><div class="ttdeci">int * harr</div><div class="ttdoc">pointer to array of elements in heap</div><div class="ttdef"><b>Definition</b> <a href="#l00011">binaryheap.cpp:11</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_a37ac126eabb0c3ce04047172abccca29"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#a37ac126eabb0c3ce04047172abccca29">MinHeap::deleteKey</a></div><div class="ttdeci">void deleteKey(int i)</div><div class="ttdef"><b>Definition</b> <a href="#l00105">binaryheap.cpp:105</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_a4014f1edaed0bd7db0c0d2ca53228980"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#a4014f1edaed0bd7db0c0d2ca53228980">MinHeap::extractMin</a></div><div class="ttdeci">int extractMin()</div><div class="ttdef"><b>Definition</b> <a href="#l00085">binaryheap.cpp:85</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_a88b4aa3e66392a3eabbf2517a9a79a02"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#a88b4aa3e66392a3eabbf2517a9a79a02">MinHeap::capacity</a></div><div class="ttdeci">int capacity</div><div class="ttdoc">maximum possible size of min heap</div><div class="ttdef"><b>Definition</b> <a href="#l00012">binaryheap.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_aa7f726cc6327955d22871592227432f5"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#aa7f726cc6327955d22871592227432f5">MinHeap::decreaseKey</a></div><div class="ttdeci">void decreaseKey(int i, int new_val)</div><div class="ttdef"><b>Definition</b> <a href="#l00076">binaryheap.cpp:76</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_aa8c6c141e3de664819686aa637e1afca"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#aa8c6c141e3de664819686aa637e1afca">MinHeap::left</a></div><div class="ttdeci">int left(int i)</div><div class="ttdef"><b>Definition</b> <a href="#l00031">binaryheap.cpp:31</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_aaef438c1056492cb62c4a4d9035b5cad"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#aaef438c1056492cb62c4a4d9035b5cad">MinHeap::MinHeapify</a></div><div class="ttdeci">void MinHeapify(int)</div><div class="ttdef"><b>Definition</b> <a href="#l00113">binaryheap.cpp:113</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_ac760b85cf90265b8d674b942a43fb70e"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#ac760b85cf90265b8d674b942a43fb70e">MinHeap::right</a></div><div class="ttdeci">int right(int i)</div><div class="ttdef"><b>Definition</b> <a href="#l00034">binaryheap.cpp:34</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_ae4d358bf063bb196a1945b3fb99b4913"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#ae4d358bf063bb196a1945b3fb99b4913">MinHeap::heap_size</a></div><div class="ttdeci">int heap_size</div><div class="ttdoc">Current number of elements in min heap.</div><div class="ttdef"><b>Definition</b> <a href="#l00013">binaryheap.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_min_heap_html_aef78f3384f5a0ae880ad0883d2d44b82"><div class="ttname"><a href="../../d2/d05/class_min_heap.html#aef78f3384f5a0ae880ad0883d2d44b82">MinHeap::insertKey</a></div><div class="ttdeci">void insertKey(int k)</div><div class="ttdef"><b>Definition</b> <a href="#l00055">binaryheap.cpp:55</a></div></div>
|
||||
<div class="ttc" id="agenerate__parentheses_8cpp_html_gae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../dd/d1e/generate__parentheses_8cpp.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdoc">Main function.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d1e/generate__parentheses_8cpp_source.html#l00110">generate_parentheses.cpp:110</a></div></div>
|
||||
<div class="ttc" id="ahash__search_8cpp_html_a566eaf0ffafd50bc61e644561fd27001"><div class="ttname"><a href="../../d1/df3/hash__search_8cpp.html#a566eaf0ffafd50bc61e644561fd27001">h</a></div><div class="ttdeci">int h(int key)</div><div class="ttdef"><b>Definition</b> <a href="../../d1/df3/hash__search_8cpp_source.html#l00045">hash_search.cpp:45</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_2e746e9d06bf2d8ff842208bcc6ebcfc.html">data_structures</a></li><li class="navelem"><a class="el" href="../../de/dc3/binaryheap_8cpp.html">binaryheap.cpp</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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- HTML header for doxygen 1.12.0-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
@@ -5,10 +6,15 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: math/fibonacci_sum.cpp File Reference</title>
|
||||
<title>TheAlgorithms/C++: math/fibonacci_sum.cpp File Reference</title>
|
||||
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
|
||||
<script type="text/javascript">
|
||||
DoxygenAwesomeDarkModeToggle.init()
|
||||
</script>
|
||||
<script type="text/javascript" src="../../clipboard.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
@@ -18,14 +24,24 @@
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
<script type="text/javascript">
|
||||
window.MathJax = {
|
||||
options: {
|
||||
ignoreHtmlClass: 'tex2jax_ignore',
|
||||
processHtmlClass: 'tex2jax_process'
|
||||
},
|
||||
loader: {
|
||||
load: ['[tex]/ams']
|
||||
},
|
||||
tex: {
|
||||
macros: {},
|
||||
packages: ['base','configmacros','ams']
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
@@ -33,10 +49,11 @@ MathJax.Hub.Config({
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Algorithms_in_C++<span id="projectnumber"> 1.0.0</span>
|
||||
<div id="projectname">TheAlgorithms/C++<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
<div id="projectbrief">All the algorithms implemented in C++</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -124,7 +141,9 @@ Include dependency graph for fibonacci_sum.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d7/d4a/fibonacci__sum_8cpp__incl.svg" width="336" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
</div>
|
||||
<p><a href="../../de/dc3/fibonacci__sum_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d47/namespacemath.html">math</a></td></tr>
|
||||
@@ -137,15 +156,14 @@ Namespaces</h2></td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
|
||||
Typedefs</h2></td></tr>
|
||||
<tr class="memitem:a658ced3b6267216e49bb1bd4f9a76a54" id="r_a658ced3b6267216e49bb1bd4f9a76a54"><td class="memItemLeft" align="right" valign="top"><a id="a658ced3b6267216e49bb1bd4f9a76a54" name="a658ced3b6267216e49bb1bd4f9a76a54"></a>
|
||||
using </td><td class="memItemRight" valign="bottom"><b>math::fibonacci_sum::matrix</b> = <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><uint64_t> ></td></tr>
|
||||
<tr class="memitem:a658ced3b6267216e49bb1bd4f9a76a54" id="r_a658ced3b6267216e49bb1bd4f9a76a54"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="#a658ced3b6267216e49bb1bd4f9a76a54">math::fibonacci_sum::matrix</a> = std::vector<std::vector<uint64_t> ></td></tr>
|
||||
<tr class="separator:a658ced3b6267216e49bb1bd4f9a76a54"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a9c83cca09a3e4ff2a25c816a9303448e" id="r_a9c83cca09a3e4ff2a25c816a9303448e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a9c83cca09a3e4ff2a25c816a9303448e">math::fibonacci_sum::multiply</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> &T, const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> &A)</td></tr>
|
||||
<tr class="memitem:a9c83cca09a3e4ff2a25c816a9303448e" id="r_a9c83cca09a3e4ff2a25c816a9303448e"><td class="memItemLeft" align="right" valign="top">math::fibonacci_sum::matrix </td><td class="memItemRight" valign="bottom"><a class="el" href="#a9c83cca09a3e4ff2a25c816a9303448e">math::fibonacci_sum::multiply</a> (const math::fibonacci_sum::matrix &T, const math::fibonacci_sum::matrix &A)</td></tr>
|
||||
<tr class="separator:a9c83cca09a3e4ff2a25c816a9303448e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7cf5feaf168b88e74544da59ed830311" id="r_a7cf5feaf168b88e74544da59ed830311"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a7cf5feaf168b88e74544da59ed830311">math::fibonacci_sum::power</a> (<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> T, uint64_t ex)</td></tr>
|
||||
<tr class="memitem:a7cf5feaf168b88e74544da59ed830311" id="r_a7cf5feaf168b88e74544da59ed830311"><td class="memItemLeft" align="right" valign="top">math::fibonacci_sum::matrix </td><td class="memItemRight" valign="bottom"><a class="el" href="#a7cf5feaf168b88e74544da59ed830311">math::fibonacci_sum::power</a> (math::fibonacci_sum::matrix T, uint64_t ex)</td></tr>
|
||||
<tr class="separator:a7cf5feaf168b88e74544da59ed830311"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aadb40ac4c74a7efc0680b83eeee138aa" id="r_aadb40ac4c74a7efc0680b83eeee138aa"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#aadb40ac4c74a7efc0680b83eeee138aa">math::fibonacci_sum::result</a> (uint64_t n)</td></tr>
|
||||
<tr class="separator:aadb40ac4c74a7efc0680b83eeee138aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
@@ -161,7 +179,26 @@ Functions</h2></td></tr>
|
||||
<div class="textblock"><p>An algorithm to calculate the sum of <a href="https://en.wikipedia.org/wiki/Fibonacci_number" target="_blank">Fibonacci Sequence</a>: \(\mathrm{F}(n) +
|
||||
\mathrm{F}(n+1) + .. + \mathrm{F}(m)\). </p>
|
||||
<p>An algorithm to calculate the sum of Fibonacci Sequence: \(\mathrm{F}(n) + \mathrm{F}(n+1) + .. + \mathrm{F}(m)\) where \(\mathrm{F}(i)\) denotes the i-th Fibonacci Number . Note that F(0) = 0 and F(1) = 1. The value of the sum is calculated using matrix exponentiation. Reference source: <a href="https://stackoverflow.com/questions/4357223/finding-the-sum-of-fibonacci-numbers">https://stackoverflow.com/questions/4357223/finding-the-sum-of-fibonacci-numbers</a> </p><dl class="section author"><dt>Author</dt><dd><a href="https://github.com/SarthakSahu1009" target="_blank">Sarthak Sahu</a> </dd></dl>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
|
||||
<p class="definition">Definition in file <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html">fibonacci_sum.cpp</a>.</p>
|
||||
</div><h2 class="groupheader">Typedef Documentation</h2>
|
||||
<a id="a658ced3b6267216e49bb1bd4f9a76a54" name="a658ced3b6267216e49bb1bd4f9a76a54"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a658ced3b6267216e49bb1bd4f9a76a54">◆ </a></span>matrix</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">using math::fibonacci_sum::matrix = std::vector<std::vector<uint64_t> ></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00031">31</a> of file <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html">fibonacci_sum.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a493fbaa7a94e3b7ca573111237bb3742" name="a493fbaa7a94e3b7ca573111237bb3742"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a493fbaa7a94e3b7ca573111237bb3742">◆ </a></span>fiboSum()</h2>
|
||||
|
||||
@@ -188,16 +225,13 @@ Functions</h2></td></tr>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>uint64_t the sum of sequence </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00091">91</a> of file <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html">fibonacci_sum.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 91</span> {</div>
|
||||
<div class="line"><span class="lineno"> 92</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="#aadb40ac4c74a7efc0680b83eeee138aa">result</a>(m + 2) - <a class="code hl_function" href="#aadb40ac4c74a7efc0680b83eeee138aa">result</a>(n + 1));</div>
|
||||
<div class="line"><span class="lineno"> 93</span>}</div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aadb40ac4c74a7efc0680b83eeee138aa"><div class="ttname"><a href="#aadb40ac4c74a7efc0680b83eeee138aa">math::fibonacci_sum::result</a></div><div class="ttdeci">uint64_t result(uint64_t n)</div><div class="ttdef"><b>Definition</b> fibonacci_sum.cpp:77</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_a493fbaa7a94e3b7ca573111237bb3742_cgraph.svg" width="534" height="76"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aadb40ac4c74a7efc0680b83eeee138aa"><div class="ttname"><a href="#aadb40ac4c74a7efc0680b83eeee138aa">math::fibonacci_sum::result</a></div><div class="ttdeci">uint64_t result(uint64_t n)</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00077">fibonacci_sum.cpp:77</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
|
||||
@@ -217,17 +251,14 @@ Here is the call graph for this function:</div>
|
||||
|
||||
<p>Main function. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>0 on exit </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00137">137</a> of file <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html">fibonacci_sum.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 137</span> {</div>
|
||||
<div class="line"><span class="lineno"> 138</span> <a class="code hl_function" href="#aa8dca7b867074164d5f45b0f3851269d">test</a>(); <span class="comment">// execute the tests</span></div>
|
||||
<div class="line"><span class="lineno"> 139</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><span class="lineno"> 140</span>}</div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdef"><b>Definition</b> fibonacci_sum.cpp:102</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
|
||||
</div>
|
||||
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00102">fibonacci_sum.cpp:102</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9c83cca09a3e4ff2a25c816a9303448e" name="a9c83cca09a3e4ff2a25c816a9303448e"></a>
|
||||
@@ -237,14 +268,14 @@ Here is the call graph for this function:</div>
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> math::fibonacci_sum::multiply </td>
|
||||
<td class="memname">math::fibonacci_sum::matrix math::fibonacci_sum::multiply </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> &</td> <td class="paramname"><span class="paramname"><em>T</em></span>, </td>
|
||||
<td class="paramtype">const math::fibonacci_sum::matrix &</td> <td class="paramname"><span class="paramname"><em>T</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> &</td> <td class="paramname"><span class="paramname"><em>A</em></span> )</td>
|
||||
<td class="paramtype">const math::fibonacci_sum::matrix &</td> <td class="paramname"><span class="paramname"><em>A</em></span> )</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
@@ -256,8 +287,10 @@ Here is the call graph for this function:</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>resultant matrix </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00039">39</a> of file <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html">fibonacci_sum.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 40</span> {</div>
|
||||
<div class="line"><span class="lineno"> 41</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> <a class="code hl_function" href="#aadb40ac4c74a7efc0680b83eeee138aa">result</a>(2, <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint64_t></a>(2, 0));</div>
|
||||
<div class="line"><span class="lineno"> 41</span> math::fibonacci_sum::matrix <a class="code hl_function" href="#aadb40ac4c74a7efc0680b83eeee138aa">result</a>(2, std::vector<uint64_t>(2, 0));</div>
|
||||
<div class="line"><span class="lineno"> 42</span> </div>
|
||||
<div class="line"><span class="lineno"> 43</span> <span class="comment">// multiplying matrices</span></div>
|
||||
<div class="line"><span class="lineno"> 44</span> <a class="code hl_function" href="#aadb40ac4c74a7efc0680b83eeee138aa">result</a>[0][0] = T[0][0] * A[0][0] + T[0][1] * A[1][0];</div>
|
||||
@@ -267,13 +300,7 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 48</span> </div>
|
||||
<div class="line"><span class="lineno"> 49</span> <span class="keywordflow">return</span> <a class="code hl_function" href="#aadb40ac4c74a7efc0680b83eeee138aa">result</a>;</div>
|
||||
<div class="line"><span class="lineno"> 50</span>}</div>
|
||||
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_a9c83cca09a3e4ff2a25c816a9303448e_cgraph.svg" width="534" height="76"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a7cf5feaf168b88e74544da59ed830311" name="a7cf5feaf168b88e74544da59ed830311"></a>
|
||||
@@ -283,9 +310,9 @@ Here is the call graph for this function:</div>
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> math::fibonacci_sum::power </td>
|
||||
<td class="memname">math::fibonacci_sum::matrix math::fibonacci_sum::power </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a></td> <td class="paramname"><span class="paramname"><em>T</em></span>, </td>
|
||||
<td class="paramtype">math::fibonacci_sum::matrix</td> <td class="paramname"><span class="paramname"><em>T</em></span>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
@@ -302,8 +329,10 @@ Here is the call graph for this function:</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>resultant matrix </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00058">58</a> of file <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html">fibonacci_sum.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 58</span> {</div>
|
||||
<div class="line"><span class="lineno"> 59</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> A{{1, 1}, {1, 0}};</div>
|
||||
<div class="line"><span class="lineno"> 59</span> math::fibonacci_sum::matrix A{{1, 1}, {1, 0}};</div>
|
||||
<div class="line"><span class="lineno"> 60</span> <span class="keywordflow">if</span> (ex == 0 || ex == 1) {</div>
|
||||
<div class="line"><span class="lineno"> 61</span> <span class="keywordflow">return</span> T;</div>
|
||||
<div class="line"><span class="lineno"> 62</span> }</div>
|
||||
@@ -315,14 +344,9 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><span class="lineno"> 68</span> }</div>
|
||||
<div class="line"><span class="lineno"> 69</span> <span class="keywordflow">return</span> T;</div>
|
||||
<div class="line"><span class="lineno"> 70</span>}</div>
|
||||
<div class="ttc" id="apower__for__huge__numbers_8cpp_html_aa141a7904f0c4668bac112d652a3acf9"><div class="ttname"><a href="../../df/def/power__for__huge__numbers_8cpp.html#aa141a7904f0c4668bac112d652a3acf9">multiply</a></div><div class="ttdeci">int multiply(int x, int res[], int res_size)</div><div class="ttdef"><b>Definition</b> power_for_huge_numbers.cpp:25</div></div>
|
||||
<div class="ttc" id="apower__for__huge__numbers_8cpp_html_ae249a2af508aa94266023ce8aa81426f"><div class="ttname"><a href="../../df/def/power__for__huge__numbers_8cpp.html#ae249a2af508aa94266023ce8aa81426f">power</a></div><div class="ttdeci">void power(int x, int n)</div><div class="ttdef"><b>Definition</b> power_for_huge_numbers.cpp:56</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_a7cf5feaf168b88e74544da59ed830311_cgraph.svg" width="154" height="76"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
<div class="ttc" id="apower__for__huge__numbers_8cpp_html_aa141a7904f0c4668bac112d652a3acf9"><div class="ttname"><a href="../../df/def/power__for__huge__numbers_8cpp.html#aa141a7904f0c4668bac112d652a3acf9">multiply</a></div><div class="ttdeci">int multiply(int x, int res[], int res_size)</div><div class="ttdef"><b>Definition</b> <a href="../../df/def/power__for__huge__numbers_8cpp_source.html#l00025">power_for_huge_numbers.cpp:25</a></div></div>
|
||||
<div class="ttc" id="apower__for__huge__numbers_8cpp_html_ae249a2af508aa94266023ce8aa81426f"><div class="ttname"><a href="../../df/def/power__for__huge__numbers_8cpp.html#ae249a2af508aa94266023ce8aa81426f">power</a></div><div class="ttdeci">void power(int x, int n)</div><div class="ttdef"><b>Definition</b> <a href="../../df/def/power__for__huge__numbers_8cpp_source.html#l00056">power_for_huge_numbers.cpp:56</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="aadb40ac4c74a7efc0680b83eeee138aa" name="aadb40ac4c74a7efc0680b83eeee138aa"></a>
|
||||
@@ -346,19 +370,16 @@ Here is the call graph for this function:</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>uint64_t ans, the sum of sequence </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00077">77</a> of file <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html">fibonacci_sum.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 77</span> {</div>
|
||||
<div class="line"><span class="lineno"> 78</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">math::fibonacci_sum::matrix</a> T{{1, 1}, {1, 0}};</div>
|
||||
<div class="line"><span class="lineno"> 78</span> math::fibonacci_sum::matrix T{{1, 1}, {1, 0}};</div>
|
||||
<div class="line"><span class="lineno"> 79</span> T = <a class="code hl_function" href="../../df/def/power__for__huge__numbers_8cpp.html#ae249a2af508aa94266023ce8aa81426f">power</a>(T, n);</div>
|
||||
<div class="line"><span class="lineno"> 80</span> uint64_t ans = T[0][1];</div>
|
||||
<div class="line"><span class="lineno"> 81</span> ans = (ans - 1);</div>
|
||||
<div class="line"><span class="lineno"> 82</span> <span class="keywordflow">return</span> ans;</div>
|
||||
<div class="line"><span class="lineno"> 83</span>}</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_aadb40ac4c74a7efc0680b83eeee138aa_cgraph.svg" width="344" height="76"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="aa8dca7b867074164d5f45b0f3851269d" name="aa8dca7b867074164d5f45b0f3851269d"></a>
|
||||
@@ -384,48 +405,43 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Function for testing fiboSum function. test cases and assert statement. </p><dl class="section return"><dt>Returns</dt><dd><code>void</code> </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00102">102</a> of file <a class="el" href="../../de/dc3/fibonacci__sum_8cpp_source.html">fibonacci_sum.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 102</span> {</div>
|
||||
<div class="line"><span class="lineno"> 103</span> uint64_t n = 0, m = 3;</div>
|
||||
<div class="line"><span class="lineno"> 104</span> uint64_t <a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a> = <a class="code hl_function" href="#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><span class="lineno"> 105</span> assert(<a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a> == 4);</div>
|
||||
<div class="line"><span class="lineno"> 106</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 1!"</span> << <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><span class="lineno"> 106</span> std::cout << <span class="stringliteral">"Passed Test 1!"</span> << std::endl;</div>
|
||||
<div class="line"><span class="lineno"> 107</span> </div>
|
||||
<div class="line"><span class="lineno"> 108</span> n = 3;</div>
|
||||
<div class="line"><span class="lineno"> 109</span> m = 5;</div>
|
||||
<div class="line"><span class="lineno"> 110</span> uint64_t <a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a> = <a class="code hl_function" href="#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><span class="lineno"> 111</span> assert(<a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a> == 10);</div>
|
||||
<div class="line"><span class="lineno"> 112</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 2!"</span> << <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><span class="lineno"> 112</span> std::cout << <span class="stringliteral">"Passed Test 2!"</span> << std::endl;</div>
|
||||
<div class="line"><span class="lineno"> 113</span> </div>
|
||||
<div class="line"><span class="lineno"> 114</span> n = 5;</div>
|
||||
<div class="line"><span class="lineno"> 115</span> m = 7;</div>
|
||||
<div class="line"><span class="lineno"> 116</span> uint64_t <a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a> = <a class="code hl_function" href="#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><span class="lineno"> 117</span> assert(<a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a> == 26);</div>
|
||||
<div class="line"><span class="lineno"> 118</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 3!"</span> << <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><span class="lineno"> 118</span> std::cout << <span class="stringliteral">"Passed Test 3!"</span> << std::endl;</div>
|
||||
<div class="line"><span class="lineno"> 119</span> </div>
|
||||
<div class="line"><span class="lineno"> 120</span> n = 7;</div>
|
||||
<div class="line"><span class="lineno"> 121</span> m = 10;</div>
|
||||
<div class="line"><span class="lineno"> 122</span> uint64_t test_4 = <a class="code hl_function" href="#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><span class="lineno"> 123</span> assert(test_4 == 123);</div>
|
||||
<div class="line"><span class="lineno"> 124</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 4!"</span> << <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><span class="lineno"> 124</span> std::cout << <span class="stringliteral">"Passed Test 4!"</span> << std::endl;</div>
|
||||
<div class="line"><span class="lineno"> 125</span> </div>
|
||||
<div class="line"><span class="lineno"> 126</span> n = 9;</div>
|
||||
<div class="line"><span class="lineno"> 127</span> m = 12;</div>
|
||||
<div class="line"><span class="lineno"> 128</span> uint64_t test_5 = <a class="code hl_function" href="#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><span class="lineno"> 129</span> assert(test_5 == 322);</div>
|
||||
<div class="line"><span class="lineno"> 130</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 5!"</span> << <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><span class="lineno"> 130</span> std::cout << <span class="stringliteral">"Passed Test 5!"</span> << std::endl;</div>
|
||||
<div class="line"><span class="lineno"> 131</span>}</div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
<div class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_a493fbaa7a94e3b7ca573111237bb3742"><div class="ttname"><a href="#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a></div><div class="ttdeci">uint64_t fiboSum(uint64_t n, uint64_t m)</div><div class="ttdef"><b>Definition</b> fibonacci_sum.cpp:91</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a34b8683a2b429de5cce57e6d733ec817"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a></div><div class="ttdeci">static void test_1()</div><div class="ttdef"><b>Definition</b> heavy_light_decomposition.cpp:505</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a458410412185a5f09199deaff7157a8d"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a></div><div class="ttdeci">static void test_2()</div><div class="ttdef"><b>Definition</b> heavy_light_decomposition.cpp:549</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_af31ec5409537703d9c8a47350386b32a"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a></div><div class="ttdeci">static void test_3()</div><div class="ttdef"><b>Definition</b> heavy_light_decomposition.cpp:592</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
|
||||
</div>
|
||||
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_a493fbaa7a94e3b7ca573111237bb3742"><div class="ttname"><a href="#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a></div><div class="ttdeci">uint64_t fiboSum(uint64_t n, uint64_t m)</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc3/fibonacci__sum_8cpp_source.html#l00091">fibonacci_sum.cpp:91</a></div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a34b8683a2b429de5cce57e6d733ec817"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a></div><div class="ttdeci">static void test_1()</div><div class="ttdef"><b>Definition</b> <a href="../../d2/de9/heavy__light__decomposition_8cpp_source.html#l00505">heavy_light_decomposition.cpp:505</a></div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a458410412185a5f09199deaff7157a8d"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a></div><div class="ttdeci">static void test_2()</div><div class="ttdef"><b>Definition</b> <a href="../../d2/de9/heavy__light__decomposition_8cpp_source.html#l00549">heavy_light_decomposition.cpp:549</a></div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_af31ec5409537703d9c8a47350386b32a"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a></div><div class="ttdeci">static void test_3()</div><div class="ttdef"><b>Definition</b> <a href="../../d2/de9/heavy__light__decomposition_8cpp_source.html#l00592">heavy_light_decomposition.cpp:592</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<map id="math::fibonacci_sum::fiboSum" name="math::fibonacci_sum::fiboSum">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,29,148,70"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="40,29,38,19,44,10,57,5,77,3,97,5,110,11,107,16,96,10,76,8,59,10,48,15,44,20,45,28"/>
|
||||
<area shape="rect" id="Node000002" href="$de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa" title=" " alt="" coords="196,29,338,70"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000002" title=" " alt="" coords="148,47,180,47,180,52,148,52"/>
|
||||
<area shape="poly" id="edge5_Node000002_Node000002" title=" " alt="" coords="230,29,229,19,235,10,248,5,267,3,288,5,300,11,298,16,286,10,267,8,249,10,238,15,234,20,236,28"/>
|
||||
<area shape="rect" id="Node000003" href="$de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" title=" " alt="" coords="386,29,528,70"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000003" title=" " alt="" coords="339,47,371,47,371,52,339,52"/>
|
||||
<area shape="poly" id="edge4_Node000003_Node000003" title=" " alt="" coords="421,29,419,19,425,10,438,5,457,3,478,5,490,11,488,16,476,10,457,8,439,10,428,15,424,20,426,28"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
8d518acb477181baa90cbc4b41d4ff3a
|
||||
@@ -1,113 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: math::fibonacci_sum::fiboSum Pages: 1 -->
|
||||
<svg width="400pt" height="57pt"
|
||||
viewBox="0.00 0.00 400.25 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 52.5)">
|
||||
<title>math::fibonacci_sum::fiboSum</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="106.75,-30.5 0,-30.5 0,0 106.75,0 106.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="53.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::fiboSum</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge1_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M28.08,-30.99C22.92,-40.06 31.35,-48.5 53.38,-48.5 65.42,-48.5 73.4,-45.97 77.31,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.76,-42.84 78.49,-32.49 73.81,-42 80.76,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="249.5,-30.5 142.75,-30.5 142.75,0 249.5,0 249.5,-30.5"/>
|
||||
<text text-anchor="start" x="150.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="196.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::result</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge2_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge2_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M107.19,-15.25C115.03,-15.25 123.19,-15.25 131.23,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.97,-18.75 140.97,-15.25 130.97,-11.75 130.97,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge5_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge5_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M170.83,-30.99C165.67,-40.06 174.1,-48.5 196.12,-48.5 208.17,-48.5 216.15,-45.97 220.06,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="223.51,-42.84 221.24,-32.49 216.56,-42 223.51,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="392.25,-30.5 285.5,-30.5 285.5,0 392.25,0 392.25,-30.5"/>
|
||||
<text text-anchor="start" x="293.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="338.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::power</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge3_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge3_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M249.94,-15.25C257.78,-15.25 265.94,-15.25 273.98,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="273.72,-18.75 283.72,-15.25 273.72,-11.75 273.72,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node3 -->
|
||||
<g id="edge4_Node000003_Node000003" class="edge">
|
||||
<title>Node3->Node3</title>
|
||||
<g id="a_edge4_Node000003_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M313.58,-30.99C308.42,-40.06 316.85,-48.5 338.88,-48.5 350.92,-48.5 358.9,-45.97 362.81,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="366.26,-42.84 363.99,-32.49 359.31,-42 366.26,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.9 KiB |
@@ -1,87 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: math::fibonacci_sum::fiboSum Pages: 1 -->
|
||||
<svg width="400pt" height="57pt"
|
||||
viewBox="0.00 0.00 400.25 56.50" 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 52.5)">
|
||||
<title>math::fibonacci_sum::fiboSum</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="106.75,-30.5 0,-30.5 0,0 106.75,0 106.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="53.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::fiboSum</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge1_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M28.08,-30.99C22.92,-40.06 31.35,-48.5 53.38,-48.5 65.42,-48.5 73.4,-45.97 77.31,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.76,-42.84 78.49,-32.49 73.81,-42 80.76,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="249.5,-30.5 142.75,-30.5 142.75,0 249.5,0 249.5,-30.5"/>
|
||||
<text text-anchor="start" x="150.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="196.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::result</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge2_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge2_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M107.19,-15.25C115.03,-15.25 123.19,-15.25 131.23,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.97,-18.75 140.97,-15.25 130.97,-11.75 130.97,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge5_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge5_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M170.83,-30.99C165.67,-40.06 174.1,-48.5 196.12,-48.5 208.17,-48.5 216.15,-45.97 220.06,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="223.51,-42.84 221.24,-32.49 216.56,-42 223.51,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="392.25,-30.5 285.5,-30.5 285.5,0 392.25,0 392.25,-30.5"/>
|
||||
<text text-anchor="start" x="293.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="338.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::power</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge3_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge3_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M249.94,-15.25C257.78,-15.25 265.94,-15.25 273.98,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="273.72,-18.75 283.72,-15.25 273.72,-11.75 273.72,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node3 -->
|
||||
<g id="edge4_Node000003_Node000003" class="edge">
|
||||
<title>Node3->Node3</title>
|
||||
<g id="a_edge4_Node000003_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M313.58,-30.99C308.42,-40.06 316.85,-48.5 338.88,-48.5 350.92,-48.5 358.9,-45.97 362.81,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="366.26,-42.84 363.99,-32.49 359.31,-42 366.26,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.1 KiB |
@@ -1,4 +0,0 @@
|
||||
<map id="math::fibonacci_sum::power" name="math::fibonacci_sum::power">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,29,148,70"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="49,29,47,20,52,11,62,5,77,3,92,5,102,12,99,16,90,10,76,8,63,10,56,14,53,20,54,28"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
6e1d224d7827037d71834f703d458208
|
||||
@@ -1,57 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: math::fibonacci_sum::power Pages: 1 -->
|
||||
<svg width="115pt" height="57pt"
|
||||
viewBox="0.00 0.00 114.75 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 52.5)">
|
||||
<title>math::fibonacci_sum::power</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="106.75,-30.5 0,-30.5 0,0 106.75,0 106.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="53.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::power</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge1_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M34.46,-30.99C30.6,-40.06 36.9,-48.5 53.38,-48.5 62.38,-48.5 68.35,-45.97 71.28,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.74,-42.77 72.15,-32.49 67.77,-42.14 74.74,-42.77"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.1 KiB |
@@ -1,31 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: math::fibonacci_sum::power Pages: 1 -->
|
||||
<svg width="115pt" height="57pt"
|
||||
viewBox="0.00 0.00 114.75 56.50" 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 52.5)">
|
||||
<title>math::fibonacci_sum::power</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="106.75,-30.5 0,-30.5 0,0 106.75,0 106.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="53.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::power</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge1_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M34.46,-30.99C30.6,-40.06 36.9,-48.5 53.38,-48.5 62.38,-48.5 68.35,-45.97 71.28,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.74,-42.77 72.15,-32.49 67.77,-42.14 74.74,-42.77"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.4 KiB |
@@ -1,9 +0,0 @@
|
||||
<map id="math::fibonacci_sum::multiply" name="math::fibonacci_sum::multiply">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,29,148,70"/>
|
||||
<area shape="rect" id="Node000002" href="$de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa" title=" " alt="" coords="196,29,338,70"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="148,47,180,47,180,52,148,52"/>
|
||||
<area shape="poly" id="edge4_Node000002_Node000002" title=" " alt="" coords="230,29,229,19,235,10,248,5,267,3,288,5,300,11,298,16,286,10,267,8,249,10,238,15,234,20,236,28"/>
|
||||
<area shape="rect" id="Node000003" href="$de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" title=" " alt="" coords="386,29,528,70"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="339,47,371,47,371,52,339,52"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000003" title=" " alt="" coords="421,29,419,19,425,10,438,5,457,3,478,5,490,11,488,16,476,10,457,8,439,10,428,15,424,20,426,28"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
6912f67d210704900b55ae7137d0cb04
|
||||
@@ -1,104 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: math::fibonacci_sum::multiply Pages: 1 -->
|
||||
<svg width="400pt" height="57pt"
|
||||
viewBox="0.00 0.00 400.25 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 52.5)">
|
||||
<title>math::fibonacci_sum::multiply</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="106.75,-30.5 0,-30.5 0,0 106.75,0 106.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="53.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::multiply</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="249.5,-30.5 142.75,-30.5 142.75,0 249.5,0 249.5,-30.5"/>
|
||||
<text text-anchor="start" x="150.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="196.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::result</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M107.19,-15.25C115.03,-15.25 123.19,-15.25 131.23,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.97,-18.75 140.97,-15.25 130.97,-11.75 130.97,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge4_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge4_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M170.83,-30.99C165.67,-40.06 174.1,-48.5 196.12,-48.5 208.17,-48.5 216.15,-45.97 220.06,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="223.51,-42.84 221.24,-32.49 216.56,-42 223.51,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="392.25,-30.5 285.5,-30.5 285.5,0 392.25,0 392.25,-30.5"/>
|
||||
<text text-anchor="start" x="293.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="338.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::power</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M249.94,-15.25C257.78,-15.25 265.94,-15.25 273.98,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="273.72,-18.75 283.72,-15.25 273.72,-11.75 273.72,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node3 -->
|
||||
<g id="edge3_Node000003_Node000003" class="edge">
|
||||
<title>Node3->Node3</title>
|
||||
<g id="a_edge3_Node000003_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M313.58,-30.99C308.42,-40.06 316.85,-48.5 338.88,-48.5 350.92,-48.5 358.9,-45.97 362.81,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="366.26,-42.84 363.99,-32.49 359.31,-42 366.26,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.5 KiB |
@@ -1,78 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: math::fibonacci_sum::multiply Pages: 1 -->
|
||||
<svg width="400pt" height="57pt"
|
||||
viewBox="0.00 0.00 400.25 56.50" 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 52.5)">
|
||||
<title>math::fibonacci_sum::multiply</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="106.75,-30.5 0,-30.5 0,0 106.75,0 106.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="53.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::multiply</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="249.5,-30.5 142.75,-30.5 142.75,0 249.5,0 249.5,-30.5"/>
|
||||
<text text-anchor="start" x="150.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="196.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::result</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M107.19,-15.25C115.03,-15.25 123.19,-15.25 131.23,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.97,-18.75 140.97,-15.25 130.97,-11.75 130.97,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge4_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge4_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M170.83,-30.99C165.67,-40.06 174.1,-48.5 196.12,-48.5 208.17,-48.5 216.15,-45.97 220.06,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="223.51,-42.84 221.24,-32.49 216.56,-42 223.51,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="392.25,-30.5 285.5,-30.5 285.5,0 392.25,0 392.25,-30.5"/>
|
||||
<text text-anchor="start" x="293.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="338.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::power</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M249.94,-15.25C257.78,-15.25 265.94,-15.25 273.98,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="273.72,-18.75 283.72,-15.25 273.72,-11.75 273.72,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node3 -->
|
||||
<g id="edge3_Node000003_Node000003" class="edge">
|
||||
<title>Node3->Node3</title>
|
||||
<g id="a_edge3_Node000003_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M313.58,-30.99C308.42,-40.06 316.85,-48.5 338.88,-48.5 350.92,-48.5 358.9,-45.97 362.81,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="366.26,-42.84 363.99,-32.49 359.31,-42 366.26,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.7 KiB |
@@ -1,71 +0,0 @@
|
||||
<map id="test" name="test">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,277,49,303"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="97,203,168,228"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="45,275,95,237,98,236,101,240,98,242,48,279"/>
|
||||
<area shape="rect" id="Node000003" href="$d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" title=" " alt="" coords="104,399,161,424"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="42,302,112,385,108,389,38,305"/>
|
||||
<area shape="rect" id="Node000023" href="$d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" title=" " alt="" coords="104,252,161,278"/>
|
||||
<area shape="poly" id="edge30_Node000001_Node000023" title=" " alt="" coords="48,283,88,273,89,278,50,288"/>
|
||||
<area shape="rect" id="Node000024" href="$d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" title=" " alt="" coords="104,301,161,327"/>
|
||||
<area shape="poly" id="edge38_Node000001_Node000024" title=" " alt="" coords="50,293,89,302,88,307,49,298"/>
|
||||
<area shape="rect" id="Node000004" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" title="Adds an undirected edge from node u to node v in the tree." alt="" coords="216,352,361,407"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="161,403,200,395,201,400,162,408"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="409,307,564,332"/>
|
||||
<area shape="poly" id="edge18_Node000003_Node000005" title=" " alt="" coords="139,424,148,452,164,487,186,521,217,548,256,567,291,575,324,569,360,548,379,527,388,505,390,481,387,456,384,430,384,404,391,377,407,350,420,339,424,343,411,353,396,379,390,404,390,430,393,456,395,481,393,506,384,530,363,552,326,574,291,580,254,572,215,553,182,525,159,490,143,454,134,426"/>
|
||||
<area shape="rect" id="Node000006" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="216,613,361,669"/>
|
||||
<area shape="poly" id="edge5_Node000003_Node000006" title=" " alt="" coords="139,424,165,501,188,548,218,593,227,602,223,605,214,596,183,551,160,503,134,426"/>
|
||||
<area shape="rect" id="Node000014" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" title="This function returns the sum of node values in the simple path from from node_1 to node_2." alt="" coords="216,482,361,538"/>
|
||||
<area shape="poly" id="edge19_Node000003_Node000014" title=" " alt="" coords="156,423,232,471,229,476,153,427"/>
|
||||
<area shape="rect" id="Node000019" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" title="Set the values for all the nodes." alt="" coords="216,221,361,277"/>
|
||||
<area shape="poly" id="edge25_Node000003_Node000019" title=" " alt="" coords="144,397,249,286,252,290,148,400"/>
|
||||
<area shape="rect" id="Node000020" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="429,203,544,228"/>
|
||||
<area shape="poly" id="edge27_Node000003_Node000020" title=" " alt="" coords="162,420,204,432,256,440,311,437,336,430,360,417,374,405,383,392,389,363,393,330,398,312,407,293,431,262,456,237,460,241,435,266,412,296,403,314,398,331,394,364,388,394,378,408,363,422,338,435,311,443,256,445,203,437,161,425"/>
|
||||
<area shape="rect" id="Node000021" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" title="This function updates the value at node with val." alt="" coords="216,90,361,146"/>
|
||||
<area shape="poly" id="edge28_Node000003_Node000021" title=" " alt="" coords="138,397,166,339,187,272,197,243,214,208,250,156,254,160,218,210,202,245,192,274,170,341,143,400"/>
|
||||
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="361,355,426,335,428,340,362,360"/>
|
||||
<area shape="rect" id="Node000007" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" title="Function that specifies the type of operation involved when segments are combined." alt="" coords="612,561,757,617"/>
|
||||
<area shape="poly" id="edge6_Node000006_Node000007" title=" " alt="" coords="362,634,458,626,563,613,596,607,597,612,564,618,458,632,362,640"/>
|
||||
<area shape="rect" id="Node000008" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" title="Utility function to assign heavy child to each node (-1 for a leaf node)" alt="" coords="414,886,559,942"/>
|
||||
<area shape="poly" id="edge7_Node000006_Node000008" title=" " alt="" coords="305,668,347,753,377,802,411,849,437,874,433,878,407,852,373,805,342,755,300,671"/>
|
||||
<area shape="rect" id="Node000009" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" title="Utility function to lable the nodes so that heavy chains have a contigous lable." alt="" coords="414,548,559,603"/>
|
||||
<area shape="poly" id="edge9_Node000006_Node000009" title=" " alt="" coords="361,615,398,602,400,607,362,620"/>
|
||||
<area shape="rect" id="Node000010" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" title="Utility function to assign highest parent that can be reached though heavy chains." alt="" coords="414,702,559,758"/>
|
||||
<area shape="poly" id="edge11_Node000006_Node000010" title=" " alt="" coords="353,667,411,693,408,698,351,672"/>
|
||||
<area shape="rect" id="Node000011" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="414,782,559,838"/>
|
||||
<area shape="poly" id="edge13_Node000006_Node000011" title=" " alt="" coords="313,668,356,717,411,768,416,772,412,776,408,772,352,721,309,671"/>
|
||||
<area shape="poly" id="edge8_Node000008_Node000008" title=" " alt="" coords="447,886,448,876,455,867,468,862,487,860,508,862,520,869,518,874,506,868,486,865,469,867,458,872,453,878,453,886"/>
|
||||
<area shape="poly" id="edge10_Node000009_Node000009" title=" " alt="" coords="447,547,448,537,455,529,468,523,487,521,508,524,520,531,518,535,506,529,486,526,469,528,458,533,453,539,453,547"/>
|
||||
<area shape="poly" id="edge12_Node000010_Node000010" title=" " alt="" coords="447,702,448,692,455,683,468,678,487,676,508,678,520,685,518,690,506,684,486,681,469,683,458,688,453,694,453,702"/>
|
||||
<area shape="rect" id="Node000012" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" title="Utility function to populate the t_par vector." alt="" coords="612,834,757,890"/>
|
||||
<area shape="poly" id="edge14_Node000011_Node000012" title=" " alt="" coords="560,827,598,837,596,842,559,832"/>
|
||||
<area shape="rect" id="Node000013" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" title="Utility function to compute sub-tree sizes." alt="" coords="612,730,757,786"/>
|
||||
<area shape="poly" id="edge16_Node000011_Node000013" title=" " alt="" coords="559,789,596,779,598,784,560,794"/>
|
||||
<area shape="poly" id="edge15_Node000012_Node000012" title=" " alt="" coords="645,834,646,824,653,815,666,810,684,808,705,810,718,817,716,822,704,816,684,813,667,815,656,820,651,826,650,834"/>
|
||||
<area shape="poly" id="edge17_Node000013_Node000013" title=" " alt="" coords="645,730,646,720,653,711,666,706,684,704,705,706,718,713,716,718,704,712,684,709,667,711,656,716,651,722,650,730"/>
|
||||
<area shape="rect" id="Node000015" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" title="Utility function to break down a path query into two chain queries." alt="" coords="414,444,559,499"/>
|
||||
<area shape="poly" id="edge20_Node000014_Node000015" title=" " alt="" coords="361,494,398,486,399,491,362,499"/>
|
||||
<area shape="rect" id="Node000017" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" title="The function returns the least common ancestor of two nodes." alt="" coords="414,364,559,419"/>
|
||||
<area shape="poly" id="edge23_Node000014_Node000017" title=" " alt="" coords="332,480,360,461,408,429,415,425,418,430,411,434,363,466,335,484"/>
|
||||
<area shape="poly" id="edge21_Node000015_Node000007" title=" " alt="" coords="545,498,565,509,630,550,627,554,562,514,542,502"/>
|
||||
<area shape="rect" id="Node000016" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="645,459,724,484"/>
|
||||
<area shape="poly" id="edge22_Node000015_Node000016" title=" " alt="" coords="559,469,630,469,630,474,559,474"/>
|
||||
<area shape="rect" id="Node000018" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store..." alt="" coords="612,364,757,419"/>
|
||||
<area shape="poly" id="edge24_Node000017_Node000018" title=" " alt="" coords="559,389,596,389,596,394,559,394"/>
|
||||
<area shape="poly" id="edge26_Node000019_Node000020" title=" " alt="" coords="361,234,413,225,414,231,362,239"/>
|
||||
<area shape="rect" id="Node000022" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" title="Update the value at a node." alt="" coords="414,90,559,146"/>
|
||||
<area shape="poly" id="edge29_Node000021_Node000022" title=" " alt="" coords="362,116,399,116,399,121,362,121"/>
|
||||
<area shape="poly" id="edge31_Node000023_Node000004" title=" " alt="" coords="155,276,170,287,240,340,237,344,166,291,151,280"/>
|
||||
<area shape="poly" id="edge33_Node000023_Node000005" title=" " alt="" coords="155,250,166,239,178,217,183,196,183,154,183,133,187,113,196,94,214,76,252,54,289,47,325,54,363,76,381,94,391,113,396,132,396,152,397,194,401,216,412,240,434,269,459,295,455,298,430,273,407,242,396,218,392,195,391,152,390,133,386,115,377,97,360,80,323,59,289,52,254,59,218,80,201,97,192,115,189,134,189,154,188,196,183,219,170,243,159,254"/>
|
||||
<area shape="poly" id="edge32_Node000023_Node000006" title=" " alt="" coords="160,277,170,287,189,323,198,356,201,387,200,417,200,478,205,512,218,549,233,576,252,600,247,603,229,579,214,551,200,513,194,478,195,416,196,387,193,357,184,325,166,291,156,280"/>
|
||||
<area shape="poly" id="edge34_Node000023_Node000014" title=" " alt="" coords="159,277,170,287,190,321,197,352,204,383,218,418,254,469,250,472,214,421,199,384,192,353,185,323,166,291,155,280"/>
|
||||
<area shape="poly" id="edge35_Node000023_Node000019" title=" " alt="" coords="161,259,200,255,201,261,162,265"/>
|
||||
<area shape="poly" id="edge36_Node000023_Node000020" title=" " alt="" coords="156,250,166,239,180,211,185,184,181,131,180,105,182,80,193,55,214,32,252,10,288,3,324,11,363,32,378,46,387,60,393,91,396,123,401,140,411,157,429,176,450,192,447,196,426,180,407,160,397,142,391,124,388,92,382,62,374,49,360,36,322,16,288,8,254,15,218,36,197,58,187,81,185,105,187,130,190,184,185,213,170,243,160,253"/>
|
||||
<area shape="poly" id="edge37_Node000023_Node000021" title=" " alt="" coords="154,250,166,239,181,220,189,202,198,183,214,163,224,154,228,158,218,167,203,186,194,204,185,222,170,243,157,254"/>
|
||||
<area shape="poly" id="edge39_Node000024_Node000004" title=" " alt="" coords="163,324,208,343,206,348,160,329"/>
|
||||
<area shape="poly" id="edge41_Node000024_Node000005" title=" " alt="" coords="161,312,394,316,394,321,161,317"/>
|
||||
<area shape="poly" id="edge40_Node000024_Node000006" title=" " alt="" coords="143,326,170,385,185,432,192,469,200,505,218,549,253,600,249,603,214,552,195,507,187,470,179,433,166,387,138,328"/>
|
||||
<area shape="poly" id="edge42_Node000024_Node000014" title=" " alt="" coords="146,326,218,418,258,468,254,472,214,421,142,329"/>
|
||||
<area shape="poly" id="edge43_Node000024_Node000019" title=" " alt="" coords="160,300,206,281,208,286,163,305"/>
|
||||
<area shape="poly" id="edge44_Node000024_Node000020" title=" " alt="" coords="154,299,166,289,180,266,187,245,195,225,215,207,241,195,268,187,326,182,381,186,430,196,429,201,380,191,326,187,269,192,243,200,217,211,199,228,192,247,185,269,170,292,158,303"/>
|
||||
<area shape="poly" id="edge45_Node000024_Node000021" title=" " alt="" coords="155,299,166,289,183,257,189,227,195,197,214,163,222,155,226,158,218,167,200,198,194,228,188,258,170,292,159,303"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
e0ee7b382d1bc3e758651bba31265ee2
|
||||
@@ -1,748 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<!--zoomable 711 -->
|
||||
|
||||
<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[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
|
||||
<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="arrowUp" transform="translate(30 24)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" 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" transform="rotate(90) translate(36 -43)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" 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" transform="rotate(180) translate(-30 -48)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" 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" transform="rotate(270) translate(-36 17)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" 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="application/ecmascript">
|
||||
var viewWidth = 572;
|
||||
var viewHeight = 711;
|
||||
var sectionId = 'dynsection-6';
|
||||
</script>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<title>test</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="32.5,-498.5 0,-498.5 0,-479.25 32.5,-479.25 32.5,-498.5"/>
|
||||
<text text-anchor="middle" x="16.25" y="-485" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="122,-554.5 68.5,-554.5 68.5,-535.25 122,-535.25 122,-554.5"/>
|
||||
<text text-anchor="middle" x="95.25" y="-541" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M30.66,-498.98C40.96,-506.7 55.56,-517.55 68.5,-526.88 69.18,-527.37 69.87,-527.86 70.57,-528.36"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="68.34,-531.07 78.53,-533.98 72.38,-525.35 68.34,-531.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="116.75,-407.5 73.75,-407.5 73.75,-388.25 116.75,-388.25 116.75,-407.5"/>
|
||||
<text text-anchor="middle" x="95.25" y="-394" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M25.78,-478.79C38.51,-463.75 62.68,-435.19 78.63,-416.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="81.15,-418.78 84.93,-408.89 75.8,-414.26 81.15,-418.78"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="Node000023" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_Node000023"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="116.75,-517.5 73.75,-517.5 73.75,-498.25 116.75,-498.25 116.75,-517.5"/>
|
||||
<text text-anchor="middle" x="95.25" y="-504" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node23 -->
|
||||
<g id="edge30_Node000001_Node000023" class="edge">
|
||||
<title>Node1->Node23</title>
|
||||
<g id="a_edge30_Node000001_Node000023"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M32.83,-492.72C41.33,-494.82 52.16,-497.49 62.35,-500"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.42,-503.38 71.97,-502.38 63.1,-496.58 61.42,-503.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="Node000024" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_Node000024"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="116.75,-480.5 73.75,-480.5 73.75,-461.25 116.75,-461.25 116.75,-480.5"/>
|
||||
<text text-anchor="middle" x="95.25" y="-467" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node24 -->
|
||||
<g id="edge38_Node000001_Node000024" class="edge">
|
||||
<title>Node1->Node24</title>
|
||||
<g id="a_edge38_Node000001_Node000024"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M32.83,-485.23C41.33,-483.25 52.16,-480.71 62.35,-478.33"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.02,-481.77 71.96,-476.09 61.43,-474.95 63.02,-481.77"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="#666666" points="267,-442.75 158,-442.75 158,-401 267,-401 267,-442.75"/>
|
||||
<text text-anchor="start" x="166" y="-429.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-418" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-406.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.12,-402.22C125.59,-403.99 135.89,-406.13 146.52,-408.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.68,-411.74 156.18,-410.35 147.1,-404.89 145.68,-411.74"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="418.75,-476.5 303,-476.5 303,-457.25 418.75,-457.25 418.75,-476.5"/>
|
||||
<text text-anchor="middle" x="360.88" y="-463" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node5 -->
|
||||
<g id="edge18_Node000003_Node000005" class="edge">
|
||||
<title>Node3->Node5</title>
|
||||
<g id="a_edge18_Node000003_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M98.67,-387.78C104.52,-365.92 121.68,-314.55 158,-293.88 200.1,-269.91 228.93,-263.91 267,-293.88 320.53,-336.01 258.89,-390.96 303,-442.88 305.69,-446.04 308.87,-448.8 312.33,-451.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="310.28,-454.06 320.69,-456 313.76,-447.99 310.28,-454.06"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="#666666" points="267,-246.75 158,-246.75 158,-205 267,-205 267,-246.75"/>
|
||||
<text text-anchor="start" x="166" y="-233.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-222" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-210.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node6 -->
|
||||
<g id="edge5_Node000003_Node000006" class="edge">
|
||||
<title>Node3->Node6</title>
|
||||
<g id="a_edge5_Node000003_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M98.67,-387.87C104.92,-363.69 123.58,-301.13 158,-260.88 160.03,-258.5 162.26,-256.23 164.62,-254.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="166.39,-257.13 171.88,-248.07 161.94,-251.73 166.39,-257.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="#666666" points="267,-344.75 158,-344.75 158,-303 267,-303 267,-344.75"/>
|
||||
<text text-anchor="start" x="166" y="-331.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-320" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-308.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node14 -->
|
||||
<g id="edge19_Node000003_Node000014" class="edge">
|
||||
<title>Node3->Node14</title>
|
||||
<g id="a_edge19_Node000003_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M111.79,-387.9C126.37,-378.54 148.84,-364.11 168.76,-351.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="170.49,-354.37 177.01,-346.02 166.71,-348.48 170.49,-354.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="Node000019" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_Node000019"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="#666666" points="267,-540.75 158,-540.75 158,-499 267,-499 267,-540.75"/>
|
||||
<text text-anchor="start" x="166" y="-527.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-516" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-504.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node19 -->
|
||||
<g id="edge25_Node000003_Node000019" class="edge">
|
||||
<title>Node3->Node19</title>
|
||||
<g id="a_edge25_Node000003_Node000019"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M105.68,-407.86C122.56,-425.73 158.54,-463.81 183.84,-490.6"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="181.19,-492.89 190.6,-497.75 186.28,-488.08 181.19,-492.89"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="Node000020" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_Node000020"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="404.12,-554.5 317.62,-554.5 317.62,-535.25 404.12,-535.25 404.12,-554.5"/>
|
||||
<text text-anchor="middle" x="360.88" y="-541" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node20 -->
|
||||
<g id="edge27_Node000003_Node000020" class="edge">
|
||||
<title>Node3->Node20</title>
|
||||
<g id="a_edge27_Node000003_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.09,-389.86C151.63,-378.04 221.42,-360.52 267,-391.88 303.86,-417.23 278.99,-448.12 303,-485.88 312.98,-501.56 327.59,-516.61 339.5,-527.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="337.04,-530.08 346.84,-534.11 341.7,-524.85 337.04,-530.08"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="Node000021" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_Node000021"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="#666666" points="267,-638.75 158,-638.75 158,-597 267,-597 267,-638.75"/>
|
||||
<text text-anchor="start" x="166" y="-625.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-614" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-602.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node21 -->
|
||||
<g id="edge28_Node000003_Node000021" class="edge">
|
||||
<title>Node3->Node21</title>
|
||||
<g id="a_edge28_Node000003_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M101.28,-407.7C106.68,-418.43 115.39,-436.18 122,-451.88 140.01,-494.64 135.37,-509.36 158,-549.88 165.46,-563.22 175.44,-576.71 184.76,-588.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="181.95,-590.2 191.07,-595.61 187.31,-585.7 181.95,-590.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-438.38C283.32,-443.34 300.84,-448.73 316.26,-453.47"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="315.03,-456.75 325.62,-456.34 317.09,-450.06 315.03,-456.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="#666666" points="563.75,-285.75 454.75,-285.75 454.75,-244 563.75,-244 563.75,-285.75"/>
|
||||
<text text-anchor="start" x="462.75" y="-272.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="462.75" y="-261" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="509.25" y="-249.75" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge6_Node000006_Node000007" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<g id="a_edge6_Node000006_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.32,-228.97C308.86,-231.82 367.67,-236.84 418.75,-244.88 426.75,-246.13 435.11,-247.68 443.36,-249.36"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="442.52,-252.76 453.03,-251.39 443.96,-245.91 442.52,-252.76"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-41.75 306.38,-41.75 306.38,0 415.38,0 415.38,-41.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node8 -->
|
||||
<g id="edge7_Node000006_Node000008" class="edge">
|
||||
<title>Node6->Node8</title>
|
||||
<g id="a_edge7_Node000006_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M222.69,-204.59C236.98,-172.94 266.68,-112.53 303,-68.88 308.69,-62.03 315.44,-55.39 322.27,-49.35"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="324.37,-52.16 329.72,-43.01 319.84,-46.82 324.37,-52.16"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-295.75 306.38,-295.75 306.38,-254 415.38,-254 415.38,-295.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-282.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-271" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-259.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node9 -->
|
||||
<g id="edge9_Node000006_Node000009" class="edge">
|
||||
<title>Node6->Node9</title>
|
||||
<g id="a_edge9_Node000006_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-243.84C276.32,-246.91 285.91,-250.11 295.3,-253.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.18,-256.57 304.77,-256.43 296.4,-249.94 294.18,-256.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-179.75 306.38,-179.75 306.38,-138 415.38,-138 415.38,-179.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-166.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-155" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-143.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node10 -->
|
||||
<g id="edge11_Node000006_Node000010" class="edge">
|
||||
<title>Node6->Node10</title>
|
||||
<g id="a_edge11_Node000006_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M259.81,-204.68C273.56,-198.38 288.78,-191.42 303.11,-184.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.35,-188.14 311.98,-180.8 301.43,-181.78 304.35,-188.14"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-119.75 306.38,-119.75 306.38,-78 415.38,-78 415.38,-119.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-106.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-95" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-83.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node11 -->
|
||||
<g id="edge13_Node000006_Node000011" class="edge">
|
||||
<title>Node6->Node11</title>
|
||||
<g id="a_edge13_Node000006_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M229.56,-204.61C246.24,-183.53 273.94,-151.22 303,-128.88 304.12,-128.01 305.27,-127.16 306.44,-126.33"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="308.08,-129.44 314.51,-121.01 304.23,-123.59 308.08,-129.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node8 -->
|
||||
<g id="edge8_Node000008_Node000008" class="edge">
|
||||
<title>Node8->Node8</title>
|
||||
<g id="a_edge8_Node000008_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M333.49,-42.07C330.88,-51.55 340.01,-59.75 360.88,-59.75 372.94,-59.75 381.08,-57.01 385.29,-52.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="388.59,-54.1 387.86,-43.53 381.84,-52.24 388.59,-54.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9->Node9 -->
|
||||
<g id="edge10_Node000009_Node000009" class="edge">
|
||||
<title>Node9->Node9</title>
|
||||
<g id="a_edge10_Node000009_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M333.49,-296.07C330.88,-305.55 340.01,-313.75 360.88,-313.75 372.94,-313.75 381.08,-311.01 385.29,-306.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="388.59,-308.1 387.86,-297.53 381.84,-306.24 388.59,-308.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10->Node10 -->
|
||||
<g id="edge12_Node000010_Node000010" class="edge">
|
||||
<title>Node10->Node10</title>
|
||||
<g id="a_edge12_Node000010_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M333.49,-180.07C330.88,-189.55 340.01,-197.75 360.88,-197.75 372.94,-197.75 381.08,-195.01 385.29,-190.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="388.59,-192.1 387.86,-181.53 381.84,-190.24 388.59,-192.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="#666666" points="563.75,-80.75 454.75,-80.75 454.75,-39 563.75,-39 563.75,-80.75"/>
|
||||
<text text-anchor="start" x="462.75" y="-67.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="462.75" y="-56" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="509.25" y="-44.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node12 -->
|
||||
<g id="edge14_Node000011_Node000012" class="edge">
|
||||
<title>Node11->Node12</title>
|
||||
<g id="a_edge14_Node000011_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M415.55,-84.57C424.7,-82.14 434.28,-79.58 443.68,-77.08"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="444.36,-80.52 453.12,-74.56 442.56,-73.76 444.36,-80.52"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="#666666" points="563.75,-158.75 454.75,-158.75 454.75,-117 563.75,-117 563.75,-158.75"/>
|
||||
<text text-anchor="start" x="462.75" y="-145.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="462.75" y="-134" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="509.25" y="-122.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node13 -->
|
||||
<g id="edge16_Node000011_Node000013" class="edge">
|
||||
<title>Node11->Node13</title>
|
||||
<g id="a_edge16_Node000011_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M415.55,-113.18C424.7,-115.61 434.28,-118.17 443.68,-120.67"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="442.56,-123.99 453.12,-123.19 444.36,-117.23 442.56,-123.99"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node12 -->
|
||||
<g id="edge15_Node000012_Node000012" class="edge">
|
||||
<title>Node12->Node12</title>
|
||||
<g id="a_edge15_Node000012_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M481.86,-81.07C479.26,-90.55 488.38,-98.75 509.25,-98.75 521.31,-98.75 529.45,-96.01 533.67,-91.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="536.96,-93.1 536.23,-82.53 530.21,-91.24 536.96,-93.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node13 -->
|
||||
<g id="edge17_Node000013_Node000013" class="edge">
|
||||
<title>Node13->Node13</title>
|
||||
<g id="a_edge17_Node000013_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M481.86,-159.07C479.26,-168.55 488.38,-176.75 509.25,-176.75 521.31,-176.75 529.45,-174.01 533.67,-169.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="536.96,-171.1 536.23,-160.53 530.21,-169.24 536.96,-171.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="Node000015" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_Node000015"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-373.75 306.38,-373.75 306.38,-332 415.38,-332 415.38,-373.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-360.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-337.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node15 -->
|
||||
<g id="edge20_Node000014_Node000015" class="edge">
|
||||
<title>Node14->Node15</title>
|
||||
<g id="a_edge20_Node000014_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-334.51C276.22,-336.3 285.7,-338.18 295,-340.02"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.23,-343.44 304.72,-341.95 295.59,-336.57 294.23,-343.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="Node000017" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_Node000017"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-433.75 306.38,-433.75 306.38,-392 415.38,-392 415.38,-433.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-420.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-409" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-397.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node17 -->
|
||||
<g id="edge23_Node000014_Node000017" class="edge">
|
||||
<title>Node14->Node17</title>
|
||||
<g id="a_edge23_Node000014_Node000017"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M246.07,-345.12C252.98,-349.65 260.24,-354.41 267,-358.88 283.05,-369.47 286.47,-373.04 303,-382.88 304.83,-383.97 306.71,-385.06 308.62,-386.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="306.53,-389 316.96,-390.83 309.95,-382.89 306.53,-389"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node7 -->
|
||||
<g id="edge21_Node000015_Node000007" class="edge">
|
||||
<title>Node15->Node7</title>
|
||||
<g id="a_edge21_Node000015_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M403.43,-331.51C408.63,-328.68 413.84,-325.75 418.75,-322.88 434.87,-313.43 452.18,-302.42 467.25,-292.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="469.11,-295.51 475.53,-287.08 465.25,-289.67 469.11,-295.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="Node000016" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_Node000016"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="538.62,-362.5 479.88,-362.5 479.88,-343.25 538.62,-343.25 538.62,-362.5"/>
|
||||
<text text-anchor="middle" x="509.25" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge22_Node000015_Node000016" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<g id="a_edge22_Node000015_Node000016"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M415.55,-352.88C433.01,-352.88 452.08,-352.88 468.35,-352.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="468.13,-356.38 478.13,-352.88 468.13,-349.38 468.13,-356.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="Node000018" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_Node000018"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="#666666" points="563.75,-433.75 454.75,-433.75 454.75,-392 563.75,-392 563.75,-433.75"/>
|
||||
<text text-anchor="start" x="462.75" y="-420.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="462.75" y="-409" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="509.25" y="-397.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17->Node18 -->
|
||||
<g id="edge24_Node000017_Node000018" class="edge">
|
||||
<title>Node17->Node18</title>
|
||||
<g id="a_edge24_Node000017_Node000018"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M415.55,-412.88C424.6,-412.88 434.08,-412.88 443.37,-412.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="443.07,-416.38 453.07,-412.88 443.07,-409.38 443.07,-416.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node19->Node20 -->
|
||||
<g id="edge26_Node000019_Node000020" class="edge">
|
||||
<title>Node19->Node20</title>
|
||||
<g id="a_edge26_Node000019_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-529.04C279.79,-531.2 293.25,-533.5 305.88,-535.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="305.26,-539.1 315.71,-537.33 306.44,-532.2 305.26,-539.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="Node000022" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_Node000022"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-638.75 306.38,-638.75 306.38,-597 415.38,-597 415.38,-638.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-625.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-614" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-602.75" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node21->Node22 -->
|
||||
<g id="edge29_Node000021_Node000022" class="edge">
|
||||
<title>Node21->Node22</title>
|
||||
<g id="a_edge29_Node000021_Node000022"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-617.88C276.22,-617.88 285.7,-617.88 295,-617.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.69,-621.38 304.69,-617.88 294.69,-614.38 294.69,-621.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node4 -->
|
||||
<g id="edge31_Node000023_Node000004" class="edge">
|
||||
<title>Node23->Node4</title>
|
||||
<g id="a_edge31_Node000023_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.76,-497.88C114.44,-495.3 118.39,-492.51 122,-489.88 139.66,-477 159.01,-462.37 175.17,-449.99"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="177.29,-452.78 183.09,-443.91 173.03,-447.23 177.29,-452.78"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node5 -->
|
||||
<g id="edge33_Node000023_Node000005" class="edge">
|
||||
<title>Node23->Node5</title>
|
||||
<g id="a_edge33_Node000023_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M114.01,-517.87C117,-520.18 119.83,-522.86 122,-525.88 155.02,-571.76 112.72,-614.03 158,-647.88 196.8,-676.88 228.2,-676.88 267,-647.88 312.28,-614.03 274.57,-574.74 303,-525.88 312.24,-510 326.62,-495.13 338.61,-484.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="340.79,-487.03 346.05,-477.83 336.2,-481.75 340.79,-487.03"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node6 -->
|
||||
<g id="edge32_Node000023_Node000006" class="edge">
|
||||
<title>Node23->Node6</title>
|
||||
<g id="a_edge32_Node000023_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M114.53,-497.85C117.4,-495.57 120.05,-492.9 122,-489.88 169.88,-415.37 121.55,-374.6 158,-293.88 164.19,-280.16 173.74,-266.76 183.06,-255.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="185.53,-258.02 189.43,-248.17 180.24,-253.44 185.53,-258.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node14 -->
|
||||
<g id="edge34_Node000023_Node000014" class="edge">
|
||||
<title>Node23->Node14</title>
|
||||
<g id="a_edge34_Node000023_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M113.85,-497.76C116.86,-495.46 119.74,-492.81 122,-489.88 150.32,-453.12 135.37,-432.39 158,-391.88 165.46,-378.53 175.44,-365.04 184.76,-353.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="187.31,-356.05 191.07,-346.14 181.95,-351.55 187.31,-356.05"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node19 -->
|
||||
<g id="edge35_Node000023_Node000019" class="edge">
|
||||
<title>Node23->Node19</title>
|
||||
<g id="a_edge35_Node000023_Node000019"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.12,-510.05C125.59,-510.93 135.89,-512 146.52,-513.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.85,-516.56 156.16,-514.11 146.57,-509.6 145.85,-516.56"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node20 -->
|
||||
<g id="edge36_Node000023_Node000020" class="edge">
|
||||
<title>Node23->Node20</title>
|
||||
<g id="a_edge36_Node000023_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M114.42,-517.97C117.3,-520.25 119.98,-522.89 122,-525.88 161.61,-584.46 102.62,-636.89 158,-680.88 195.93,-711.01 227.04,-708.26 267,-680.88 303.56,-655.82 276.3,-623.26 303,-587.88 310.91,-577.39 322.03,-568.21 332.35,-561.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="334.13,-564.07 340.59,-555.67 330.3,-558.21 334.13,-564.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node21 -->
|
||||
<g id="edge37_Node000023_Node000021" class="edge">
|
||||
<title>Node23->Node21</title>
|
||||
<g id="a_edge37_Node000023_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M112.56,-517.8C115.89,-520.22 119.21,-522.95 122,-525.88 142.69,-547.55 136.98,-561.52 158,-582.88 160.38,-585.29 162.95,-587.62 165.63,-589.87"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.23,-592.44 173.29,-595.77 167.5,-586.89 163.23,-592.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node4 -->
|
||||
<g id="edge39_Node000024_Node000004" class="edge">
|
||||
<title>Node24->Node4</title>
|
||||
<g id="a_edge39_Node000024_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.12,-462C126.85,-457.86 138.98,-452.71 151.27,-447.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.35,-450.83 160.19,-443.69 149.61,-444.38 152.35,-450.83"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge41_Node000024_Node000005" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<g id="a_edge41_Node000024_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M116.94,-470.56C154.03,-470 233.41,-468.79 291.36,-467.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.19,-471.42 301.14,-467.77 291.09,-464.42 291.19,-471.42"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge40_Node000024_Node000006" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<g id="a_edge40_Node000024_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M101.48,-461.13C107.06,-450.47 115.92,-432.79 122,-416.88 142.32,-363.66 131.92,-344.51 158,-293.88 164.95,-280.39 174.74,-266.96 184.05,-255.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="186.56,-258.09 190.37,-248.21 181.23,-253.56 186.56,-258.09"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node14 -->
|
||||
<g id="edge42_Node000024_Node000014" class="edge">
|
||||
<title>Node24->Node14</title>
|
||||
<g id="a_edge42_Node000024_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M103.85,-461.14C115.49,-446.22 138.45,-416.81 158,-391.88 167.73,-379.47 178.47,-365.81 187.76,-354"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="190.48,-356.21 193.92,-346.19 184.98,-351.88 190.48,-356.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node19 -->
|
||||
<g id="edge43_Node000024_Node000019" class="edge">
|
||||
<title>Node24->Node19</title>
|
||||
<g id="a_edge43_Node000024_Node000019"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.12,-479.75C126.85,-483.89 138.98,-489.04 151.27,-494.27"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.61,-497.37 160.19,-498.06 152.35,-490.92 149.61,-497.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge44_Node000024_Node000020" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<g id="a_edge44_Node000024_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M112.9,-480.94C116.13,-483.31 119.33,-485.99 122,-488.88 143.39,-511.97 130.66,-534.27 158,-549.88 207.19,-577.96 274.7,-568.61 317.81,-557.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="318.51,-561.32 327.29,-555.38 316.73,-554.55 318.51,-561.32"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge45_Node000024_Node000021" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<g id="a_edge45_Node000024_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M113.55,-480.81C116.66,-483.16 119.65,-485.87 122,-488.88 149.54,-524.13 129.92,-548.05 158,-582.88 159.8,-585.11 161.78,-587.24 163.88,-589.28"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="161.49,-591.84 171.37,-595.67 166.03,-586.51 161.49,-591.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</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()"/>
|
||||
<use id="arrowup" xlink:href="#arrowUp" x="0" y="0" onmousedown="handlePan(0,-1)"/>
|
||||
<use id="arrowright" xlink:href="#arrowRight" x="0" y="0" onmousedown="handlePan(1,0)"/>
|
||||
<use id="arrowdown" xlink:href="#arrowDown" x="0" y="0" onmousedown="handlePan(0,1)"/>
|
||||
<use id="arrowleft" xlink:href="#arrowLeft" x="0" y="0" onmousedown="handlePan(-1,0)"/>
|
||||
</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="fibonacci__sum_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph_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>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 40 KiB |
@@ -1,665 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<svg width="572pt" height="711pt"
|
||||
viewBox="0.00 0.00 571.75 710.62" 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 706.62)">
|
||||
<title>test</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="32.5,-498.5 0,-498.5 0,-479.25 32.5,-479.25 32.5,-498.5"/>
|
||||
<text text-anchor="middle" x="16.25" y="-485" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="122,-554.5 68.5,-554.5 68.5,-535.25 122,-535.25 122,-554.5"/>
|
||||
<text text-anchor="middle" x="95.25" y="-541" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M30.66,-498.98C40.96,-506.7 55.56,-517.55 68.5,-526.88 69.18,-527.37 69.87,-527.86 70.57,-528.36"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="68.34,-531.07 78.53,-533.98 72.38,-525.35 68.34,-531.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="116.75,-407.5 73.75,-407.5 73.75,-388.25 116.75,-388.25 116.75,-407.5"/>
|
||||
<text text-anchor="middle" x="95.25" y="-394" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M25.78,-478.79C38.51,-463.75 62.68,-435.19 78.63,-416.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="81.15,-418.78 84.93,-408.89 75.8,-414.26 81.15,-418.78"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="Node000023" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_Node000023"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="116.75,-517.5 73.75,-517.5 73.75,-498.25 116.75,-498.25 116.75,-517.5"/>
|
||||
<text text-anchor="middle" x="95.25" y="-504" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node23 -->
|
||||
<g id="edge30_Node000001_Node000023" class="edge">
|
||||
<title>Node1->Node23</title>
|
||||
<g id="a_edge30_Node000001_Node000023"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M32.83,-492.72C41.33,-494.82 52.16,-497.49 62.35,-500"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.42,-503.38 71.97,-502.38 63.1,-496.58 61.42,-503.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="Node000024" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_Node000024"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="116.75,-480.5 73.75,-480.5 73.75,-461.25 116.75,-461.25 116.75,-480.5"/>
|
||||
<text text-anchor="middle" x="95.25" y="-467" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node24 -->
|
||||
<g id="edge38_Node000001_Node000024" class="edge">
|
||||
<title>Node1->Node24</title>
|
||||
<g id="a_edge38_Node000001_Node000024"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M32.83,-485.23C41.33,-483.25 52.16,-480.71 62.35,-478.33"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="63.02,-481.77 71.96,-476.09 61.43,-474.95 63.02,-481.77"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="#666666" points="267,-442.75 158,-442.75 158,-401 267,-401 267,-442.75"/>
|
||||
<text text-anchor="start" x="166" y="-429.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-418" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-406.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge3_Node000003_Node000004" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.12,-402.22C125.59,-403.99 135.89,-406.13 146.52,-408.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.68,-411.74 156.18,-410.35 147.1,-404.89 145.68,-411.74"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="418.75,-476.5 303,-476.5 303,-457.25 418.75,-457.25 418.75,-476.5"/>
|
||||
<text text-anchor="middle" x="360.88" y="-463" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node5 -->
|
||||
<g id="edge18_Node000003_Node000005" class="edge">
|
||||
<title>Node3->Node5</title>
|
||||
<g id="a_edge18_Node000003_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M98.67,-387.78C104.52,-365.92 121.68,-314.55 158,-293.88 200.1,-269.91 228.93,-263.91 267,-293.88 320.53,-336.01 258.89,-390.96 303,-442.88 305.69,-446.04 308.87,-448.8 312.33,-451.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="310.28,-454.06 320.69,-456 313.76,-447.99 310.28,-454.06"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="#666666" points="267,-246.75 158,-246.75 158,-205 267,-205 267,-246.75"/>
|
||||
<text text-anchor="start" x="166" y="-233.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-222" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-210.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node6 -->
|
||||
<g id="edge5_Node000003_Node000006" class="edge">
|
||||
<title>Node3->Node6</title>
|
||||
<g id="a_edge5_Node000003_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M98.67,-387.87C104.92,-363.69 123.58,-301.13 158,-260.88 160.03,-258.5 162.26,-256.23 164.62,-254.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="166.39,-257.13 171.88,-248.07 161.94,-251.73 166.39,-257.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="#666666" points="267,-344.75 158,-344.75 158,-303 267,-303 267,-344.75"/>
|
||||
<text text-anchor="start" x="166" y="-331.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-320" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-308.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node14 -->
|
||||
<g id="edge19_Node000003_Node000014" class="edge">
|
||||
<title>Node3->Node14</title>
|
||||
<g id="a_edge19_Node000003_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M111.79,-387.9C126.37,-378.54 148.84,-364.11 168.76,-351.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="170.49,-354.37 177.01,-346.02 166.71,-348.48 170.49,-354.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="Node000019" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_Node000019"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="#666666" points="267,-540.75 158,-540.75 158,-499 267,-499 267,-540.75"/>
|
||||
<text text-anchor="start" x="166" y="-527.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-516" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-504.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node19 -->
|
||||
<g id="edge25_Node000003_Node000019" class="edge">
|
||||
<title>Node3->Node19</title>
|
||||
<g id="a_edge25_Node000003_Node000019"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M105.68,-407.86C122.56,-425.73 158.54,-463.81 183.84,-490.6"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="181.19,-492.89 190.6,-497.75 186.28,-488.08 181.19,-492.89"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="Node000020" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_Node000020"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="404.12,-554.5 317.62,-554.5 317.62,-535.25 404.12,-535.25 404.12,-554.5"/>
|
||||
<text text-anchor="middle" x="360.88" y="-541" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node20 -->
|
||||
<g id="edge27_Node000003_Node000020" class="edge">
|
||||
<title>Node3->Node20</title>
|
||||
<g id="a_edge27_Node000003_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.09,-389.86C151.63,-378.04 221.42,-360.52 267,-391.88 303.86,-417.23 278.99,-448.12 303,-485.88 312.98,-501.56 327.59,-516.61 339.5,-527.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="337.04,-530.08 346.84,-534.11 341.7,-524.85 337.04,-530.08"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="Node000021" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_Node000021"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="#666666" points="267,-638.75 158,-638.75 158,-597 267,-597 267,-638.75"/>
|
||||
<text text-anchor="start" x="166" y="-625.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="166" y="-614" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="212.5" y="-602.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node21 -->
|
||||
<g id="edge28_Node000003_Node000021" class="edge">
|
||||
<title>Node3->Node21</title>
|
||||
<g id="a_edge28_Node000003_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M101.28,-407.7C106.68,-418.43 115.39,-436.18 122,-451.88 140.01,-494.64 135.37,-509.36 158,-549.88 165.46,-563.22 175.44,-576.71 184.76,-588.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="181.95,-590.2 191.07,-595.61 187.31,-585.7 181.95,-590.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-438.38C283.32,-443.34 300.84,-448.73 316.26,-453.47"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="315.03,-456.75 325.62,-456.34 317.09,-450.06 315.03,-456.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="#666666" points="563.75,-285.75 454.75,-285.75 454.75,-244 563.75,-244 563.75,-285.75"/>
|
||||
<text text-anchor="start" x="462.75" y="-272.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="462.75" y="-261" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="509.25" y="-249.75" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge6_Node000006_Node000007" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<g id="a_edge6_Node000006_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.32,-228.97C308.86,-231.82 367.67,-236.84 418.75,-244.88 426.75,-246.13 435.11,-247.68 443.36,-249.36"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="442.52,-252.76 453.03,-251.39 443.96,-245.91 442.52,-252.76"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-41.75 306.38,-41.75 306.38,0 415.38,0 415.38,-41.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node8 -->
|
||||
<g id="edge7_Node000006_Node000008" class="edge">
|
||||
<title>Node6->Node8</title>
|
||||
<g id="a_edge7_Node000006_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M222.69,-204.59C236.98,-172.94 266.68,-112.53 303,-68.88 308.69,-62.03 315.44,-55.39 322.27,-49.35"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="324.37,-52.16 329.72,-43.01 319.84,-46.82 324.37,-52.16"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-295.75 306.38,-295.75 306.38,-254 415.38,-254 415.38,-295.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-282.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-271" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-259.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node9 -->
|
||||
<g id="edge9_Node000006_Node000009" class="edge">
|
||||
<title>Node6->Node9</title>
|
||||
<g id="a_edge9_Node000006_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-243.84C276.32,-246.91 285.91,-250.11 295.3,-253.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.18,-256.57 304.77,-256.43 296.4,-249.94 294.18,-256.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-179.75 306.38,-179.75 306.38,-138 415.38,-138 415.38,-179.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-166.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-155" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-143.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node10 -->
|
||||
<g id="edge11_Node000006_Node000010" class="edge">
|
||||
<title>Node6->Node10</title>
|
||||
<g id="a_edge11_Node000006_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M259.81,-204.68C273.56,-198.38 288.78,-191.42 303.11,-184.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="304.35,-188.14 311.98,-180.8 301.43,-181.78 304.35,-188.14"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-119.75 306.38,-119.75 306.38,-78 415.38,-78 415.38,-119.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-106.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-95" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-83.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node11 -->
|
||||
<g id="edge13_Node000006_Node000011" class="edge">
|
||||
<title>Node6->Node11</title>
|
||||
<g id="a_edge13_Node000006_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M229.56,-204.61C246.24,-183.53 273.94,-151.22 303,-128.88 304.12,-128.01 305.27,-127.16 306.44,-126.33"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="308.08,-129.44 314.51,-121.01 304.23,-123.59 308.08,-129.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node8 -->
|
||||
<g id="edge8_Node000008_Node000008" class="edge">
|
||||
<title>Node8->Node8</title>
|
||||
<g id="a_edge8_Node000008_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M333.49,-42.07C330.88,-51.55 340.01,-59.75 360.88,-59.75 372.94,-59.75 381.08,-57.01 385.29,-52.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="388.59,-54.1 387.86,-43.53 381.84,-52.24 388.59,-54.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9->Node9 -->
|
||||
<g id="edge10_Node000009_Node000009" class="edge">
|
||||
<title>Node9->Node9</title>
|
||||
<g id="a_edge10_Node000009_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M333.49,-296.07C330.88,-305.55 340.01,-313.75 360.88,-313.75 372.94,-313.75 381.08,-311.01 385.29,-306.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="388.59,-308.1 387.86,-297.53 381.84,-306.24 388.59,-308.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10->Node10 -->
|
||||
<g id="edge12_Node000010_Node000010" class="edge">
|
||||
<title>Node10->Node10</title>
|
||||
<g id="a_edge12_Node000010_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M333.49,-180.07C330.88,-189.55 340.01,-197.75 360.88,-197.75 372.94,-197.75 381.08,-195.01 385.29,-190.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="388.59,-192.1 387.86,-181.53 381.84,-190.24 388.59,-192.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="#666666" points="563.75,-80.75 454.75,-80.75 454.75,-39 563.75,-39 563.75,-80.75"/>
|
||||
<text text-anchor="start" x="462.75" y="-67.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="462.75" y="-56" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="509.25" y="-44.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node12 -->
|
||||
<g id="edge14_Node000011_Node000012" class="edge">
|
||||
<title>Node11->Node12</title>
|
||||
<g id="a_edge14_Node000011_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M415.55,-84.57C424.7,-82.14 434.28,-79.58 443.68,-77.08"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="444.36,-80.52 453.12,-74.56 442.56,-73.76 444.36,-80.52"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="#666666" points="563.75,-158.75 454.75,-158.75 454.75,-117 563.75,-117 563.75,-158.75"/>
|
||||
<text text-anchor="start" x="462.75" y="-145.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="462.75" y="-134" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="509.25" y="-122.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node13 -->
|
||||
<g id="edge16_Node000011_Node000013" class="edge">
|
||||
<title>Node11->Node13</title>
|
||||
<g id="a_edge16_Node000011_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M415.55,-113.18C424.7,-115.61 434.28,-118.17 443.68,-120.67"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="442.56,-123.99 453.12,-123.19 444.36,-117.23 442.56,-123.99"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node12 -->
|
||||
<g id="edge15_Node000012_Node000012" class="edge">
|
||||
<title>Node12->Node12</title>
|
||||
<g id="a_edge15_Node000012_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M481.86,-81.07C479.26,-90.55 488.38,-98.75 509.25,-98.75 521.31,-98.75 529.45,-96.01 533.67,-91.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="536.96,-93.1 536.23,-82.53 530.21,-91.24 536.96,-93.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node13 -->
|
||||
<g id="edge17_Node000013_Node000013" class="edge">
|
||||
<title>Node13->Node13</title>
|
||||
<g id="a_edge17_Node000013_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M481.86,-159.07C479.26,-168.55 488.38,-176.75 509.25,-176.75 521.31,-176.75 529.45,-174.01 533.67,-169.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="536.96,-171.1 536.23,-160.53 530.21,-169.24 536.96,-171.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="Node000015" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_Node000015"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-373.75 306.38,-373.75 306.38,-332 415.38,-332 415.38,-373.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-360.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-337.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node15 -->
|
||||
<g id="edge20_Node000014_Node000015" class="edge">
|
||||
<title>Node14->Node15</title>
|
||||
<g id="a_edge20_Node000014_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-334.51C276.22,-336.3 285.7,-338.18 295,-340.02"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.23,-343.44 304.72,-341.95 295.59,-336.57 294.23,-343.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="Node000017" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_Node000017"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-433.75 306.38,-433.75 306.38,-392 415.38,-392 415.38,-433.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-420.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-409" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-397.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node17 -->
|
||||
<g id="edge23_Node000014_Node000017" class="edge">
|
||||
<title>Node14->Node17</title>
|
||||
<g id="a_edge23_Node000014_Node000017"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M246.07,-345.12C252.98,-349.65 260.24,-354.41 267,-358.88 283.05,-369.47 286.47,-373.04 303,-382.88 304.83,-383.97 306.71,-385.06 308.62,-386.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="306.53,-389 316.96,-390.83 309.95,-382.89 306.53,-389"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node7 -->
|
||||
<g id="edge21_Node000015_Node000007" class="edge">
|
||||
<title>Node15->Node7</title>
|
||||
<g id="a_edge21_Node000015_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M403.43,-331.51C408.63,-328.68 413.84,-325.75 418.75,-322.88 434.87,-313.43 452.18,-302.42 467.25,-292.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="469.11,-295.51 475.53,-287.08 465.25,-289.67 469.11,-295.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="Node000016" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_Node000016"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="538.62,-362.5 479.88,-362.5 479.88,-343.25 538.62,-343.25 538.62,-362.5"/>
|
||||
<text text-anchor="middle" x="509.25" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge22_Node000015_Node000016" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<g id="a_edge22_Node000015_Node000016"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M415.55,-352.88C433.01,-352.88 452.08,-352.88 468.35,-352.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="468.13,-356.38 478.13,-352.88 468.13,-349.38 468.13,-356.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="Node000018" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_Node000018"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="#666666" points="563.75,-433.75 454.75,-433.75 454.75,-392 563.75,-392 563.75,-433.75"/>
|
||||
<text text-anchor="start" x="462.75" y="-420.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="462.75" y="-409" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="509.25" y="-397.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17->Node18 -->
|
||||
<g id="edge24_Node000017_Node000018" class="edge">
|
||||
<title>Node17->Node18</title>
|
||||
<g id="a_edge24_Node000017_Node000018"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M415.55,-412.88C424.6,-412.88 434.08,-412.88 443.37,-412.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="443.07,-416.38 453.07,-412.88 443.07,-409.38 443.07,-416.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node19->Node20 -->
|
||||
<g id="edge26_Node000019_Node000020" class="edge">
|
||||
<title>Node19->Node20</title>
|
||||
<g id="a_edge26_Node000019_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-529.04C279.79,-531.2 293.25,-533.5 305.88,-535.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="305.26,-539.1 315.71,-537.33 306.44,-532.2 305.26,-539.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="Node000022" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_Node000022"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="#666666" points="415.38,-638.75 306.38,-638.75 306.38,-597 415.38,-597 415.38,-638.75"/>
|
||||
<text text-anchor="start" x="314.38" y="-625.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="314.38" y="-614" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="360.88" y="-602.75" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node21->Node22 -->
|
||||
<g id="edge29_Node000021_Node000022" class="edge">
|
||||
<title>Node21->Node22</title>
|
||||
<g id="a_edge29_Node000021_Node000022"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M267.17,-617.88C276.22,-617.88 285.7,-617.88 295,-617.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.69,-621.38 304.69,-617.88 294.69,-614.38 294.69,-621.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node4 -->
|
||||
<g id="edge31_Node000023_Node000004" class="edge">
|
||||
<title>Node23->Node4</title>
|
||||
<g id="a_edge31_Node000023_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.76,-497.88C114.44,-495.3 118.39,-492.51 122,-489.88 139.66,-477 159.01,-462.37 175.17,-449.99"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="177.29,-452.78 183.09,-443.91 173.03,-447.23 177.29,-452.78"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node5 -->
|
||||
<g id="edge33_Node000023_Node000005" class="edge">
|
||||
<title>Node23->Node5</title>
|
||||
<g id="a_edge33_Node000023_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M114.01,-517.87C117,-520.18 119.83,-522.86 122,-525.88 155.02,-571.76 112.72,-614.03 158,-647.88 196.8,-676.88 228.2,-676.88 267,-647.88 312.28,-614.03 274.57,-574.74 303,-525.88 312.24,-510 326.62,-495.13 338.61,-484.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="340.79,-487.03 346.05,-477.83 336.2,-481.75 340.79,-487.03"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node6 -->
|
||||
<g id="edge32_Node000023_Node000006" class="edge">
|
||||
<title>Node23->Node6</title>
|
||||
<g id="a_edge32_Node000023_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M114.53,-497.85C117.4,-495.57 120.05,-492.9 122,-489.88 169.88,-415.37 121.55,-374.6 158,-293.88 164.19,-280.16 173.74,-266.76 183.06,-255.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="185.53,-258.02 189.43,-248.17 180.24,-253.44 185.53,-258.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node14 -->
|
||||
<g id="edge34_Node000023_Node000014" class="edge">
|
||||
<title>Node23->Node14</title>
|
||||
<g id="a_edge34_Node000023_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M113.85,-497.76C116.86,-495.46 119.74,-492.81 122,-489.88 150.32,-453.12 135.37,-432.39 158,-391.88 165.46,-378.53 175.44,-365.04 184.76,-353.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="187.31,-356.05 191.07,-346.14 181.95,-351.55 187.31,-356.05"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node19 -->
|
||||
<g id="edge35_Node000023_Node000019" class="edge">
|
||||
<title>Node23->Node19</title>
|
||||
<g id="a_edge35_Node000023_Node000019"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.12,-510.05C125.59,-510.93 135.89,-512 146.52,-513.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.85,-516.56 156.16,-514.11 146.57,-509.6 145.85,-516.56"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node20 -->
|
||||
<g id="edge36_Node000023_Node000020" class="edge">
|
||||
<title>Node23->Node20</title>
|
||||
<g id="a_edge36_Node000023_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M114.42,-517.97C117.3,-520.25 119.98,-522.89 122,-525.88 161.61,-584.46 102.62,-636.89 158,-680.88 195.93,-711.01 227.04,-708.26 267,-680.88 303.56,-655.82 276.3,-623.26 303,-587.88 310.91,-577.39 322.03,-568.21 332.35,-561.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="334.13,-564.07 340.59,-555.67 330.3,-558.21 334.13,-564.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node21 -->
|
||||
<g id="edge37_Node000023_Node000021" class="edge">
|
||||
<title>Node23->Node21</title>
|
||||
<g id="a_edge37_Node000023_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M112.56,-517.8C115.89,-520.22 119.21,-522.95 122,-525.88 142.69,-547.55 136.98,-561.52 158,-582.88 160.38,-585.29 162.95,-587.62 165.63,-589.87"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="163.23,-592.44 173.29,-595.77 167.5,-586.89 163.23,-592.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node4 -->
|
||||
<g id="edge39_Node000024_Node000004" class="edge">
|
||||
<title>Node24->Node4</title>
|
||||
<g id="a_edge39_Node000024_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.12,-462C126.85,-457.86 138.98,-452.71 151.27,-447.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.35,-450.83 160.19,-443.69 149.61,-444.38 152.35,-450.83"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge41_Node000024_Node000005" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<g id="a_edge41_Node000024_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M116.94,-470.56C154.03,-470 233.41,-468.79 291.36,-467.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="291.19,-471.42 301.14,-467.77 291.09,-464.42 291.19,-471.42"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge40_Node000024_Node000006" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<g id="a_edge40_Node000024_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M101.48,-461.13C107.06,-450.47 115.92,-432.79 122,-416.88 142.32,-363.66 131.92,-344.51 158,-293.88 164.95,-280.39 174.74,-266.96 184.05,-255.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="186.56,-258.09 190.37,-248.21 181.23,-253.56 186.56,-258.09"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node14 -->
|
||||
<g id="edge42_Node000024_Node000014" class="edge">
|
||||
<title>Node24->Node14</title>
|
||||
<g id="a_edge42_Node000024_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M103.85,-461.14C115.49,-446.22 138.45,-416.81 158,-391.88 167.73,-379.47 178.47,-365.81 187.76,-354"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="190.48,-356.21 193.92,-346.19 184.98,-351.88 190.48,-356.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node19 -->
|
||||
<g id="edge43_Node000024_Node000019" class="edge">
|
||||
<title>Node24->Node19</title>
|
||||
<g id="a_edge43_Node000024_Node000019"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M117.12,-479.75C126.85,-483.89 138.98,-489.04 151.27,-494.27"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.61,-497.37 160.19,-498.06 152.35,-490.92 149.61,-497.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge44_Node000024_Node000020" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<g id="a_edge44_Node000024_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M112.9,-480.94C116.13,-483.31 119.33,-485.99 122,-488.88 143.39,-511.97 130.66,-534.27 158,-549.88 207.19,-577.96 274.7,-568.61 317.81,-557.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="318.51,-561.32 327.29,-555.38 316.73,-554.55 318.51,-561.32"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge45_Node000024_Node000021" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<g id="a_edge45_Node000024_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M113.55,-480.81C116.66,-483.16 119.65,-485.87 122,-488.88 149.54,-524.13 129.92,-548.05 158,-582.88 159.8,-585.11 161.78,-587.24 163.88,-589.28"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="161.49,-591.84 171.37,-595.67 166.03,-586.51 161.49,-591.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 36 KiB |
@@ -1,7 +0,0 @@
|
||||
<map id="math::fibonacci_sum::result" name="math::fibonacci_sum::result">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,29,148,70"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000001" title=" " alt="" coords="40,29,38,19,44,10,57,5,77,3,97,5,110,11,107,16,96,10,76,8,59,10,48,15,44,20,45,28"/>
|
||||
<area shape="rect" id="Node000002" href="$de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" title=" " alt="" coords="196,29,338,70"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="148,47,180,47,180,52,148,52"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000002" title=" " alt="" coords="230,29,229,19,235,10,248,5,267,3,288,5,300,11,298,16,286,10,267,8,249,10,238,15,234,20,236,28"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
9adfa4c5873007f3f969baec2b6b4b9d
|
||||
@@ -1,85 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: math::fibonacci_sum::result Pages: 1 -->
|
||||
<svg width="258pt" height="57pt"
|
||||
viewBox="0.00 0.00 257.50 56.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 52.5)">
|
||||
<title>math::fibonacci_sum::result</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="106.75,-30.5 0,-30.5 0,0 106.75,0 106.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="53.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::result</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge3_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge3_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M28.08,-30.99C22.92,-40.06 31.35,-48.5 53.38,-48.5 65.42,-48.5 73.4,-45.97 77.31,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.76,-42.84 78.49,-32.49 73.81,-42 80.76,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="249.5,-30.5 142.75,-30.5 142.75,0 249.5,0 249.5,-30.5"/>
|
||||
<text text-anchor="start" x="150.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="196.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::power</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M107.19,-15.25C115.03,-15.25 123.19,-15.25 131.23,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.97,-18.75 140.97,-15.25 130.97,-11.75 130.97,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge2_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M170.83,-30.99C165.67,-40.06 174.1,-48.5 196.12,-48.5 208.17,-48.5 216.15,-45.97 220.06,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="223.51,-42.84 221.24,-32.49 216.56,-42 223.51,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.5 KiB |
@@ -1,59 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: math::fibonacci_sum::result Pages: 1 -->
|
||||
<svg width="258pt" height="57pt"
|
||||
viewBox="0.00 0.00 257.50 56.50" 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 52.5)">
|
||||
<title>math::fibonacci_sum::result</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="106.75,-30.5 0,-30.5 0,0 106.75,0 106.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="53.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::result</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge3_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge3_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M28.08,-30.99C22.92,-40.06 31.35,-48.5 53.38,-48.5 65.42,-48.5 73.4,-45.97 77.31,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.76,-42.84 78.49,-32.49 73.81,-42 80.76,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="249.5,-30.5 142.75,-30.5 142.75,0 249.5,0 249.5,-30.5"/>
|
||||
<text text-anchor="start" x="150.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">math::fibonacci_sum</text>
|
||||
<text text-anchor="middle" x="196.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::power</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M107.19,-15.25C115.03,-15.25 123.19,-15.25 131.23,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.97,-18.75 140.97,-15.25 130.97,-11.75 130.97,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge2_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M170.83,-30.99C165.67,-40.06 174.1,-48.5 196.12,-48.5 208.17,-48.5 216.15,-45.97 220.06,-42.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="223.51,-42.84 221.24,-32.49 216.56,-42 223.51,-42.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.8 KiB |
@@ -1,73 +0,0 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="Node000001" title="Main function." alt="" coords="5,277,55,303"/>
|
||||
<area shape="rect" id="Node000002" href="$de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title=" " alt="" coords="103,277,146,303"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,288,87,288,87,293,55,293"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="194,203,265,228"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="142,275,192,237,195,236,198,240,196,242,145,279"/>
|
||||
<area shape="rect" id="Node000004" href="$d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" title=" " alt="" coords="201,399,258,424"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="139,302,210,385,205,389,135,305"/>
|
||||
<area shape="rect" id="Node000024" href="$d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" title=" " alt="" coords="201,252,258,278"/>
|
||||
<area shape="poly" id="edge31_Node000002_Node000024" title=" " alt="" coords="146,283,185,273,186,278,147,288"/>
|
||||
<area shape="rect" id="Node000025" href="$d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" title=" " alt="" coords="201,301,258,327"/>
|
||||
<area shape="poly" id="edge39_Node000002_Node000025" title=" " alt="" coords="147,293,186,302,185,307,146,298"/>
|
||||
<area shape="rect" id="Node000005" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" title="Adds an undirected edge from node u to node v in the tree." alt="" coords="313,352,459,407"/>
|
||||
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="258,403,297,395,299,400,259,408"/>
|
||||
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="507,307,661,332"/>
|
||||
<area shape="poly" id="edge19_Node000004_Node000006" title=" " alt="" coords="237,424,246,452,261,487,284,521,315,548,353,567,388,575,422,569,457,548,477,527,485,505,487,481,485,456,482,430,482,404,488,377,505,350,517,339,521,343,509,353,493,379,487,404,487,430,490,456,492,481,491,506,481,530,460,552,423,574,388,580,352,572,312,553,280,525,256,490,241,454,232,426"/>
|
||||
<area shape="rect" id="Node000007" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="313,613,459,669"/>
|
||||
<area shape="poly" id="edge6_Node000004_Node000007" title=" " alt="" coords="237,424,262,501,285,548,315,593,324,602,320,605,311,596,280,551,257,503,232,426"/>
|
||||
<area shape="rect" id="Node000015" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" title="This function returns the sum of node values in the simple path from from node_1 to node_2." alt="" coords="313,482,459,538"/>
|
||||
<area shape="poly" id="edge20_Node000004_Node000015" title=" " alt="" coords="253,423,329,471,326,476,250,427"/>
|
||||
<area shape="rect" id="Node000020" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" title="Set the values for all the nodes." alt="" coords="313,221,459,277"/>
|
||||
<area shape="poly" id="edge26_Node000004_Node000020" title=" " alt="" coords="242,397,346,286,350,290,246,400"/>
|
||||
<area shape="rect" id="Node000021" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="526,203,642,228"/>
|
||||
<area shape="poly" id="edge28_Node000004_Node000021" title=" " alt="" coords="260,420,301,432,353,440,408,437,434,430,457,417,472,405,480,392,486,363,490,330,495,312,504,293,528,262,553,237,557,241,532,266,509,296,500,314,495,331,492,364,485,394,476,408,460,422,436,435,409,443,353,445,300,437,258,425"/>
|
||||
<area shape="rect" id="Node000022" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" title="This function updates the value at node with val." alt="" coords="313,90,459,146"/>
|
||||
<area shape="poly" id="edge29_Node000004_Node000022" title=" " alt="" coords="235,397,263,339,284,272,294,243,311,208,347,156,351,160,316,210,299,245,290,274,268,341,240,400"/>
|
||||
<area shape="poly" id="edge5_Node000005_Node000006" title=" " alt="" coords="458,355,524,335,525,340,460,360"/>
|
||||
<area shape="rect" id="Node000008" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" title="Function that specifies the type of operation involved when segments are combined." alt="" coords="709,561,854,617"/>
|
||||
<area shape="poly" id="edge7_Node000007_Node000008" title=" " alt="" coords="459,634,555,626,661,613,693,607,694,612,661,618,556,632,459,640"/>
|
||||
<area shape="rect" id="Node000009" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" title="Utility function to assign heavy child to each node (-1 for a leaf node)" alt="" coords="511,886,656,942"/>
|
||||
<area shape="poly" id="edge8_Node000007_Node000009" title=" " alt="" coords="402,668,444,753,474,802,509,849,534,874,530,878,505,852,470,805,440,755,397,671"/>
|
||||
<area shape="rect" id="Node000010" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" title="Utility function to lable the nodes so that heavy chains have a contigous lable." alt="" coords="511,548,656,603"/>
|
||||
<area shape="poly" id="edge10_Node000007_Node000010" title=" " alt="" coords="458,615,496,602,497,607,460,620"/>
|
||||
<area shape="rect" id="Node000011" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" title="Utility function to assign highest parent that can be reached though heavy chains." alt="" coords="511,702,656,758"/>
|
||||
<area shape="poly" id="edge12_Node000007_Node000011" title=" " alt="" coords="450,667,508,693,506,698,448,672"/>
|
||||
<area shape="rect" id="Node000012" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="511,782,656,838"/>
|
||||
<area shape="poly" id="edge14_Node000007_Node000012" title=" " alt="" coords="411,668,453,717,508,768,513,772,510,776,505,772,450,721,407,671"/>
|
||||
<area shape="poly" id="edge9_Node000009_Node000009" title=" " alt="" coords="545,886,545,876,552,867,565,862,584,860,605,862,618,869,615,874,603,868,584,865,567,867,555,872,550,878,550,886"/>
|
||||
<area shape="poly" id="edge11_Node000010_Node000010" title=" " alt="" coords="545,547,545,537,552,529,565,523,584,521,605,524,618,531,615,535,603,529,584,526,567,528,555,533,550,539,550,547"/>
|
||||
<area shape="poly" id="edge13_Node000011_Node000011" title=" " alt="" coords="545,702,545,692,552,683,565,678,584,676,605,678,618,685,615,690,603,684,584,681,567,683,555,688,550,694,550,702"/>
|
||||
<area shape="rect" id="Node000013" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" title="Utility function to populate the t_par vector." alt="" coords="709,834,854,890"/>
|
||||
<area shape="poly" id="edge15_Node000012_Node000013" title=" " alt="" coords="657,827,695,837,694,842,656,832"/>
|
||||
<area shape="rect" id="Node000014" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" title="Utility function to compute sub-tree sizes." alt="" coords="709,730,854,786"/>
|
||||
<area shape="poly" id="edge17_Node000012_Node000014" title=" " alt="" coords="656,789,694,779,695,784,657,794"/>
|
||||
<area shape="poly" id="edge16_Node000013_Node000013" title=" " alt="" coords="742,834,743,824,750,815,763,810,782,808,803,810,815,817,813,822,801,816,782,813,764,815,753,820,748,826,748,834"/>
|
||||
<area shape="poly" id="edge18_Node000014_Node000014" title=" " alt="" coords="742,730,743,720,750,711,763,706,782,704,803,706,815,713,813,718,801,712,782,709,764,711,753,716,748,722,748,730"/>
|
||||
<area shape="rect" id="Node000016" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" title="Utility function to break down a path query into two chain queries." alt="" coords="511,444,656,499"/>
|
||||
<area shape="poly" id="edge21_Node000015_Node000016" title=" " alt="" coords="458,494,495,486,497,491,459,499"/>
|
||||
<area shape="rect" id="Node000018" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" title="The function returns the least common ancestor of two nodes." alt="" coords="511,364,656,419"/>
|
||||
<area shape="poly" id="edge24_Node000015_Node000018" title=" " alt="" coords="429,480,457,461,505,429,513,425,516,430,508,434,460,466,432,484"/>
|
||||
<area shape="poly" id="edge22_Node000016_Node000008" title=" " alt="" coords="642,498,662,509,727,550,724,554,660,514,639,502"/>
|
||||
<area shape="rect" id="Node000017" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="742,459,821,484"/>
|
||||
<area shape="poly" id="edge23_Node000016_Node000017" title=" " alt="" coords="657,469,727,469,727,474,657,474"/>
|
||||
<area shape="rect" id="Node000019" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store..." alt="" coords="709,364,854,419"/>
|
||||
<area shape="poly" id="edge25_Node000018_Node000019" title=" " alt="" coords="657,389,694,389,694,394,657,394"/>
|
||||
<area shape="poly" id="edge27_Node000020_Node000021" title=" " alt="" coords="458,234,510,225,511,231,459,239"/>
|
||||
<area shape="rect" id="Node000023" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" title="Update the value at a node." alt="" coords="511,90,656,146"/>
|
||||
<area shape="poly" id="edge30_Node000022_Node000023" title=" " alt="" coords="459,116,496,116,496,121,459,121"/>
|
||||
<area shape="poly" id="edge32_Node000024_Node000005" title=" " alt="" coords="252,276,267,287,338,340,335,344,264,291,249,280"/>
|
||||
<area shape="poly" id="edge34_Node000024_Node000006" title=" " alt="" coords="253,250,263,239,275,217,280,196,281,154,281,133,284,113,294,94,312,76,350,54,386,47,422,54,460,76,479,94,489,113,493,132,494,152,494,194,499,216,509,240,531,269,556,295,552,298,527,273,504,242,494,218,489,195,488,152,488,133,484,115,474,97,457,80,420,59,386,52,352,59,315,80,298,97,289,115,286,134,286,154,286,196,280,219,267,243,257,254"/>
|
||||
<area shape="poly" id="edge33_Node000024_Node000007" title=" " alt="" coords="257,277,268,287,286,323,296,356,298,387,298,417,297,478,303,512,316,549,331,576,349,600,345,603,326,579,311,551,297,513,292,478,292,416,293,387,290,357,281,325,263,291,253,280"/>
|
||||
<area shape="poly" id="edge35_Node000024_Node000015" title=" " alt="" coords="256,277,267,287,287,321,295,352,301,383,316,418,351,469,347,472,311,421,296,384,290,353,282,323,263,291,253,280"/>
|
||||
<area shape="poly" id="edge36_Node000024_Node000020" title=" " alt="" coords="259,259,298,255,298,261,259,265"/>
|
||||
<area shape="poly" id="edge37_Node000024_Node000021" title=" " alt="" coords="253,250,263,239,277,211,282,184,279,131,277,105,280,80,290,55,312,32,349,10,385,3,422,11,460,32,475,46,484,60,490,91,494,123,499,140,509,157,527,176,547,192,544,196,523,180,505,160,494,142,488,124,485,92,479,62,471,49,457,36,420,16,385,8,351,15,315,36,294,58,285,81,282,105,284,130,287,184,282,213,268,243,257,253"/>
|
||||
<area shape="poly" id="edge38_Node000024_Node000022" title=" " alt="" coords="251,250,263,239,278,220,287,202,296,183,311,163,322,154,325,158,315,167,300,186,292,204,283,222,267,243,254,254"/>
|
||||
<area shape="poly" id="edge40_Node000025_Node000005" title=" " alt="" coords="260,324,305,343,303,348,258,329"/>
|
||||
<area shape="poly" id="edge42_Node000025_Node000006" title=" " alt="" coords="259,312,491,316,491,321,259,317"/>
|
||||
<area shape="poly" id="edge41_Node000025_Node000007" title=" " alt="" coords="240,326,268,385,282,432,289,469,298,505,316,549,350,600,346,603,311,552,292,507,284,470,277,433,263,387,236,328"/>
|
||||
<area shape="poly" id="edge43_Node000025_Node000015" title=" " alt="" coords="243,326,315,418,355,468,351,472,311,421,239,329"/>
|
||||
<area shape="poly" id="edge44_Node000025_Node000020" title=" " alt="" coords="258,300,303,281,305,286,260,305"/>
|
||||
<area shape="poly" id="edge45_Node000025_Node000021" title=" " alt="" coords="251,299,263,289,277,266,284,245,292,225,312,207,338,195,366,187,423,182,478,186,527,196,526,201,478,191,423,187,367,192,340,200,315,211,297,228,289,247,282,269,267,292,255,303"/>
|
||||
<area shape="poly" id="edge46_Node000025_Node000022" title=" " alt="" coords="252,299,263,289,281,257,286,227,293,197,311,163,319,155,323,158,315,167,298,198,292,228,286,258,267,292,256,303"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
798bc8dc1fc6b328afc5a36dece8545c
|
||||
@@ -1,766 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<!--zoomable 711 -->
|
||||
|
||||
<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[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
|
||||
<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="arrowUp" transform="translate(30 24)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" 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" transform="rotate(90) translate(36 -43)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" 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" transform="rotate(180) translate(-30 -48)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" 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" transform="rotate(270) translate(-36 17)">
|
||||
<use xlink:href="#rim"/>
|
||||
<path pointer-events="none" 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="application/ecmascript">
|
||||
var viewWidth = 645;
|
||||
var viewHeight = 711;
|
||||
var sectionId = 'dynsection-2';
|
||||
</script>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<title>main</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Main function.">
|
||||
<polygon fill="#999999" stroke="#666666" points="37,-498.5 0,-498.5 0,-479.25 37,-479.25 37,-498.5"/>
|
||||
<text text-anchor="middle" x="18.5" y="-485" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="105.5,-498.5 73,-498.5 73,-479.25 105.5,-479.25 105.5,-498.5"/>
|
||||
<text text-anchor="middle" x="89.25" y="-485" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M37.2,-488.88C44.58,-488.88 53.31,-488.88 61.45,-488.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-492.38 71.2,-488.88 61.2,-485.38 61.2,-492.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="195,-554.5 141.5,-554.5 141.5,-535.25 195,-535.25 195,-554.5"/>
|
||||
<text text-anchor="middle" x="168.25" y="-541" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M103.66,-498.98C113.96,-506.7 128.56,-517.55 141.5,-526.88 142.18,-527.37 142.87,-527.86 143.57,-528.36"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="141.34,-531.07 151.53,-533.98 145.38,-525.35 141.34,-531.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="189.75,-407.5 146.75,-407.5 146.75,-388.25 189.75,-388.25 189.75,-407.5"/>
|
||||
<text text-anchor="middle" x="168.25" y="-394" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3_Node000002_Node000004" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M98.78,-478.79C111.51,-463.75 135.68,-435.19 151.63,-416.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="154.15,-418.78 157.93,-408.89 148.8,-414.26 154.15,-418.78"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="Node000024" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_Node000024"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="189.75,-517.5 146.75,-517.5 146.75,-498.25 189.75,-498.25 189.75,-517.5"/>
|
||||
<text text-anchor="middle" x="168.25" y="-504" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node24 -->
|
||||
<g id="edge31_Node000002_Node000024" class="edge">
|
||||
<title>Node2->Node24</title>
|
||||
<g id="a_edge31_Node000002_Node000024"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M105.83,-492.72C114.33,-494.82 125.16,-497.49 135.35,-500"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.42,-503.38 144.97,-502.38 136.1,-496.58 134.42,-503.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25 -->
|
||||
<g id="Node000025" class="node">
|
||||
<title>Node25</title>
|
||||
<g id="a_Node000025"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="189.75,-480.5 146.75,-480.5 146.75,-461.25 189.75,-461.25 189.75,-480.5"/>
|
||||
<text text-anchor="middle" x="168.25" y="-467" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node25 -->
|
||||
<g id="edge39_Node000002_Node000025" class="edge">
|
||||
<title>Node2->Node25</title>
|
||||
<g id="a_edge39_Node000002_Node000025"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M105.83,-485.23C114.33,-483.25 125.16,-480.71 135.35,-478.33"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="136.02,-481.77 144.96,-476.09 134.43,-474.95 136.02,-481.77"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="#666666" points="340,-442.75 231,-442.75 231,-401 340,-401 340,-442.75"/>
|
||||
<text text-anchor="start" x="239" y="-429.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-418" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-406.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.12,-402.22C198.59,-403.99 208.89,-406.13 219.52,-408.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="218.68,-411.74 229.18,-410.35 220.1,-404.89 218.68,-411.74"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="491.75,-476.5 376,-476.5 376,-457.25 491.75,-457.25 491.75,-476.5"/>
|
||||
<text text-anchor="middle" x="433.88" y="-463" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge19_Node000004_Node000006" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<g id="a_edge19_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M171.67,-387.78C177.52,-365.92 194.68,-314.55 231,-293.88 273.1,-269.91 301.93,-263.91 340,-293.88 393.53,-336.01 331.89,-390.96 376,-442.88 378.69,-446.04 381.87,-448.8 385.33,-451.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="383.28,-454.06 393.69,-456 386.76,-447.99 383.28,-454.06"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="#666666" points="340,-246.75 231,-246.75 231,-205 340,-205 340,-246.75"/>
|
||||
<text text-anchor="start" x="239" y="-233.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-222" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-210.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6_Node000004_Node000007" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M171.67,-387.87C177.92,-363.69 196.58,-301.13 231,-260.88 233.03,-258.5 235.26,-256.23 237.62,-254.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="239.39,-257.13 244.88,-248.07 234.94,-251.73 239.39,-257.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="Node000015" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_Node000015"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="#666666" points="340,-344.75 231,-344.75 231,-303 340,-303 340,-344.75"/>
|
||||
<text text-anchor="start" x="239" y="-331.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-320" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-308.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node15 -->
|
||||
<g id="edge20_Node000004_Node000015" class="edge">
|
||||
<title>Node4->Node15</title>
|
||||
<g id="a_edge20_Node000004_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M184.79,-387.9C199.37,-378.54 221.84,-364.11 241.76,-351.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="243.49,-354.37 250.01,-346.02 239.71,-348.48 243.49,-354.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="Node000020" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_Node000020"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="#666666" points="340,-540.75 231,-540.75 231,-499 340,-499 340,-540.75"/>
|
||||
<text text-anchor="start" x="239" y="-527.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-516" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-504.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node20 -->
|
||||
<g id="edge26_Node000004_Node000020" class="edge">
|
||||
<title>Node4->Node20</title>
|
||||
<g id="a_edge26_Node000004_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M178.68,-407.86C195.56,-425.73 231.54,-463.81 256.84,-490.6"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="254.19,-492.89 263.6,-497.75 259.28,-488.08 254.19,-492.89"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="Node000021" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_Node000021"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="477.12,-554.5 390.62,-554.5 390.62,-535.25 477.12,-535.25 477.12,-554.5"/>
|
||||
<text text-anchor="middle" x="433.88" y="-541" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node21 -->
|
||||
<g id="edge28_Node000004_Node000021" class="edge">
|
||||
<title>Node4->Node21</title>
|
||||
<g id="a_edge28_Node000004_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.09,-389.86C224.63,-378.04 294.42,-360.52 340,-391.88 376.86,-417.23 351.99,-448.12 376,-485.88 385.98,-501.56 400.59,-516.61 412.5,-527.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="410.04,-530.08 419.84,-534.11 414.7,-524.85 410.04,-530.08"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="Node000022" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_Node000022"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="#666666" points="340,-638.75 231,-638.75 231,-597 340,-597 340,-638.75"/>
|
||||
<text text-anchor="start" x="239" y="-625.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-614" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-602.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node22 -->
|
||||
<g id="edge29_Node000004_Node000022" class="edge">
|
||||
<title>Node4->Node22</title>
|
||||
<g id="a_edge29_Node000004_Node000022"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M174.28,-407.7C179.68,-418.43 188.39,-436.18 195,-451.88 213.01,-494.64 208.37,-509.36 231,-549.88 238.46,-563.22 248.44,-576.71 257.76,-588.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="254.95,-590.2 264.07,-595.61 260.31,-585.7 254.95,-590.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge5_Node000005_Node000006" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<g id="a_edge5_Node000005_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-438.38C356.32,-443.34 373.84,-448.73 389.26,-453.47"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="388.03,-456.75 398.62,-456.34 390.09,-450.06 388.03,-456.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="#666666" points="636.75,-285.75 527.75,-285.75 527.75,-244 636.75,-244 636.75,-285.75"/>
|
||||
<text text-anchor="start" x="535.75" y="-272.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="535.75" y="-261" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="582.25" y="-249.75" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node8 -->
|
||||
<g id="edge7_Node000007_Node000008" class="edge">
|
||||
<title>Node7->Node8</title>
|
||||
<g id="a_edge7_Node000007_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.32,-228.97C381.86,-231.82 440.67,-236.84 491.75,-244.88 499.75,-246.13 508.11,-247.68 516.36,-249.36"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="515.52,-252.76 526.03,-251.39 516.96,-245.91 515.52,-252.76"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-41.75 379.38,-41.75 379.38,0 488.38,0 488.38,-41.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node9 -->
|
||||
<g id="edge8_Node000007_Node000009" class="edge">
|
||||
<title>Node7->Node9</title>
|
||||
<g id="a_edge8_Node000007_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.69,-204.59C309.98,-172.94 339.68,-112.53 376,-68.88 381.69,-62.03 388.44,-55.39 395.27,-49.35"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="397.37,-52.16 402.72,-43.01 392.84,-46.82 397.37,-52.16"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-295.75 379.38,-295.75 379.38,-254 488.38,-254 488.38,-295.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-282.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-271" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-259.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node10 -->
|
||||
<g id="edge10_Node000007_Node000010" class="edge">
|
||||
<title>Node7->Node10</title>
|
||||
<g id="a_edge10_Node000007_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-243.84C349.32,-246.91 358.91,-250.11 368.3,-253.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="367.18,-256.57 377.77,-256.43 369.4,-249.94 367.18,-256.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-179.75 379.38,-179.75 379.38,-138 488.38,-138 488.38,-179.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-166.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-155" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-143.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node11 -->
|
||||
<g id="edge12_Node000007_Node000011" class="edge">
|
||||
<title>Node7->Node11</title>
|
||||
<g id="a_edge12_Node000007_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M332.81,-204.68C346.56,-198.38 361.78,-191.42 376.11,-184.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="377.35,-188.14 384.98,-180.8 374.43,-181.78 377.35,-188.14"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-119.75 379.38,-119.75 379.38,-78 488.38,-78 488.38,-119.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-106.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-95" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-83.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node12 -->
|
||||
<g id="edge14_Node000007_Node000012" class="edge">
|
||||
<title>Node7->Node12</title>
|
||||
<g id="a_edge14_Node000007_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.56,-204.61C319.24,-183.53 346.94,-151.22 376,-128.88 377.12,-128.01 378.27,-127.16 379.44,-126.33"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="381.08,-129.44 387.51,-121.01 377.23,-123.59 381.08,-129.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9->Node9 -->
|
||||
<g id="edge9_Node000009_Node000009" class="edge">
|
||||
<title>Node9->Node9</title>
|
||||
<g id="a_edge9_Node000009_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M406.49,-42.07C403.88,-51.55 413.01,-59.75 433.88,-59.75 445.94,-59.75 454.08,-57.01 458.29,-52.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="461.59,-54.1 460.86,-43.53 454.84,-52.24 461.59,-54.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10->Node10 -->
|
||||
<g id="edge11_Node000010_Node000010" class="edge">
|
||||
<title>Node10->Node10</title>
|
||||
<g id="a_edge11_Node000010_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M406.49,-296.07C403.88,-305.55 413.01,-313.75 433.88,-313.75 445.94,-313.75 454.08,-311.01 458.29,-306.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="461.59,-308.1 460.86,-297.53 454.84,-306.24 461.59,-308.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node11 -->
|
||||
<g id="edge13_Node000011_Node000011" class="edge">
|
||||
<title>Node11->Node11</title>
|
||||
<g id="a_edge13_Node000011_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M406.49,-180.07C403.88,-189.55 413.01,-197.75 433.88,-197.75 445.94,-197.75 454.08,-195.01 458.29,-190.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="461.59,-192.1 460.86,-181.53 454.84,-190.24 461.59,-192.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="#666666" points="636.75,-80.75 527.75,-80.75 527.75,-39 636.75,-39 636.75,-80.75"/>
|
||||
<text text-anchor="start" x="535.75" y="-67.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="535.75" y="-56" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="582.25" y="-44.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node13 -->
|
||||
<g id="edge15_Node000012_Node000013" class="edge">
|
||||
<title>Node12->Node13</title>
|
||||
<g id="a_edge15_Node000012_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M488.55,-84.57C497.7,-82.14 507.28,-79.58 516.68,-77.08"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="517.36,-80.52 526.12,-74.56 515.56,-73.76 517.36,-80.52"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="#666666" points="636.75,-158.75 527.75,-158.75 527.75,-117 636.75,-117 636.75,-158.75"/>
|
||||
<text text-anchor="start" x="535.75" y="-145.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="535.75" y="-134" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="582.25" y="-122.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node14 -->
|
||||
<g id="edge17_Node000012_Node000014" class="edge">
|
||||
<title>Node12->Node14</title>
|
||||
<g id="a_edge17_Node000012_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M488.55,-113.18C497.7,-115.61 507.28,-118.17 516.68,-120.67"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="515.56,-123.99 526.12,-123.19 517.36,-117.23 515.56,-123.99"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node13 -->
|
||||
<g id="edge16_Node000013_Node000013" class="edge">
|
||||
<title>Node13->Node13</title>
|
||||
<g id="a_edge16_Node000013_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M554.86,-81.07C552.26,-90.55 561.38,-98.75 582.25,-98.75 594.31,-98.75 602.45,-96.01 606.67,-91.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="609.96,-93.1 609.23,-82.53 603.21,-91.24 609.96,-93.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node14 -->
|
||||
<g id="edge18_Node000014_Node000014" class="edge">
|
||||
<title>Node14->Node14</title>
|
||||
<g id="a_edge18_Node000014_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M554.86,-159.07C552.26,-168.55 561.38,-176.75 582.25,-176.75 594.31,-176.75 602.45,-174.01 606.67,-169.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="609.96,-171.1 609.23,-160.53 603.21,-169.24 609.96,-171.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="Node000016" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_Node000016"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-373.75 379.38,-373.75 379.38,-332 488.38,-332 488.38,-373.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-360.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-337.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge21_Node000015_Node000016" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<g id="a_edge21_Node000015_Node000016"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-334.51C349.22,-336.3 358.7,-338.18 368,-340.02"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="367.23,-343.44 377.72,-341.95 368.59,-336.57 367.23,-343.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="Node000018" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_Node000018"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-433.75 379.38,-433.75 379.38,-392 488.38,-392 488.38,-433.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-420.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-409" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-397.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node18 -->
|
||||
<g id="edge24_Node000015_Node000018" class="edge">
|
||||
<title>Node15->Node18</title>
|
||||
<g id="a_edge24_Node000015_Node000018"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M319.07,-345.12C325.98,-349.65 333.24,-354.41 340,-358.88 356.05,-369.47 359.47,-373.04 376,-382.88 377.83,-383.97 379.71,-385.06 381.62,-386.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="379.53,-389 389.96,-390.83 382.95,-382.89 379.53,-389"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node8 -->
|
||||
<g id="edge22_Node000016_Node000008" class="edge">
|
||||
<title>Node16->Node8</title>
|
||||
<g id="a_edge22_Node000016_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M476.43,-331.51C481.63,-328.68 486.84,-325.75 491.75,-322.88 507.87,-313.43 525.18,-302.42 540.25,-292.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="542.11,-295.51 548.53,-287.08 538.25,-289.67 542.11,-295.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="Node000017" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_Node000017"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="611.62,-362.5 552.88,-362.5 552.88,-343.25 611.62,-343.25 611.62,-362.5"/>
|
||||
<text text-anchor="middle" x="582.25" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node17 -->
|
||||
<g id="edge23_Node000016_Node000017" class="edge">
|
||||
<title>Node16->Node17</title>
|
||||
<g id="a_edge23_Node000016_Node000017"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M488.55,-352.88C506.01,-352.88 525.08,-352.88 541.35,-352.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="541.13,-356.38 551.13,-352.88 541.13,-349.38 541.13,-356.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="Node000019" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_Node000019"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="#666666" points="636.75,-433.75 527.75,-433.75 527.75,-392 636.75,-392 636.75,-433.75"/>
|
||||
<text text-anchor="start" x="535.75" y="-420.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="535.75" y="-409" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="582.25" y="-397.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18->Node19 -->
|
||||
<g id="edge25_Node000018_Node000019" class="edge">
|
||||
<title>Node18->Node19</title>
|
||||
<g id="a_edge25_Node000018_Node000019"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M488.55,-412.88C497.6,-412.88 507.08,-412.88 516.37,-412.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="516.07,-416.38 526.07,-412.88 516.07,-409.38 516.07,-416.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node20->Node21 -->
|
||||
<g id="edge27_Node000020_Node000021" class="edge">
|
||||
<title>Node20->Node21</title>
|
||||
<g id="a_edge27_Node000020_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-529.04C352.79,-531.2 366.25,-533.5 378.88,-535.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="378.26,-539.1 388.71,-537.33 379.44,-532.2 378.26,-539.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="Node000023" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_Node000023"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-638.75 379.38,-638.75 379.38,-597 488.38,-597 488.38,-638.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-625.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-614" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-602.75" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22->Node23 -->
|
||||
<g id="edge30_Node000022_Node000023" class="edge">
|
||||
<title>Node22->Node23</title>
|
||||
<g id="a_edge30_Node000022_Node000023"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-617.88C349.22,-617.88 358.7,-617.88 368,-617.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="367.69,-621.38 377.69,-617.88 367.69,-614.38 367.69,-621.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge32_Node000024_Node000005" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<g id="a_edge32_Node000024_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M183.76,-497.88C187.44,-495.3 191.39,-492.51 195,-489.88 212.66,-477 232.01,-462.37 248.17,-449.99"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="250.29,-452.78 256.09,-443.91 246.03,-447.23 250.29,-452.78"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge34_Node000024_Node000006" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<g id="a_edge34_Node000024_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M187.01,-517.87C190,-520.18 192.83,-522.86 195,-525.88 228.02,-571.76 185.72,-614.03 231,-647.88 269.8,-676.88 301.2,-676.88 340,-647.88 385.28,-614.03 347.57,-574.74 376,-525.88 385.24,-510 399.62,-495.13 411.61,-484.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="413.79,-487.03 419.05,-477.83 409.2,-481.75 413.79,-487.03"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node7 -->
|
||||
<g id="edge33_Node000024_Node000007" class="edge">
|
||||
<title>Node24->Node7</title>
|
||||
<g id="a_edge33_Node000024_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M187.53,-497.85C190.4,-495.57 193.05,-492.9 195,-489.88 242.88,-415.37 194.55,-374.6 231,-293.88 237.19,-280.16 246.74,-266.76 256.06,-255.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="258.53,-258.02 262.43,-248.17 253.24,-253.44 258.53,-258.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node15 -->
|
||||
<g id="edge35_Node000024_Node000015" class="edge">
|
||||
<title>Node24->Node15</title>
|
||||
<g id="a_edge35_Node000024_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M186.85,-497.76C189.86,-495.46 192.74,-492.81 195,-489.88 223.32,-453.12 208.37,-432.39 231,-391.88 238.46,-378.53 248.44,-365.04 257.76,-353.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.31,-356.05 264.07,-346.14 254.95,-351.55 260.31,-356.05"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge36_Node000024_Node000020" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<g id="a_edge36_Node000024_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.12,-510.05C198.59,-510.93 208.89,-512 219.52,-513.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="218.85,-516.56 229.16,-514.11 219.57,-509.6 218.85,-516.56"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge37_Node000024_Node000021" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<g id="a_edge37_Node000024_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M187.42,-517.97C190.3,-520.25 192.98,-522.89 195,-525.88 234.61,-584.46 175.62,-636.89 231,-680.88 268.93,-711.01 300.04,-708.26 340,-680.88 376.56,-655.82 349.3,-623.26 376,-587.88 383.91,-577.39 395.03,-568.21 405.35,-561.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="407.13,-564.07 413.59,-555.67 403.3,-558.21 407.13,-564.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node22 -->
|
||||
<g id="edge38_Node000024_Node000022" class="edge">
|
||||
<title>Node24->Node22</title>
|
||||
<g id="a_edge38_Node000024_Node000022"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M185.56,-517.8C188.89,-520.22 192.21,-522.95 195,-525.88 215.69,-547.55 209.98,-561.52 231,-582.88 233.38,-585.29 235.95,-587.62 238.63,-589.87"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="236.23,-592.44 246.29,-595.77 240.5,-586.89 236.23,-592.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node5 -->
|
||||
<g id="edge40_Node000025_Node000005" class="edge">
|
||||
<title>Node25->Node5</title>
|
||||
<g id="a_edge40_Node000025_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.12,-462C199.85,-457.86 211.98,-452.71 224.27,-447.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="225.35,-450.83 233.19,-443.69 222.61,-444.38 225.35,-450.83"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node6 -->
|
||||
<g id="edge42_Node000025_Node000006" class="edge">
|
||||
<title>Node25->Node6</title>
|
||||
<g id="a_edge42_Node000025_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M189.94,-470.56C227.03,-470 306.41,-468.79 364.36,-467.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="364.19,-471.42 374.14,-467.77 364.09,-464.42 364.19,-471.42"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node7 -->
|
||||
<g id="edge41_Node000025_Node000007" class="edge">
|
||||
<title>Node25->Node7</title>
|
||||
<g id="a_edge41_Node000025_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M174.48,-461.13C180.06,-450.47 188.92,-432.79 195,-416.88 215.32,-363.66 204.92,-344.51 231,-293.88 237.95,-280.39 247.74,-266.96 257.05,-255.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="259.56,-258.09 263.37,-248.21 254.23,-253.56 259.56,-258.09"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node15 -->
|
||||
<g id="edge43_Node000025_Node000015" class="edge">
|
||||
<title>Node25->Node15</title>
|
||||
<g id="a_edge43_Node000025_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M176.85,-461.14C188.49,-446.22 211.45,-416.81 231,-391.88 240.73,-379.47 251.47,-365.81 260.76,-354"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="263.48,-356.21 266.92,-346.19 257.98,-351.88 263.48,-356.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node20 -->
|
||||
<g id="edge44_Node000025_Node000020" class="edge">
|
||||
<title>Node25->Node20</title>
|
||||
<g id="a_edge44_Node000025_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.12,-479.75C199.85,-483.89 211.98,-489.04 224.27,-494.27"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="222.61,-497.37 233.19,-498.06 225.35,-490.92 222.61,-497.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node21 -->
|
||||
<g id="edge45_Node000025_Node000021" class="edge">
|
||||
<title>Node25->Node21</title>
|
||||
<g id="a_edge45_Node000025_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M185.9,-480.94C189.13,-483.31 192.33,-485.99 195,-488.88 216.39,-511.97 203.66,-534.27 231,-549.88 280.19,-577.96 347.7,-568.61 390.81,-557.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="391.51,-561.32 400.29,-555.38 389.73,-554.55 391.51,-561.32"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node22 -->
|
||||
<g id="edge46_Node000025_Node000022" class="edge">
|
||||
<title>Node25->Node22</title>
|
||||
<g id="a_edge46_Node000025_Node000022"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M186.55,-480.81C189.66,-483.16 192.65,-485.87 195,-488.88 222.54,-524.13 202.92,-548.05 231,-582.88 232.8,-585.11 234.78,-587.24 236.88,-589.28"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="234.49,-591.84 244.37,-595.67 239.03,-586.51 234.49,-591.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</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()"/>
|
||||
<use id="arrowup" xlink:href="#arrowUp" x="0" y="0" onmousedown="handlePan(0,-1)"/>
|
||||
<use id="arrowright" xlink:href="#arrowRight" x="0" y="0" onmousedown="handlePan(1,0)"/>
|
||||
<use id="arrowdown" xlink:href="#arrowDown" x="0" y="0" onmousedown="handlePan(0,1)"/>
|
||||
<use id="arrowleft" xlink:href="#arrowLeft" x="0" y="0" onmousedown="handlePan(-1,0)"/>
|
||||
</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="fibonacci__sum_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph_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>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 41 KiB |
@@ -1,683 +0,0 @@
|
||||
<?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 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="645pt" height="711pt"
|
||||
viewBox="0.00 0.00 644.75 710.62" 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 706.62)">
|
||||
<title>main</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Main function.">
|
||||
<polygon fill="#999999" stroke="#666666" points="37,-498.5 0,-498.5 0,-479.25 37,-479.25 37,-498.5"/>
|
||||
<text text-anchor="middle" x="18.5" y="-485" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="105.5,-498.5 73,-498.5 73,-479.25 105.5,-479.25 105.5,-498.5"/>
|
||||
<text text-anchor="middle" x="89.25" y="-485" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M37.2,-488.88C44.58,-488.88 53.31,-488.88 61.45,-488.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.2,-492.38 71.2,-488.88 61.2,-485.38 61.2,-492.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="195,-554.5 141.5,-554.5 141.5,-535.25 195,-535.25 195,-554.5"/>
|
||||
<text text-anchor="middle" x="168.25" y="-541" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M103.66,-498.98C113.96,-506.7 128.56,-517.55 141.5,-526.88 142.18,-527.37 142.87,-527.86 143.57,-528.36"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="141.34,-531.07 151.53,-533.98 145.38,-525.35 141.34,-531.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="189.75,-407.5 146.75,-407.5 146.75,-388.25 189.75,-388.25 189.75,-407.5"/>
|
||||
<text text-anchor="middle" x="168.25" y="-394" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3_Node000002_Node000004" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<g id="a_edge3_Node000002_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M98.78,-478.79C111.51,-463.75 135.68,-435.19 151.63,-416.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="154.15,-418.78 157.93,-408.89 148.8,-414.26 154.15,-418.78"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="Node000024" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_Node000024"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="189.75,-517.5 146.75,-517.5 146.75,-498.25 189.75,-498.25 189.75,-517.5"/>
|
||||
<text text-anchor="middle" x="168.25" y="-504" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node24 -->
|
||||
<g id="edge31_Node000002_Node000024" class="edge">
|
||||
<title>Node2->Node24</title>
|
||||
<g id="a_edge31_Node000002_Node000024"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M105.83,-492.72C114.33,-494.82 125.16,-497.49 135.35,-500"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.42,-503.38 144.97,-502.38 136.1,-496.58 134.42,-503.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25 -->
|
||||
<g id="Node000025" class="node">
|
||||
<title>Node25</title>
|
||||
<g id="a_Node000025"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="189.75,-480.5 146.75,-480.5 146.75,-461.25 189.75,-461.25 189.75,-480.5"/>
|
||||
<text text-anchor="middle" x="168.25" y="-467" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node25 -->
|
||||
<g id="edge39_Node000002_Node000025" class="edge">
|
||||
<title>Node2->Node25</title>
|
||||
<g id="a_edge39_Node000002_Node000025"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M105.83,-485.23C114.33,-483.25 125.16,-480.71 135.35,-478.33"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="136.02,-481.77 144.96,-476.09 134.43,-474.95 136.02,-481.77"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="#666666" points="340,-442.75 231,-442.75 231,-401 340,-401 340,-442.75"/>
|
||||
<text text-anchor="start" x="239" y="-429.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-418" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-406.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4_Node000004_Node000005" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.12,-402.22C198.59,-403.99 208.89,-406.13 219.52,-408.34"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="218.68,-411.74 229.18,-410.35 220.1,-404.89 218.68,-411.74"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="Node000006" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="491.75,-476.5 376,-476.5 376,-457.25 491.75,-457.25 491.75,-476.5"/>
|
||||
<text text-anchor="middle" x="433.88" y="-463" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge19_Node000004_Node000006" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<g id="a_edge19_Node000004_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M171.67,-387.78C177.52,-365.92 194.68,-314.55 231,-293.88 273.1,-269.91 301.93,-263.91 340,-293.88 393.53,-336.01 331.89,-390.96 376,-442.88 378.69,-446.04 381.87,-448.8 385.33,-451.2"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="383.28,-454.06 393.69,-456 386.76,-447.99 383.28,-454.06"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="Node000007" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_Node000007"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="#666666" points="340,-246.75 231,-246.75 231,-205 340,-205 340,-246.75"/>
|
||||
<text text-anchor="start" x="239" y="-233.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-222" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-210.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6_Node000004_Node000007" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M171.67,-387.87C177.92,-363.69 196.58,-301.13 231,-260.88 233.03,-258.5 235.26,-256.23 237.62,-254.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="239.39,-257.13 244.88,-248.07 234.94,-251.73 239.39,-257.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="Node000015" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_Node000015"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="#666666" points="340,-344.75 231,-344.75 231,-303 340,-303 340,-344.75"/>
|
||||
<text text-anchor="start" x="239" y="-331.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-320" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-308.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node15 -->
|
||||
<g id="edge20_Node000004_Node000015" class="edge">
|
||||
<title>Node4->Node15</title>
|
||||
<g id="a_edge20_Node000004_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M184.79,-387.9C199.37,-378.54 221.84,-364.11 241.76,-351.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="243.49,-354.37 250.01,-346.02 239.71,-348.48 243.49,-354.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="Node000020" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_Node000020"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="#666666" points="340,-540.75 231,-540.75 231,-499 340,-499 340,-540.75"/>
|
||||
<text text-anchor="start" x="239" y="-527.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-516" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-504.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node20 -->
|
||||
<g id="edge26_Node000004_Node000020" class="edge">
|
||||
<title>Node4->Node20</title>
|
||||
<g id="a_edge26_Node000004_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M178.68,-407.86C195.56,-425.73 231.54,-463.81 256.84,-490.6"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="254.19,-492.89 263.6,-497.75 259.28,-488.08 254.19,-492.89"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="Node000021" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_Node000021"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="477.12,-554.5 390.62,-554.5 390.62,-535.25 477.12,-535.25 477.12,-554.5"/>
|
||||
<text text-anchor="middle" x="433.88" y="-541" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node21 -->
|
||||
<g id="edge28_Node000004_Node000021" class="edge">
|
||||
<title>Node4->Node21</title>
|
||||
<g id="a_edge28_Node000004_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.09,-389.86C224.63,-378.04 294.42,-360.52 340,-391.88 376.86,-417.23 351.99,-448.12 376,-485.88 385.98,-501.56 400.59,-516.61 412.5,-527.58"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="410.04,-530.08 419.84,-534.11 414.7,-524.85 410.04,-530.08"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="Node000022" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_Node000022"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="#666666" points="340,-638.75 231,-638.75 231,-597 340,-597 340,-638.75"/>
|
||||
<text text-anchor="start" x="239" y="-625.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="239" y="-614" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="285.5" y="-602.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node22 -->
|
||||
<g id="edge29_Node000004_Node000022" class="edge">
|
||||
<title>Node4->Node22</title>
|
||||
<g id="a_edge29_Node000004_Node000022"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M174.28,-407.7C179.68,-418.43 188.39,-436.18 195,-451.88 213.01,-494.64 208.37,-509.36 231,-549.88 238.46,-563.22 248.44,-576.71 257.76,-588.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="254.95,-590.2 264.07,-595.61 260.31,-585.7 254.95,-590.2"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge5_Node000005_Node000006" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<g id="a_edge5_Node000005_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-438.38C356.32,-443.34 373.84,-448.73 389.26,-453.47"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="388.03,-456.75 398.62,-456.34 390.09,-450.06 388.03,-456.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="Node000008" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_Node000008"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="#666666" points="636.75,-285.75 527.75,-285.75 527.75,-244 636.75,-244 636.75,-285.75"/>
|
||||
<text text-anchor="start" x="535.75" y="-272.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="535.75" y="-261" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="582.25" y="-249.75" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node8 -->
|
||||
<g id="edge7_Node000007_Node000008" class="edge">
|
||||
<title>Node7->Node8</title>
|
||||
<g id="a_edge7_Node000007_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.32,-228.97C381.86,-231.82 440.67,-236.84 491.75,-244.88 499.75,-246.13 508.11,-247.68 516.36,-249.36"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="515.52,-252.76 526.03,-251.39 516.96,-245.91 515.52,-252.76"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="Node000009" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_Node000009"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-41.75 379.38,-41.75 379.38,0 488.38,0 488.38,-41.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node9 -->
|
||||
<g id="edge8_Node000007_Node000009" class="edge">
|
||||
<title>Node7->Node9</title>
|
||||
<g id="a_edge8_Node000007_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M295.69,-204.59C309.98,-172.94 339.68,-112.53 376,-68.88 381.69,-62.03 388.44,-55.39 395.27,-49.35"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="397.37,-52.16 402.72,-43.01 392.84,-46.82 397.37,-52.16"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="Node000010" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_Node000010"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-295.75 379.38,-295.75 379.38,-254 488.38,-254 488.38,-295.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-282.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-271" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-259.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node10 -->
|
||||
<g id="edge10_Node000007_Node000010" class="edge">
|
||||
<title>Node7->Node10</title>
|
||||
<g id="a_edge10_Node000007_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-243.84C349.32,-246.91 358.91,-250.11 368.3,-253.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="367.18,-256.57 377.77,-256.43 369.4,-249.94 367.18,-256.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="Node000011" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_Node000011"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-179.75 379.38,-179.75 379.38,-138 488.38,-138 488.38,-179.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-166.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-155" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-143.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node11 -->
|
||||
<g id="edge12_Node000007_Node000011" class="edge">
|
||||
<title>Node7->Node11</title>
|
||||
<g id="a_edge12_Node000007_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M332.81,-204.68C346.56,-198.38 361.78,-191.42 376.11,-184.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="377.35,-188.14 384.98,-180.8 374.43,-181.78 377.35,-188.14"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="Node000012" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_Node000012"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-119.75 379.38,-119.75 379.38,-78 488.38,-78 488.38,-119.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-106.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-95" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-83.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node12 -->
|
||||
<g id="edge14_Node000007_Node000012" class="edge">
|
||||
<title>Node7->Node12</title>
|
||||
<g id="a_edge14_Node000007_Node000012"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M302.56,-204.61C319.24,-183.53 346.94,-151.22 376,-128.88 377.12,-128.01 378.27,-127.16 379.44,-126.33"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="381.08,-129.44 387.51,-121.01 377.23,-123.59 381.08,-129.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node9->Node9 -->
|
||||
<g id="edge9_Node000009_Node000009" class="edge">
|
||||
<title>Node9->Node9</title>
|
||||
<g id="a_edge9_Node000009_Node000009"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M406.49,-42.07C403.88,-51.55 413.01,-59.75 433.88,-59.75 445.94,-59.75 454.08,-57.01 458.29,-52.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="461.59,-54.1 460.86,-43.53 454.84,-52.24 461.59,-54.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node10->Node10 -->
|
||||
<g id="edge11_Node000010_Node000010" class="edge">
|
||||
<title>Node10->Node10</title>
|
||||
<g id="a_edge11_Node000010_Node000010"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M406.49,-296.07C403.88,-305.55 413.01,-313.75 433.88,-313.75 445.94,-313.75 454.08,-311.01 458.29,-306.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="461.59,-308.1 460.86,-297.53 454.84,-306.24 461.59,-308.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node11 -->
|
||||
<g id="edge13_Node000011_Node000011" class="edge">
|
||||
<title>Node11->Node11</title>
|
||||
<g id="a_edge13_Node000011_Node000011"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M406.49,-180.07C403.88,-189.55 413.01,-197.75 433.88,-197.75 445.94,-197.75 454.08,-195.01 458.29,-190.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="461.59,-192.1 460.86,-181.53 454.84,-190.24 461.59,-192.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="Node000013" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_Node000013"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="#666666" points="636.75,-80.75 527.75,-80.75 527.75,-39 636.75,-39 636.75,-80.75"/>
|
||||
<text text-anchor="start" x="535.75" y="-67.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="535.75" y="-56" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="582.25" y="-44.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node13 -->
|
||||
<g id="edge15_Node000012_Node000013" class="edge">
|
||||
<title>Node12->Node13</title>
|
||||
<g id="a_edge15_Node000012_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M488.55,-84.57C497.7,-82.14 507.28,-79.58 516.68,-77.08"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="517.36,-80.52 526.12,-74.56 515.56,-73.76 517.36,-80.52"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="Node000014" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_Node000014"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="#666666" points="636.75,-158.75 527.75,-158.75 527.75,-117 636.75,-117 636.75,-158.75"/>
|
||||
<text text-anchor="start" x="535.75" y="-145.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="535.75" y="-134" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="582.25" y="-122.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node14 -->
|
||||
<g id="edge17_Node000012_Node000014" class="edge">
|
||||
<title>Node12->Node14</title>
|
||||
<g id="a_edge17_Node000012_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M488.55,-113.18C497.7,-115.61 507.28,-118.17 516.68,-120.67"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="515.56,-123.99 526.12,-123.19 517.36,-117.23 515.56,-123.99"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node13 -->
|
||||
<g id="edge16_Node000013_Node000013" class="edge">
|
||||
<title>Node13->Node13</title>
|
||||
<g id="a_edge16_Node000013_Node000013"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M554.86,-81.07C552.26,-90.55 561.38,-98.75 582.25,-98.75 594.31,-98.75 602.45,-96.01 606.67,-91.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="609.96,-93.1 609.23,-82.53 603.21,-91.24 609.96,-93.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node14 -->
|
||||
<g id="edge18_Node000014_Node000014" class="edge">
|
||||
<title>Node14->Node14</title>
|
||||
<g id="a_edge18_Node000014_Node000014"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M554.86,-159.07C552.26,-168.55 561.38,-176.75 582.25,-176.75 594.31,-176.75 602.45,-174.01 606.67,-169.86"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="609.96,-171.1 609.23,-160.53 603.21,-169.24 609.96,-171.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="Node000016" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_Node000016"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-373.75 379.38,-373.75 379.38,-332 488.38,-332 488.38,-373.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-360.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-337.75" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge21_Node000015_Node000016" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<g id="a_edge21_Node000015_Node000016"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-334.51C349.22,-336.3 358.7,-338.18 368,-340.02"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="367.23,-343.44 377.72,-341.95 368.59,-336.57 367.23,-343.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="Node000018" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_Node000018"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-433.75 379.38,-433.75 379.38,-392 488.38,-392 488.38,-433.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-420.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-409" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-397.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node18 -->
|
||||
<g id="edge24_Node000015_Node000018" class="edge">
|
||||
<title>Node15->Node18</title>
|
||||
<g id="a_edge24_Node000015_Node000018"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M319.07,-345.12C325.98,-349.65 333.24,-354.41 340,-358.88 356.05,-369.47 359.47,-373.04 376,-382.88 377.83,-383.97 379.71,-385.06 381.62,-386.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="379.53,-389 389.96,-390.83 382.95,-382.89 379.53,-389"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node8 -->
|
||||
<g id="edge22_Node000016_Node000008" class="edge">
|
||||
<title>Node16->Node8</title>
|
||||
<g id="a_edge22_Node000016_Node000008"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M476.43,-331.51C481.63,-328.68 486.84,-325.75 491.75,-322.88 507.87,-313.43 525.18,-302.42 540.25,-292.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="542.11,-295.51 548.53,-287.08 538.25,-289.67 542.11,-295.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="Node000017" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_Node000017"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="611.62,-362.5 552.88,-362.5 552.88,-343.25 611.62,-343.25 611.62,-362.5"/>
|
||||
<text text-anchor="middle" x="582.25" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node17 -->
|
||||
<g id="edge23_Node000016_Node000017" class="edge">
|
||||
<title>Node16->Node17</title>
|
||||
<g id="a_edge23_Node000016_Node000017"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M488.55,-352.88C506.01,-352.88 525.08,-352.88 541.35,-352.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="541.13,-356.38 551.13,-352.88 541.13,-349.38 541.13,-356.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="Node000019" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_Node000019"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="#666666" points="636.75,-433.75 527.75,-433.75 527.75,-392 636.75,-392 636.75,-433.75"/>
|
||||
<text text-anchor="start" x="535.75" y="-420.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="535.75" y="-409" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="582.25" y="-397.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18->Node19 -->
|
||||
<g id="edge25_Node000018_Node000019" class="edge">
|
||||
<title>Node18->Node19</title>
|
||||
<g id="a_edge25_Node000018_Node000019"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M488.55,-412.88C497.6,-412.88 507.08,-412.88 516.37,-412.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="516.07,-416.38 526.07,-412.88 516.07,-409.38 516.07,-416.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node20->Node21 -->
|
||||
<g id="edge27_Node000020_Node000021" class="edge">
|
||||
<title>Node20->Node21</title>
|
||||
<g id="a_edge27_Node000020_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-529.04C352.79,-531.2 366.25,-533.5 378.88,-535.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="378.26,-539.1 388.71,-537.33 379.44,-532.2 378.26,-539.1"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="Node000023" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_Node000023"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="#666666" points="488.38,-638.75 379.38,-638.75 379.38,-597 488.38,-597 488.38,-638.75"/>
|
||||
<text text-anchor="start" x="387.38" y="-625.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="387.38" y="-614" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="433.88" y="-602.75" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22->Node23 -->
|
||||
<g id="edge30_Node000022_Node000023" class="edge">
|
||||
<title>Node22->Node23</title>
|
||||
<g id="a_edge30_Node000022_Node000023"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M340.17,-617.88C349.22,-617.88 358.7,-617.88 368,-617.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="367.69,-621.38 377.69,-617.88 367.69,-614.38 367.69,-621.38"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge32_Node000024_Node000005" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<g id="a_edge32_Node000024_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M183.76,-497.88C187.44,-495.3 191.39,-492.51 195,-489.88 212.66,-477 232.01,-462.37 248.17,-449.99"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="250.29,-452.78 256.09,-443.91 246.03,-447.23 250.29,-452.78"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge34_Node000024_Node000006" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<g id="a_edge34_Node000024_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M187.01,-517.87C190,-520.18 192.83,-522.86 195,-525.88 228.02,-571.76 185.72,-614.03 231,-647.88 269.8,-676.88 301.2,-676.88 340,-647.88 385.28,-614.03 347.57,-574.74 376,-525.88 385.24,-510 399.62,-495.13 411.61,-484.29"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="413.79,-487.03 419.05,-477.83 409.2,-481.75 413.79,-487.03"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node7 -->
|
||||
<g id="edge33_Node000024_Node000007" class="edge">
|
||||
<title>Node24->Node7</title>
|
||||
<g id="a_edge33_Node000024_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M187.53,-497.85C190.4,-495.57 193.05,-492.9 195,-489.88 242.88,-415.37 194.55,-374.6 231,-293.88 237.19,-280.16 246.74,-266.76 256.06,-255.53"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="258.53,-258.02 262.43,-248.17 253.24,-253.44 258.53,-258.02"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node15 -->
|
||||
<g id="edge35_Node000024_Node000015" class="edge">
|
||||
<title>Node24->Node15</title>
|
||||
<g id="a_edge35_Node000024_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M186.85,-497.76C189.86,-495.46 192.74,-492.81 195,-489.88 223.32,-453.12 208.37,-432.39 231,-391.88 238.46,-378.53 248.44,-365.04 257.76,-353.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.31,-356.05 264.07,-346.14 254.95,-351.55 260.31,-356.05"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge36_Node000024_Node000020" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<g id="a_edge36_Node000024_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.12,-510.05C198.59,-510.93 208.89,-512 219.52,-513.11"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="218.85,-516.56 229.16,-514.11 219.57,-509.6 218.85,-516.56"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge37_Node000024_Node000021" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<g id="a_edge37_Node000024_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M187.42,-517.97C190.3,-520.25 192.98,-522.89 195,-525.88 234.61,-584.46 175.62,-636.89 231,-680.88 268.93,-711.01 300.04,-708.26 340,-680.88 376.56,-655.82 349.3,-623.26 376,-587.88 383.91,-577.39 395.03,-568.21 405.35,-561.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="407.13,-564.07 413.59,-555.67 403.3,-558.21 407.13,-564.07"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node24->Node22 -->
|
||||
<g id="edge38_Node000024_Node000022" class="edge">
|
||||
<title>Node24->Node22</title>
|
||||
<g id="a_edge38_Node000024_Node000022"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M185.56,-517.8C188.89,-520.22 192.21,-522.95 195,-525.88 215.69,-547.55 209.98,-561.52 231,-582.88 233.38,-585.29 235.95,-587.62 238.63,-589.87"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="236.23,-592.44 246.29,-595.77 240.5,-586.89 236.23,-592.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node5 -->
|
||||
<g id="edge40_Node000025_Node000005" class="edge">
|
||||
<title>Node25->Node5</title>
|
||||
<g id="a_edge40_Node000025_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.12,-462C199.85,-457.86 211.98,-452.71 224.27,-447.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="225.35,-450.83 233.19,-443.69 222.61,-444.38 225.35,-450.83"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node6 -->
|
||||
<g id="edge42_Node000025_Node000006" class="edge">
|
||||
<title>Node25->Node6</title>
|
||||
<g id="a_edge42_Node000025_Node000006"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M189.94,-470.56C227.03,-470 306.41,-468.79 364.36,-467.91"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="364.19,-471.42 374.14,-467.77 364.09,-464.42 364.19,-471.42"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node7 -->
|
||||
<g id="edge41_Node000025_Node000007" class="edge">
|
||||
<title>Node25->Node7</title>
|
||||
<g id="a_edge41_Node000025_Node000007"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M174.48,-461.13C180.06,-450.47 188.92,-432.79 195,-416.88 215.32,-363.66 204.92,-344.51 231,-293.88 237.95,-280.39 247.74,-266.96 257.05,-255.64"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="259.56,-258.09 263.37,-248.21 254.23,-253.56 259.56,-258.09"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node15 -->
|
||||
<g id="edge43_Node000025_Node000015" class="edge">
|
||||
<title>Node25->Node15</title>
|
||||
<g id="a_edge43_Node000025_Node000015"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M176.85,-461.14C188.49,-446.22 211.45,-416.81 231,-391.88 240.73,-379.47 251.47,-365.81 260.76,-354"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="263.48,-356.21 266.92,-346.19 257.98,-351.88 263.48,-356.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node20 -->
|
||||
<g id="edge44_Node000025_Node000020" class="edge">
|
||||
<title>Node25->Node20</title>
|
||||
<g id="a_edge44_Node000025_Node000020"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M190.12,-479.75C199.85,-483.89 211.98,-489.04 224.27,-494.27"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="222.61,-497.37 233.19,-498.06 225.35,-490.92 222.61,-497.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node21 -->
|
||||
<g id="edge45_Node000025_Node000021" class="edge">
|
||||
<title>Node25->Node21</title>
|
||||
<g id="a_edge45_Node000025_Node000021"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M185.9,-480.94C189.13,-483.31 192.33,-485.99 195,-488.88 216.39,-511.97 203.66,-534.27 231,-549.88 280.19,-577.96 347.7,-568.61 390.81,-557.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="391.51,-561.32 400.29,-555.38 389.73,-554.55 391.51,-561.32"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node25->Node22 -->
|
||||
<g id="edge46_Node000025_Node000022" class="edge">
|
||||
<title>Node25->Node22</title>
|
||||
<g id="a_edge46_Node000025_Node000022"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M186.55,-480.81C189.66,-483.16 192.65,-485.87 195,-488.88 222.54,-524.13 202.92,-548.05 231,-582.88 232.8,-585.11 234.78,-587.24 236.88,-589.28"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="234.49,-591.84 244.37,-595.67 239.03,-586.51 234.49,-591.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 37 KiB |
246
de/dc3/fibonacci__sum_8cpp_source.html
Normal file
@@ -0,0 +1,246 @@
|
||||
<!-- HTML header for doxygen 1.12.0-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<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.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>TheAlgorithms/C++: math/fibonacci_sum.cpp Source File</title>
|
||||
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
|
||||
<script type="text/javascript">
|
||||
DoxygenAwesomeDarkModeToggle.init()
|
||||
</script>
|
||||
<script type="text/javascript" src="../../clipboard.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../cookie.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.MathJax = {
|
||||
options: {
|
||||
ignoreHtmlClass: 'tex2jax_ignore',
|
||||
processHtmlClass: 'tex2jax_process'
|
||||
},
|
||||
loader: {
|
||||
load: ['[tex]/ams']
|
||||
},
|
||||
tex: {
|
||||
macros: {},
|
||||
packages: ['base','configmacros','ams']
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
|
||||
<td id="projectalign">
|
||||
<div id="projectname">TheAlgorithms/C++<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">All the algorithms implemented in C++</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.12.0 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() { codefold.init(1); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search',true);
|
||||
$(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function(){initNavTree('de/dc3/fibonacci__sum_8cpp_source.html','../../'); initResizable(true); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">fibonacci_sum.cpp</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="../../de/dc3/fibonacci__sum_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include <cassert></span> </div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include <cstdint></span></div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include <iostream></span> </div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include <vector></span> </div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../dd/d47/namespacemath.html">math</a> {</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../d3/dc9/namespacefibonacci__sum.html">fibonacci_sum</a> {</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">using </span><a class="code hl_typedef" href="../../d1/dbe/lu__decomposition_8h.html#ac029b636b353cefbb18b2fcc71e427e4">matrix</a> = std::vector<std::vector<uint64_t> >;</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
|
||||
<div class="foldopen" id="foldopen00039" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="../../de/dc3/fibonacci__sum_8cpp.html#a9c83cca09a3e4ff2a25c816a9303448e"> 39</a></span>math::fibonacci_sum::matrix multiply(<span class="keyword">const</span> math::fibonacci_sum::matrix &T,</div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">const</span> math::fibonacci_sum::matrix &A) {</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> math::fibonacci_sum::matrix <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>(2, std::vector<uint64_t>(2, 0));</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// multiplying matrices</span></div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>[0][0] = T[0][0] * A[0][0] + T[0][1] * A[1][0];</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>[0][1] = T[0][0] * A[0][1] + T[0][1] * A[1][1];</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>[1][0] = T[1][0] * A[0][0] + T[1][1] * A[1][0];</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>[1][1] = T[1][0] * A[0][1] + T[1][1] * A[1][1];</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordflow">return</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>;</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
||||
<div class="foldopen" id="foldopen00058" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311"> 58</a></span>math::fibonacci_sum::matrix <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311">power</a>(math::fibonacci_sum::matrix T, uint64_t ex) {</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> math::fibonacci_sum::matrix A{{1, 1}, {1, 0}};</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keywordflow">if</span> (ex == 0 || ex == 1) {</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordflow">return</span> T;</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> }</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> T = <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311">power</a>(T, ex / 2);</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> T = multiply(T, T);</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keywordflow">if</span> (ex & 1) {</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> T = multiply(T, A);</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> }</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordflow">return</span> T;</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
||||
<div class="foldopen" id="foldopen00077" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa"> 77</a></span>uint64_t <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>(uint64_t n) {</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> math::fibonacci_sum::matrix T{{1, 1}, {1, 0}};</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> T = <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311">power</a>(T, n);</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> uint64_t ans = T[0][1];</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> ans = (ans - 1);</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <span class="keywordflow">return</span> ans;</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
|
||||
<div class="foldopen" id="foldopen00091" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742"> 91</a></span>uint64_t <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">fiboSum</a>(uint64_t n, uint64_t m) {</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">return</span> (<a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>(m + 2) - <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">result</a>(n + 1));</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span>} <span class="comment">// namespace fibonacci_sum</span></div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span>} <span class="comment">// namespace math</span></div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
|
||||
<div class="foldopen" id="foldopen00102" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="../../de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d"> 102</a></span><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a>() {</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> uint64_t n = 0, m = 3;</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> uint64_t <a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a> = math::fibonacci_sum::fiboSum(n, m);</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> assert(<a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a> == 4);</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> std::cout << <span class="stringliteral">"Passed Test 1!"</span> << std::endl;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> n = 3;</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> m = 5;</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> uint64_t <a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a> = math::fibonacci_sum::fiboSum(n, m);</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> assert(<a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a> == 10);</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> std::cout << <span class="stringliteral">"Passed Test 2!"</span> << std::endl;</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> n = 5;</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> m = 7;</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> uint64_t <a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a> = math::fibonacci_sum::fiboSum(n, m);</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> assert(<a class="code hl_function" href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a> == 26);</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> std::cout << <span class="stringliteral">"Passed Test 3!"</span> << std::endl;</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> n = 7;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> m = 10;</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> uint64_t test_4 = math::fibonacci_sum::fiboSum(n, m);</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> assert(test_4 == 123);</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> std::cout << <span class="stringliteral">"Passed Test 4!"</span> << std::endl;</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> n = 9;</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> m = 12;</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> uint64_t test_5 = math::fibonacci_sum::fiboSum(n, m);</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> assert(test_5 == 322);</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> std::cout << <span class="stringliteral">"Passed Test 5!"</span> << std::endl;</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
|
||||
<div class="foldopen" id="foldopen00137" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="../../de/dc3/fibonacci__sum_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4"> 137</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a>() {</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <a class="code hl_function" href="../../de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a>(); <span class="comment">// execute the tests</span></div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span>}</div>
|
||||
</div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_a493fbaa7a94e3b7ca573111237bb3742"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a></div><div class="ttdeci">uint64_t fiboSum(uint64_t n, uint64_t m)</div><div class="ttdef"><b>Definition</b> <a href="#l00091">fibonacci_sum.cpp:91</a></div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_a7cf5feaf168b88e74544da59ed830311"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#a7cf5feaf168b88e74544da59ed830311">math::fibonacci_sum::power</a></div><div class="ttdeci">math::fibonacci_sum::matrix power(math::fibonacci_sum::matrix T, uint64_t ex)</div><div class="ttdef"><b>Definition</b> <a href="#l00058">fibonacci_sum.cpp:58</a></div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aa8dca7b867074164d5f45b0f3851269d"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d">test</a></div><div class="ttdeci">static void test()</div><div class="ttdef"><b>Definition</b> <a href="#l00102">fibonacci_sum.cpp:102</a></div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_aadb40ac4c74a7efc0680b83eeee138aa"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#aadb40ac4c74a7efc0680b83eeee138aa">math::fibonacci_sum::result</a></div><div class="ttdeci">uint64_t result(uint64_t n)</div><div class="ttdef"><b>Definition</b> <a href="#l00077">fibonacci_sum.cpp:77</a></div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdoc">Main function.</div><div class="ttdef"><b>Definition</b> <a href="#l00137">fibonacci_sum.cpp:137</a></div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a34b8683a2b429de5cce57e6d733ec817"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a></div><div class="ttdeci">static void test_1()</div><div class="ttdef"><b>Definition</b> <a href="../../d2/de9/heavy__light__decomposition_8cpp_source.html#l00505">heavy_light_decomposition.cpp:505</a></div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a458410412185a5f09199deaff7157a8d"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a></div><div class="ttdeci">static void test_2()</div><div class="ttdef"><b>Definition</b> <a href="../../d2/de9/heavy__light__decomposition_8cpp_source.html#l00549">heavy_light_decomposition.cpp:549</a></div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_af31ec5409537703d9c8a47350386b32a"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a></div><div class="ttdeci">static void test_3()</div><div class="ttdef"><b>Definition</b> <a href="../../d2/de9/heavy__light__decomposition_8cpp_source.html#l00592">heavy_light_decomposition.cpp:592</a></div></div>
|
||||
<div class="ttc" id="alu__decomposition_8h_html_ac029b636b353cefbb18b2fcc71e427e4"><div class="ttname"><a href="../../d1/dbe/lu__decomposition_8h.html#ac029b636b353cefbb18b2fcc71e427e4">matrix</a></div><div class="ttdeci">std::vector< std::valarray< T > > matrix</div><div class="ttdef"><b>Definition</b> <a href="../../d1/dbe/lu__decomposition_8h_source.html#l00019">lu_decomposition.h:19</a></div></div>
|
||||
<div class="ttc" id="anamespacefibonacci__sum_html"><div class="ttname"><a href="../../d3/dc9/namespacefibonacci__sum.html">fibonacci_sum</a></div><div class="ttdoc">Functions for the sum of the Fibonacci Sequence: .</div></div>
|
||||
<div class="ttc" id="anamespacemath_html"><div class="ttname"><a href="../../dd/d47/namespacemath.html">math</a></div><div class="ttdoc">for assert</div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a class="el" href="../../de/dc3/fibonacci__sum_8cpp.html">fibonacci_sum.cpp</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.12.0 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||