Documentation for f1eddf4d65

This commit is contained in:
realstealthninja
2025-07-09 10:53:16 +00:00
parent e7edde96ab
commit b41207008f
2497 changed files with 31270 additions and 40283 deletions

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: MinHeap Class Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d05/class_min_heap.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d05/class_min_heap.html','../../','d4/d1f/class_min_heap-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,54 +113,37 @@ $(function(){initNavTree('d2/d05/class_min_heap.html','../../'); initResizable(t
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d4/d1f/class_min_heap-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">MinHeap Class Reference</div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-methods" class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a078cb888e642bb1f95dd0e03f0a35820" id="r_a078cb888e642bb1f95dd0e03f0a35820"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a078cb888e642bb1f95dd0e03f0a35820">MinHeap</a> (int cap)</td></tr>
<tr class="separator:a078cb888e642bb1f95dd0e03f0a35820"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaef438c1056492cb62c4a4d9035b5cad" id="r_aaef438c1056492cb62c4a4d9035b5cad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaef438c1056492cb62c4a4d9035b5cad">MinHeapify</a> (int)</td></tr>
<tr class="separator:aaef438c1056492cb62c4a4d9035b5cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e893f9deb4be4cf4f9990e736483e81" id="r_a0e893f9deb4be4cf4f9990e736483e81"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0e893f9deb4be4cf4f9990e736483e81">parent</a> (int i)</td></tr>
<tr class="separator:a0e893f9deb4be4cf4f9990e736483e81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8c6c141e3de664819686aa637e1afca" id="r_aa8c6c141e3de664819686aa637e1afca"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8c6c141e3de664819686aa637e1afca">left</a> (int i)</td></tr>
<tr class="separator:aa8c6c141e3de664819686aa637e1afca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac760b85cf90265b8d674b942a43fb70e" id="r_ac760b85cf90265b8d674b942a43fb70e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac760b85cf90265b8d674b942a43fb70e">right</a> (int i)</td></tr>
<tr class="separator:ac760b85cf90265b8d674b942a43fb70e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4014f1edaed0bd7db0c0d2ca53228980" id="r_a4014f1edaed0bd7db0c0d2ca53228980"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4014f1edaed0bd7db0c0d2ca53228980">extractMin</a> ()</td></tr>
<tr class="separator:a4014f1edaed0bd7db0c0d2ca53228980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7f726cc6327955d22871592227432f5" id="r_aa7f726cc6327955d22871592227432f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa7f726cc6327955d22871592227432f5">decreaseKey</a> (int i, int new_val)</td></tr>
<tr class="separator:aa7f726cc6327955d22871592227432f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a336ac71f0d857269fe9a98058a3cd130" id="r_a336ac71f0d857269fe9a98058a3cd130"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a336ac71f0d857269fe9a98058a3cd130">getMin</a> ()</td></tr>
<tr class="separator:a336ac71f0d857269fe9a98058a3cd130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37ac126eabb0c3ce04047172abccca29" id="r_a37ac126eabb0c3ce04047172abccca29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a37ac126eabb0c3ce04047172abccca29">deleteKey</a> (int i)</td></tr>
<tr class="separator:a37ac126eabb0c3ce04047172abccca29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef78f3384f5a0ae880ad0883d2d44b82" id="r_aef78f3384f5a0ae880ad0883d2d44b82"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aef78f3384f5a0ae880ad0883d2d44b82">insertKey</a> (int k)</td></tr>
<tr class="separator:aef78f3384f5a0ae880ad0883d2d44b82"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pri-attribs" class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a34a93a87967308eb516328c0aca3c48e" id="r_a34a93a87967308eb516328c0aca3c48e"><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a34a93a87967308eb516328c0aca3c48e">harr</a></td></tr>
<tr class="memdesc:a34a93a87967308eb516328c0aca3c48e"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to array of elements in heap <br /></td></tr>
<tr class="separator:a34a93a87967308eb516328c0aca3c48e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88b4aa3e66392a3eabbf2517a9a79a02" id="r_a88b4aa3e66392a3eabbf2517a9a79a02"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a88b4aa3e66392a3eabbf2517a9a79a02">capacity</a></td></tr>
<tr class="memdesc:a88b4aa3e66392a3eabbf2517a9a79a02"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum possible size of min heap <br /></td></tr>
<tr class="separator:a88b4aa3e66392a3eabbf2517a9a79a02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4d358bf063bb196a1945b3fb99b4913" id="r_ae4d358bf063bb196a1945b3fb99b4913"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae4d358bf063bb196a1945b3fb99b4913">heap_size</a></td></tr>
<tr class="memdesc:ae4d358bf063bb196a1945b3fb99b4913"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current number of elements in min heap. <br /></td></tr>
<tr class="separator:ae4d358bf063bb196a1945b3fb99b4913"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class for Min Heap </p>
<p class="definition">Definition at line <a class="el" href="../../de/dc3/binaryheap_8cpp_source.html#l00010">10</a> of file <a class="el" href="../../de/dc3/binaryheap_8cpp_source.html">binaryheap.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
</div><a name="doc-constructors" id="doc-constructors"></a><h2 id="header-doc-constructors" class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a078cb888e642bb1f95dd0e03f0a35820" name="a078cb888e642bb1f95dd0e03f0a35820"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a078cb888e642bb1f95dd0e03f0a35820">&#9670;&#160;</a></span>MinHeap()</h2>
@@ -238,7 +213,7 @@ Private Attributes</h2></td></tr>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Member Function Documentation</h2>
<a id="aa7f726cc6327955d22871592227432f5" name="aa7f726cc6327955d22871592227432f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7f726cc6327955d22871592227432f5">&#9670;&#160;</a></span>decreaseKey()</h2>
@@ -525,7 +500,7 @@ Private Attributes</h2></td></tr>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a name="doc-variable-members" id="doc-variable-members"></a><h2 id="header-doc-variable-members" class="groupheader">Member Data Documentation</h2>
<a id="a88b4aa3e66392a3eabbf2517a9a79a02" name="a88b4aa3e66392a3eabbf2517a9a79a02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88b4aa3e66392a3eabbf2517a9a79a02">&#9670;&#160;</a></span>capacity</h2>
@@ -609,11 +584,19 @@ Private Attributes</h2></td></tr>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/d05/class_min_heap.html">MinHeap</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.13.2 </li>
<li class="navelem"><a href="../../d2/d05/class_min_heap.html">MinHeap</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: math/fast_power.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d0b/fast__power_8cpp.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d0b/fast__power_8cpp.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,8 +113,6 @@ $(function(){initNavTree('d2/d0b/fast__power_8cpp.html','../../'); initResizable
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">fast_power.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -138,23 +128,20 @@ $(function(){initNavTree('d2/d0b/fast__power_8cpp.html','../../'); initResizable
</div><div class="textblock"><div class="dynheader">
Include dependency graph for fast_power.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../db/d30/fast__power_8cpp__incl.svg" width="498" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../db/d30/fast__power_8cpp__incl.svg" width="498" 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>
<p><a href="../../d2/d0b/fast__power_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="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8399b847626e5bba983cab7c7918b445" id="r_a8399b847626e5bba983cab7c7918b445"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a8399b847626e5bba983cab7c7918b445"><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a8399b847626e5bba983cab7c7918b445">fast_power_recursive</a> (T a, T b)</td></tr>
<tr class="separator:a8399b847626e5bba983cab7c7918b445"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8399b847626e5bba983cab7c7918b445 template"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8399b847626e5bba983cab7c7918b445">fast_power_recursive</a> (T a, T b)</td></tr>
<tr class="memitem:a0d4e3f0099a6975b74a314a35bd0f94d" id="r_a0d4e3f0099a6975b74a314a35bd0f94d"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a0d4e3f0099a6975b74a314a35bd0f94d"><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a0d4e3f0099a6975b74a314a35bd0f94d">fast_power_linear</a> (T a, T b)</td></tr>
<tr class="separator:a0d4e3f0099a6975b74a314a35bd0f94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d4e3f0099a6975b74a314a35bd0f94d template"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0d4e3f0099a6975b74a314a35bd0f94d">fast_power_linear</a> (T a, T b)</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Faster computation for \(a^b\). </p>
<p>Program that computes \(a^b\) in \(O(logN)\) time. It is based on formula that:</p><ol type="1">
<li>if \(b\) is even: \(a^b = a^\frac{b}{2} \cdot a^\frac{b}{2} = {a^\frac{b}{2}}^2\)</li>
@@ -164,7 +151,7 @@ Functions</h2></td></tr>
<p>We can compute \(a^b\) recursively using above algorithm. </p>
<p class="definition">Definition in file <a class="el" href="../../d2/d0b/fast__power_8cpp_source.html">fast_power.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="a0d4e3f0099a6975b74a314a35bd0f94d" name="a0d4e3f0099a6975b74a314a35bd0f94d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d4e3f0099a6975b74a314a35bd0f94d">&#9670;&#160;</a></span>fast_power_linear()</h2>
@@ -300,11 +287,19 @@ template&lt;typename T&gt; </div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- 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="../../d2/d0b/fast__power_8cpp.html">fast_power.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.13.2 </li>
<li class="navelem"><a href="../../dir_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a href="../../d2/d0b/fast__power_8cpp.html">fast_power.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: math/fast_power.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d0b/fast__power_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d0b/fast__power_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -206,11 +198,12 @@ $(function(){initNavTree('d2/d0b/fast__power_8cpp_source.html','../../'); initRe
<div class="ttc" id="afast__power_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d2/d0b/fast__power_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition</b> <a href="#l00068">fast_power.cpp:68</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- 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="../../d2/d0b/fast__power_8cpp.html">fast_power.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.13.2 </li>
<li class="navelem"><a href="../../dir_296d53ceaeaa7e099814a6def439fe8a.html">math</a></li><li class="navelem"><a href="../../d2/d0b/fast__power_8cpp.html">fast_power.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: stats_computer1&lt; T &gt; Class Template Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d0f/classstats__computer1.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d0f/classstats__computer1.html','../../','d4/d8f/classstats__computer1-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,53 +113,39 @@ $(function(){initNavTree('d2/d0f/classstats__computer1.html','../../'); initResi
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="../../d4/d8f/classstats__computer1-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">stats_computer1&lt; T &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for stats_computer1&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d1/d6c/classstats__computer1__coll__graph.svg" width="162" height="126"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d1/d6c/classstats__computer1__coll__graph.svg" width="162" height="134"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-methods" class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa13bf7c38de112f71921a5525d71a2f2" id="r_aa13bf7c38de112f71921a5525d71a2f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa13bf7c38de112f71921a5525d71a2f2">new_val</a> (T x)</td></tr>
<tr class="separator:aa13bf7c38de112f71921a5525d71a2f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a390697dcee210b91823ceff04b25081b" id="r_a390697dcee210b91823ceff04b25081b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a390697dcee210b91823ceff04b25081b">mean</a> () const</td></tr>
<tr class="separator:a390697dcee210b91823ceff04b25081b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27f0a03e2fd2254f1c81fe668226bd92" id="r_a27f0a03e2fd2254f1c81fe668226bd92"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a27f0a03e2fd2254f1c81fe668226bd92">variance</a> () const</td></tr>
<tr class="separator:a27f0a03e2fd2254f1c81fe668226bd92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af57e942d49f4fd70f059f224b4ac07e1" id="r_af57e942d49f4fd70f059f224b4ac07e1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af57e942d49f4fd70f059f224b4ac07e1">std</a> () const</td></tr>
<tr class="separator:af57e942d49f4fd70f059f224b4ac07e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pri-attribs" class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ab2e69e75fe0da096bf61fa13420b43eb" id="r_ab2e69e75fe0da096bf61fa13420b43eb"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab2e69e75fe0da096bf61fa13420b43eb">n</a> = 0</td></tr>
<tr class="separator:ab2e69e75fe0da096bf61fa13420b43eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a097b80909181880f13b54a264ed337" id="r_a2a097b80909181880f13b54a264ed337"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2a097b80909181880f13b54a264ed337">Ex</a></td></tr>
<tr class="separator:a2a097b80909181880f13b54a264ed337"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ab2b14d5650b14e46b70b412573f60a" id="r_a8ab2b14d5650b14e46b70b412573f60a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8ab2b14d5650b14e46b70b412573f60a">Ex2</a></td></tr>
<tr class="separator:a8ab2b14d5650b14e46b70b412573f60a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48c03a44c784eb6913ad186d34c302db" id="r_a48c03a44c784eb6913ad186d34c302db"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a48c03a44c784eb6913ad186d34c302db">K</a></td></tr>
<tr class="separator:a48c03a44c784eb6913ad186d34c302db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
<tr class="heading"><td colspan="2"><h2 id="header-friends" class="groupheader"><a id="friends" name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a350bf6c429691d3578c4dfc6679a0797" id="r_a350bf6c429691d3578c4dfc6679a0797"><td class="memItemLeft" align="right" valign="top">std::istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a350bf6c429691d3578c4dfc6679a0797">operator&gt;&gt;</a> (std::istream &amp;input, <a class="el" href="../../d7/d7c/classstatistics_1_1stats__computer1.html">stats_computer1</a> &amp;stat)</td></tr>
<tr class="separator:a350bf6c429691d3578c4dfc6679a0797"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename T&gt;<br />
class stats_computer1&lt; T &gt;</div><p>continuous mean and variance computance using first value as an approximation for the mean. If the first number is much far form the mean, the algorithm becomes very inaccurate to compute variance and standard deviation. </p>
<p class="definition">Definition at line <a class="el" href="../../d0/d08/realtime__stats_8cpp_source.html#l00027">27</a> of file <a class="el" href="../../d0/d08/realtime__stats_8cpp_source.html">realtime_stats.cpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Member Function Documentation</h2>
<a id="a390697dcee210b91823ceff04b25081b" name="a390697dcee210b91823ceff04b25081b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a390697dcee210b91823ceff04b25081b">&#9670;&#160;</a></span>mean()</h2>
@@ -306,7 +284,7 @@ template&lt;typename T&gt; </div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Friends And Related Symbol Documentation</h2>
<a name="doc-related-members" id="doc-related-members"></a><h2 id="header-doc-related-members" class="groupheader">Friends And Related Symbol Documentation</h2>
<a id="a350bf6c429691d3578c4dfc6679a0797" name="a350bf6c429691d3578c4dfc6679a0797"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a350bf6c429691d3578c4dfc6679a0797">&#9670;&#160;</a></span>operator&gt;&gt;</h2>
@@ -336,7 +314,7 @@ template&lt;typename T&gt; </div>
</table>
</div><div class="memdoc">
<p>short-hand operator to read new sample from input stream <br />
e.g.: <code>std::cin &gt;&gt; stats1;</code> </p>
e.g.: <span class="tt">std::cin &gt;&gt; stats1;</span> </p>
<p class="definition">Definition at line <a class="el" href="../../d0/d08/realtime__stats_8cpp_source.html#l00053">53</a> of file <a class="el" href="../../d0/d08/realtime__stats_8cpp_source.html">realtime_stats.cpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 54</span> {</div>
@@ -349,7 +327,7 @@ template&lt;typename T&gt; </div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a name="doc-variable-members" id="doc-variable-members"></a><h2 id="header-doc-variable-members" class="groupheader">Member Data Documentation</h2>
<a id="a2a097b80909181880f13b54a264ed337" name="a2a097b80909181880f13b54a264ed337"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a097b80909181880f13b54a264ed337">&#9670;&#160;</a></span>Ex</h2>
@@ -459,11 +437,19 @@ template&lt;typename T&gt; </div>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/d0f/classstats__computer1.html">stats_computer1</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.13.2 </li>
<li class="navelem"><a href="../../d2/d0f/classstats__computer1.html">stats_computer1</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: ciphers/vigenere_cipher.cpp Pages: 1 -->
<svg width="186pt" height="83pt"
viewBox="0.00 0.00 185.88 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 186.00 83.00" 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">
@@ -24,7 +24,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Vigenère cipher algorithm.">
<polygon fill="#999999" stroke="#666666" points="160.12,-74.5 23.38,-74.5 23.38,-55.25 160.12,-55.25 160.12,-74.5"/>
<text text-anchor="middle" x="91.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers/vigenere_cipher.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="91.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers/vigenere_cipher.cpp</text>
</a>
</g>
</g>
@@ -33,7 +33,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -51,7 +51,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="111.75,-19.25 71.75,-19.25 71.75,0 111.75,0 111.75,-19.25"/>
<text text-anchor="middle" x="91.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="91.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -69,7 +69,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="177.88,-19.25 129.62,-19.25 129.62,0 177.88,0 177.88,-19.25"/>
<text text-anchor="middle" x="153.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="153.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: ciphers/vigenere_cipher.cpp Pages: 1 -->
<svg width="186pt" height="83pt"
viewBox="0.00 0.00 185.88 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 186.00 83.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 78.5)">
<title>ciphers/vigenere_cipher.cpp</title>
<!-- Node1 -->
@@ -13,7 +13,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Vigenère cipher algorithm.">
<polygon fill="#999999" stroke="#666666" points="160.12,-74.5 23.38,-74.5 23.38,-55.25 160.12,-55.25 160.12,-74.5"/>
<text text-anchor="middle" x="91.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers/vigenere_cipher.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="91.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers/vigenere_cipher.cpp</text>
</a>
</g>
</g>
@@ -22,7 +22,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -40,7 +40,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="111.75,-19.25 71.75,-19.25 71.75,0 111.75,0 111.75,-19.25"/>
<text text-anchor="middle" x="91.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="91.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -58,7 +58,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="177.88,-19.25 129.62,-19.25 129.62,0 177.88,0 177.88,-19.25"/>
<text text-anchor="middle" x="153.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="153.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: sorting/gnome_sort.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d21/gnome__sort_8cpp.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d21/gnome__sort_8cpp.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,9 +113,6 @@ $(function(){initNavTree('d2/d21/gnome__sort_8cpp.html','../../'); initResizable
</div>
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">gnome_sort.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -137,31 +126,26 @@ $(function(){initNavTree('d2/d21/gnome__sort_8cpp.html','../../'); initResizable
</div><div class="textblock"><div class="dynheader">
Include dependency graph for gnome_sort.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d9/d4e/gnome__sort_8cpp__incl.svg" width="344" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d9/d4e/gnome__sort_8cpp__incl.svg" width="344" 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>
<p><a href="../../d2/d21/gnome__sort_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>
<tr class="heading"><td colspan="2"><h2 id="header-namespaces" class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html">sorting</a></td></tr>
<tr class="memitem:sorting" id="r_sorting"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html">sorting</a></td></tr>
<tr class="memdesc:d5/d91/namespacesorting"><td class="mdescLeft">&#160;</td><td class="mdescRight">for working with vectors <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a2f8bc626eb57acae24a94636a23af6a1" id="r_a2f8bc626eb57acae24a94636a23af6a1"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a2f8bc626eb57acae24a94636a23af6a1"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html#a2f8bc626eb57acae24a94636a23af6a1">sorting::gnomeSort</a> (T *arr, int size)</td></tr>
<tr class="separator:a2f8bc626eb57acae24a94636a23af6a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f8bc626eb57acae24a94636a23af6a1 template"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html#a2f8bc626eb57acae24a94636a23af6a1">sorting::gnomeSort</a> (T *arr, int size)</td></tr>
<tr class="memitem:aa3677f87b5b4756bc77e9e34c5f27935" id="r_aa3677f87b5b4756bc77e9e34c5f27935"><td class="memTemplParams" colspan="2">template&lt;typename T, size_t size&gt; </td></tr>
<tr class="memitem:aa3677f87b5b4756bc77e9e34c5f27935"><td class="memTemplItemLeft" align="right" valign="top">std::array&lt; T, size &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html#aa3677f87b5b4756bc77e9e34c5f27935">sorting::gnomeSort</a> (std::array&lt; T, size &gt; arr)</td></tr>
<tr class="separator:aa3677f87b5b4756bc77e9e34c5f27935"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3677f87b5b4756bc77e9e34c5f27935 template"><td class="memItemLeft" align="right" valign="top">std::array&lt; T, size &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html#aa3677f87b5b4756bc77e9e34c5f27935">sorting::gnomeSort</a> (std::array&lt; T, size &gt; arr)</td></tr>
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of <a href="https://en.wikipedia.org/wiki/Gnome_sort" target="_blank">gnome sort</a> algorithm. </p>
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/beqakd" target="_blank">beqakd</a> </dd>
<dd>
@@ -170,7 +154,7 @@ Functions</h2></td></tr>
<p>The time Complexity of the algorithm is \(O(n^2)\) and in some cases it can be \(O(n)\). </p>
<p class="definition">Definition in file <a class="el" href="../../d2/d21/gnome__sort_8cpp_source.html">gnome_sort.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&#160;</a></span>main()</h2>
@@ -206,7 +190,7 @@ Functions</h2></td></tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void test </td>
<td class="memname">void test </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
@@ -268,11 +252,19 @@ Functions</h2></td></tr>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d21/gnome__sort_8cpp.html">gnome_sort.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.13.2 </li>
<li class="navelem"><a href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a href="../../d2/d21/gnome__sort_8cpp.html">gnome_sort.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: sorting/gnome_sort.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d21/gnome__sort_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d21/gnome__sort_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -232,11 +224,12 @@ $(function(){initNavTree('d2/d21/gnome__sort_8cpp_source.html','../../'); initRe
<div class="ttc" id="anamespacesorting_html_a2f8bc626eb57acae24a94636a23af6a1"><div class="ttname"><a href="../../d5/d91/namespacesorting.html#a2f8bc626eb57acae24a94636a23af6a1">sorting::gnomeSort</a></div><div class="ttdeci">void gnomeSort(T *arr, int size)</div><div class="ttdef"><b>Definition</b> <a href="#l00034">gnome_sort.cpp:34</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d21/gnome__sort_8cpp.html">gnome_sort.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.13.2 </li>
<li class="navelem"><a href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a href="../../d2/d21/gnome__sort_8cpp.html">gnome_sort.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: search/jump_search.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d22/jump__search_8cpp.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d22/jump__search_8cpp.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,8 +113,6 @@ $(function(){initNavTree('d2/d22/jump__search_8cpp.html','../../'); initResizabl
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">jump_search.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -135,23 +125,21 @@ $(function(){initNavTree('d2/d22/jump__search_8cpp.html','../../'); initResizabl
</div><div class="textblock"><div class="dynheader">
Include dependency graph for jump_search.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/dbd/jump__search_8cpp__incl.svg" width="262" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d6/dbd/jump__search_8cpp__incl.svg" width="262" 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>
<p><a href="../../d2/d22/jump__search_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="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab49fd8f401bfc71f63b74711390cccf0" id="r_ab49fd8f401bfc71f63b74711390cccf0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab49fd8f401bfc71f63b74711390cccf0">jumpSearch</a> (int arr[], int x, int n)</td></tr>
<tr class="separator:ab49fd8f401bfc71f63b74711390cccf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>C++ program to implement <a href="https://en.wikipedia.org/wiki/Jump_search" target="_blank">Jump Search</a> </p>
<p class="definition">Definition in file <a class="el" href="../../d2/d22/jump__search_8cpp_source.html">jump_search.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="ab49fd8f401bfc71f63b74711390cccf0" name="ab49fd8f401bfc71f63b74711390cccf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab49fd8f401bfc71f63b74711390cccf0">&#9670;&#160;</a></span>jumpSearch()</h2>
@@ -245,11 +233,19 @@ Functions</h2></td></tr>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_19b2bf9199a15c634a08b1ede1dd896a.html">search</a></li><li class="navelem"><a class="el" href="../../d2/d22/jump__search_8cpp.html">jump_search.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.13.2 </li>
<li class="navelem"><a href="../../dir_19b2bf9199a15c634a08b1ede1dd896a.html">search</a></li><li class="navelem"><a href="../../d2/d22/jump__search_8cpp.html">jump_search.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: search/jump_search.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d22/jump__search_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d22/jump__search_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -179,11 +171,12 @@ $(function(){initNavTree('d2/d22/jump__search_8cpp_source.html','../../'); initR
<div class="ttc" id="ajump__search_8cpp_html_ab49fd8f401bfc71f63b74711390cccf0"><div class="ttname"><a href="../../d2/d22/jump__search_8cpp.html#ab49fd8f401bfc71f63b74711390cccf0">jumpSearch</a></div><div class="ttdeci">int jumpSearch(int arr[], int x, int n)</div><div class="ttdef"><b>Definition</b> <a href="#l00012">jump_search.cpp:12</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_19b2bf9199a15c634a08b1ede1dd896a.html">search</a></li><li class="navelem"><a class="el" href="../../d2/d22/jump__search_8cpp.html">jump_search.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.13.2 </li>
<li class="navelem"><a href="../../dir_19b2bf9199a15c634a08b1ede1dd896a.html">search</a></li><li class="navelem"><a href="../../d2/d22/jump__search_8cpp.html">jump_search.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: machine_learning/neural_network.cpp Pages: 1 -->
<!--zoomable 149 -->
@@ -60,8 +60,8 @@ var sectionId = 'dynsection-0';
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of [Multilayer Perceptron] (https://en.wikipedia.org/wiki/Multilayer_perceptron).">
<polygon fill="#999999" stroke="#666666" points="398.38,-141 277.38,-141 277.38,-110.5 398.38,-110.5 398.38,-141"/>
<text text-anchor="start" x="285.38" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning/neural</text>
<text text-anchor="middle" x="337.88" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">_network.cpp</text>
<text xml:space="preserve" text-anchor="start" x="285.38" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning/neural</text>
<text xml:space="preserve" text-anchor="middle" x="337.88" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">_network.cpp</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@ var sectionId = 'dynsection-0';
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -88,7 +88,7 @@ var sectionId = 'dynsection-0';
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="414,-74.5 365.75,-74.5 365.75,-55.25 414,-55.25 414,-74.5"/>
<text text-anchor="middle" x="389.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="389.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -106,7 +106,7 @@ var sectionId = 'dynsection-0';
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.5,-19.25 74.25,-19.25 74.25,0 119.5,0 119.5,-19.25"/>
<text text-anchor="middle" x="96.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">chrono</text>
<text xml:space="preserve" text-anchor="middle" x="96.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">chrono</text>
</a>
</g>
</g>
@@ -124,7 +124,7 @@ var sectionId = 'dynsection-0';
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="475.38,-74.5 432.38,-74.5 432.38,-55.25 475.38,-55.25 475.38,-74.5"/>
<text text-anchor="middle" x="453.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
<text xml:space="preserve" text-anchor="middle" x="453.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
</a>
</g>
</g>
@@ -142,7 +142,7 @@ var sectionId = 'dynsection-0';
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="542.38,-74.5 493.38,-74.5 493.38,-55.25 542.38,-55.25 542.38,-74.5"/>
<text text-anchor="middle" x="517.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
<text xml:space="preserve" text-anchor="middle" x="517.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
</a>
</g>
</g>
@@ -160,7 +160,7 @@ var sectionId = 'dynsection-0';
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="190.62,-19.25 137.12,-19.25 137.12,0 190.62,0 190.62,-19.25"/>
<text text-anchor="middle" x="163.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="163.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -178,7 +178,7 @@ var sectionId = 'dynsection-0';
<title>Node8</title>
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="611.5,-74.5 560.25,-74.5 560.25,-55.25 611.5,-55.25 611.5,-74.5"/>
<text text-anchor="middle" x="585.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
<text xml:space="preserve" text-anchor="middle" x="585.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
</a>
</g>
</g>
@@ -196,7 +196,7 @@ var sectionId = 'dynsection-0';
<title>Node9</title>
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="669.88,-74.5 629.88,-74.5 629.88,-55.25 669.88,-55.25 669.88,-74.5"/>
<text text-anchor="middle" x="649.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="649.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -214,7 +214,7 @@ var sectionId = 'dynsection-0';
<title>Node10</title>
<g id="a_Node000010"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="325.12,-19.25 274.62,-19.25 274.62,0 325.12,0 325.12,-19.25"/>
<text text-anchor="middle" x="299.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">valarray</text>
<text xml:space="preserve" text-anchor="middle" x="299.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">valarray</text>
</a>
</g>
</g>
@@ -232,7 +232,7 @@ var sectionId = 'dynsection-0';
<title>Node11</title>
<g id="a_Node000011"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="386.38,-19.25 343.38,-19.25 343.38,0 386.38,0 386.38,-19.25"/>
<text text-anchor="middle" x="364.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="364.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
@@ -250,7 +250,7 @@ var sectionId = 'dynsection-0';
<title>Node12</title>
<g id="a_Node000012"><a xlink:href="../../d8/d95/vector__ops_8hpp.html" target="_top" xlink:title="Various functions for vectors associated with [NeuralNetwork (aka Multilayer Perceptron)] (https://en...">
<polygon fill="white" stroke="#666666" points="272.25,-74.5 189.5,-74.5 189.5,-55.25 272.25,-55.25 272.25,-74.5"/>
<text text-anchor="middle" x="230.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">vector_ops.hpp</text>
<text xml:space="preserve" text-anchor="middle" x="230.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">vector_ops.hpp</text>
</a>
</g>
</g>
@@ -313,7 +313,7 @@ var sectionId = 'dynsection-0';
<title>Node13</title>
<g id="a_Node000013"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="257,-19.25 208.75,-19.25 208.75,0 257,0 257,-19.25"/>
<text text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
<text xml:space="preserve" text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: machine_learning/neural_network.cpp Pages: 1 -->
<svg width="678pt" height="149pt"
viewBox="0.00 0.00 677.88 149.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 678.00 149.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 145)">
<title>machine_learning/neural_network.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of [Multilayer Perceptron] (https://en.wikipedia.org/wiki/Multilayer_perceptron).">
<polygon fill="#999999" stroke="#666666" points="398.38,-141 277.38,-141 277.38,-110.5 398.38,-110.5 398.38,-141"/>
<text text-anchor="start" x="285.38" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning/neural</text>
<text text-anchor="middle" x="337.88" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">_network.cpp</text>
<text xml:space="preserve" text-anchor="start" x="285.38" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning/neural</text>
<text xml:space="preserve" text-anchor="middle" x="337.88" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">_network.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="414,-74.5 365.75,-74.5 365.75,-55.25 414,-55.25 414,-74.5"/>
<text text-anchor="middle" x="389.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="389.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.5,-19.25 74.25,-19.25 74.25,0 119.5,0 119.5,-19.25"/>
<text text-anchor="middle" x="96.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">chrono</text>
<text xml:space="preserve" text-anchor="middle" x="96.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">chrono</text>
</a>
</g>
</g>
@@ -77,7 +77,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="475.38,-74.5 432.38,-74.5 432.38,-55.25 475.38,-55.25 475.38,-74.5"/>
<text text-anchor="middle" x="453.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
<text xml:space="preserve" text-anchor="middle" x="453.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
</a>
</g>
</g>
@@ -95,7 +95,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="542.38,-74.5 493.38,-74.5 493.38,-55.25 542.38,-55.25 542.38,-74.5"/>
<text text-anchor="middle" x="517.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
<text xml:space="preserve" text-anchor="middle" x="517.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
</a>
</g>
</g>
@@ -113,7 +113,7 @@
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="190.62,-19.25 137.12,-19.25 137.12,0 190.62,0 190.62,-19.25"/>
<text text-anchor="middle" x="163.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="163.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -131,7 +131,7 @@
<title>Node8</title>
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="611.5,-74.5 560.25,-74.5 560.25,-55.25 611.5,-55.25 611.5,-74.5"/>
<text text-anchor="middle" x="585.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
<text xml:space="preserve" text-anchor="middle" x="585.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
</a>
</g>
</g>
@@ -149,7 +149,7 @@
<title>Node9</title>
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="669.88,-74.5 629.88,-74.5 629.88,-55.25 669.88,-55.25 669.88,-74.5"/>
<text text-anchor="middle" x="649.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="649.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -167,7 +167,7 @@
<title>Node10</title>
<g id="a_Node000010"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="325.12,-19.25 274.62,-19.25 274.62,0 325.12,0 325.12,-19.25"/>
<text text-anchor="middle" x="299.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">valarray</text>
<text xml:space="preserve" text-anchor="middle" x="299.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">valarray</text>
</a>
</g>
</g>
@@ -185,7 +185,7 @@
<title>Node11</title>
<g id="a_Node000011"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="386.38,-19.25 343.38,-19.25 343.38,0 386.38,0 386.38,-19.25"/>
<text text-anchor="middle" x="364.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="364.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
@@ -203,7 +203,7 @@
<title>Node12</title>
<g id="a_Node000012"><a xlink:href="../../d8/d95/vector__ops_8hpp.html" target="_top" xlink:title="Various functions for vectors associated with [NeuralNetwork (aka Multilayer Perceptron)] (https://en...">
<polygon fill="white" stroke="#666666" points="272.25,-74.5 189.5,-74.5 189.5,-55.25 272.25,-55.25 272.25,-74.5"/>
<text text-anchor="middle" x="230.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">vector_ops.hpp</text>
<text xml:space="preserve" text-anchor="middle" x="230.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">vector_ops.hpp</text>
</a>
</g>
</g>
@@ -266,7 +266,7 @@
<title>Node13</title>
<g id="a_Node000013"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="257,-19.25 208.75,-19.25 208.75,0 257,0 257,-19.25"/>
<text text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
<text xml:space="preserve" text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: probability/addition_rule.cpp Pages: 1 -->
<svg width="105pt" height="94pt"
viewBox="0.00 0.00 105.00 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 105.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Addition rule of probabilities.">
<polygon fill="#999999" stroke="#666666" points="97,-85.75 0,-85.75 0,-55.25 97,-55.25 97,-85.75"/>
<text text-anchor="start" x="8" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">probability/addition</text>
<text text-anchor="middle" x="48.5" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_rule.cpp</text>
<text xml:space="preserve" text-anchor="start" x="8" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">probability/addition</text>
<text xml:space="preserve" text-anchor="middle" x="48.5" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_rule.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="75.25,-19.25 21.75,-19.25 21.75,0 75.25,0 75.25,-19.25"/>
<text text-anchor="middle" x="48.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="48.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: probability/addition_rule.cpp Pages: 1 -->
<svg width="105pt" height="94pt"
viewBox="0.00 0.00 105.00 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 105.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>probability/addition_rule.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Addition rule of probabilities.">
<polygon fill="#999999" stroke="#666666" points="97,-85.75 0,-85.75 0,-55.25 97,-55.25 97,-85.75"/>
<text text-anchor="start" x="8" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">probability/addition</text>
<text text-anchor="middle" x="48.5" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_rule.cpp</text>
<text xml:space="preserve" text-anchor="start" x="8" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">probability/addition</text>
<text xml:space="preserve" text-anchor="middle" x="48.5" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_rule.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="75.25,-19.25 21.75,-19.25 21.75,0 75.25,0 75.25,-19.25"/>
<text text-anchor="middle" x="48.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="48.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: sorting/count_inversions.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d26/count__inversions_8cpp.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d26/count__inversions_8cpp.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,9 +113,6 @@ $(function(){initNavTree('d2/d26/count__inversions_8cpp.html','../../'); initRes
</div>
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">count_inversions.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -137,57 +126,49 @@ $(function(){initNavTree('d2/d26/count__inversions_8cpp.html','../../'); initRes
</div><div class="textblock"><div class="dynheader">
Include dependency graph for count_inversions.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../db/d6c/count__inversions_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 class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../db/d6c/count__inversions_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>
<p><a href="../../d2/d26/count__inversions_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>
<tr class="heading"><td colspan="2"><h2 id="header-namespaces" class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html">sorting</a></td></tr>
<tr class="memitem:sorting" id="r_sorting"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d91/namespacesorting.html">sorting</a></td></tr>
<tr class="memdesc:d5/d91/namespacesorting"><td class="mdescLeft">&#160;</td><td class="mdescRight">for working with vectors <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d13/namespaceinversion.html">inversion</a></td></tr>
<tr class="memitem:inversion" id="r_inversion"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d13/namespaceinversion.html">inversion</a></td></tr>
<tr class="memdesc:d9/d13/namespaceinversion"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions for counting inversions using Merge Sort algorithm. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aad643c14734394e784a75169cb58132f" id="r_aad643c14734394e784a75169cb58132f"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:aad643c14734394e784a75169cb58132f"><td class="memTemplItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#aad643c14734394e784a75169cb58132f">sorting::inversion::merge</a> (T *arr, T *temp, uint32_t left, uint32_t mid, uint32_t right)</td></tr>
<tr class="memitem:aad643c14734394e784a75169cb58132f template"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aad643c14734394e784a75169cb58132f">sorting::inversion::merge</a> (T *arr, T *temp, uint32_t left, uint32_t mid, uint32_t right)</td></tr>
<tr class="memdesc:aad643c14734394e784a75169cb58132f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to merge two sub-arrays. <br /></td></tr>
<tr class="separator:aad643c14734394e784a75169cb58132f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae97a486e14101c4822ea8dc47f0d1661" id="r_ae97a486e14101c4822ea8dc47f0d1661"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:ae97a486e14101c4822ea8dc47f0d1661"><td class="memTemplItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#ae97a486e14101c4822ea8dc47f0d1661">sorting::inversion::mergeSort</a> (T *arr, T *temp, uint32_t left, uint32_t right)</td></tr>
<tr class="memitem:ae97a486e14101c4822ea8dc47f0d1661 template"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae97a486e14101c4822ea8dc47f0d1661">sorting::inversion::mergeSort</a> (T *arr, T *temp, uint32_t left, uint32_t right)</td></tr>
<tr class="memdesc:ae97a486e14101c4822ea8dc47f0d1661"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implement merge Sort and count inverions while merging. <br /></td></tr>
<tr class="separator:ae97a486e14101c4822ea8dc47f0d1661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3332498eabf6579ef059c0d0e9f4ec80" id="r_a3332498eabf6579ef059c0d0e9f4ec80"><td class="memTemplParams" colspan="2">template&lt;class T&gt; </td></tr>
<tr class="memitem:a3332498eabf6579ef059c0d0e9f4ec80"><td class="memTemplItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a3332498eabf6579ef059c0d0e9f4ec80">sorting::inversion::countInversion</a> (T *arr, const uint32_t size)</td></tr>
<tr class="memitem:a3332498eabf6579ef059c0d0e9f4ec80 template"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3332498eabf6579ef059c0d0e9f4ec80">sorting::inversion::countInversion</a> (T *arr, const uint32_t size)</td></tr>
<tr class="memdesc:a3332498eabf6579ef059c0d0e9f4ec80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function <a class="el" href="#a3332498eabf6579ef059c0d0e9f4ec80" title="Function countInversion() returns the number of inversion present in the input array....">countInversion()</a> returns the number of inversion present in the input array. Inversions are an estimate of how close or far off the array is to being sorted. <br /></td></tr>
<tr class="separator:a3332498eabf6579ef059c0d0e9f4ec80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a851ca6a0391d14fb49a97d55e4377497" id="r_a851ca6a0391d14fb49a97d55e4377497"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a851ca6a0391d14fb49a97d55e4377497"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a851ca6a0391d14fb49a97d55e4377497">sorting::inversion::show</a> (T *arr, const uint32_t array_size)</td></tr>
<tr class="memitem:a851ca6a0391d14fb49a97d55e4377497 template"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a851ca6a0391d14fb49a97d55e4377497">sorting::inversion::show</a> (T *arr, const uint32_t array_size)</td></tr>
<tr class="memdesc:a851ca6a0391d14fb49a97d55e4377497"><td class="mdescLeft">&#160;</td><td class="mdescRight">UTILITY function to print array. <br /></td></tr>
<tr class="separator:a851ca6a0391d14fb49a97d55e4377497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test implementations. <br /></td></tr>
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Program Body contains all main funtionality. <br /></td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Counting Inversions using <a href="https://en.wikipedia.org/wiki/Merge_sort" target="_blank">Merge Sort</a> </p>
<p>Program to count the number of inversions in an array using merge-sort.</p>
<p>The count of inversions help to determine how close the array is to be sorted in ASCENDING order.</p>
<p>two elements a[i] and a[j] form an inversion if <code>a[i]</code> &gt; <code>a[j]</code> and i &lt; j</p>
<p>Time Complexity --&gt; <code>O(n.log n)</code></p>
<p>Space Complexity --&gt; <code>O(n)</code> ; additional array <code>temp[1..n]</code> </p>
<h3><a class="anchor" id="autotoc_md115"></a>
<p>two elements a[i] and a[j] form an inversion if <span class="tt">a[i]</span> &gt; <span class="tt">a[j]</span> and i &lt; j</p>
<p>Time Complexity --&gt; <span class="tt">O(n.log n)</span></p>
<p>Space Complexity --&gt; <span class="tt">O(n)</span> ; additional array <span class="tt">temp[1..n]</span> </p>
<h3 class="doxsection"><a class="anchor" id="autotoc_md115"></a>
Algorithm</h3>
<ol type="1">
<li>The idea is similar to merge sort, divide the array into two equal or almost equal halves in each step until the base case is reached.</li>
<li>Create a function merge that counts the number of inversions when two halves of the array are merged, create two indices i and j, i is the index for first half and j is an index of the second half. if <code>a[i]</code> is greater than <code>a[j]</code>, then there are (mid i) inversions, Because left and right subarrays are sorted, so all the remaining elements in left-subarray (a[i+1], a[i+2] … a[mid]) will be greater than a[j].</li>
<li>Create a function merge that counts the number of inversions when two halves of the array are merged, create two indices i and j, i is the index for first half and j is an index of the second half. if <span class="tt">a[i]</span> is greater than <span class="tt">a[j]</span>, then there are (mid i) inversions, Because left and right subarrays are sorted, so all the remaining elements in left-subarray (a[i+1], a[i+2] … a[mid]) will be greater than a[j].</li>
<li>Create a recursive function to divide the array into halves and find the answer by summing the number of inversions is the first half, number of inversion in the second half and the number of inversions by merging the two.</li>
<li>The base case of recursion is when there is only one element in the given half.</li>
<li>Print the answer</li>
@@ -195,7 +176,7 @@ Algorithm</h3>
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/rakshitraj" target="_blank">Rakshit Raj</a> </dd></dl>
<p class="definition">Definition in file <a class="el" href="../../d2/d26/count__inversions_8cpp_source.html">count_inversions.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="a3332498eabf6579ef059c0d0e9f4ec80" name="a3332498eabf6579ef059c0d0e9f4ec80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3332498eabf6579ef059c0d0e9f4ec80">&#9670;&#160;</a></span>countInversion()</h2>
@@ -311,9 +292,9 @@ template&lt;typename T&gt; </div>
<table class="params">
<tr><td class="paramname">arr</td><td>input array, data-menber of vector </td></tr>
<tr><td class="paramname">temp</td><td>stores the resultant merged array </td></tr>
<tr><td class="paramname">left</td><td>lower bound of <code>arr[]</code> and left-sub-array </td></tr>
<tr><td class="paramname">mid</td><td>midpoint, upper bound of left sub-array, <code>(mid+1)</code> gives the lower bound of right-sub-array </td></tr>
<tr><td class="paramname">right</td><td>upper bound of <code>arr[]</code> and right-sub-array </td></tr>
<tr><td class="paramname">left</td><td>lower bound of <span class="tt">arr[]</span> and left-sub-array </td></tr>
<tr><td class="paramname">mid</td><td>midpoint, upper bound of left sub-array, <span class="tt">(mid+1)</span> gives the lower bound of right-sub-array </td></tr>
<tr><td class="paramname">right</td><td>upper bound of <span class="tt">arr[]</span> and right-sub-array </td></tr>
</table>
</dd>
</dl>
@@ -468,7 +449,7 @@ template&lt;typename T&gt; </div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void test </td>
<td class="memname">void test </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
@@ -524,11 +505,19 @@ template&lt;typename T&gt; </div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d26/count__inversions_8cpp.html">count_inversions.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.13.2 </li>
<li class="navelem"><a href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a href="../../d2/d26/count__inversions_8cpp.html">count_inversions.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: sorting/count_inversions.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d26/count__inversions_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d26/count__inversions_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -306,11 +298,12 @@ $(function(){initNavTree('d2/d26/count__inversions_8cpp_source.html','../../');
<div class="ttc" id="anamespacesorting_html"><div class="ttname"><a href="../../d5/d91/namespacesorting.html">sorting</a></div><div class="ttdoc">for working with vectors</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d26/count__inversions_8cpp.html">count_inversions.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.13.2 </li>
<li class="navelem"><a href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a href="../../d2/d26/count__inversions_8cpp.html">count_inversions.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: math/approximate_pi.cpp Pages: 1 -->
<svg width="251pt" height="83pt"
viewBox="0.00 0.00 250.62 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 251.00 83.00" 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">
@@ -24,7 +24,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation to calculate an estimate of the number π (Pi).">
<polygon fill="#999999" stroke="#666666" points="183.88,-74.5 58.38,-74.5 58.38,-55.25 183.88,-55.25 183.88,-74.5"/>
<text text-anchor="middle" x="121.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">math/approximate_pi.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="121.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">math/approximate_pi.cpp</text>
</a>
</g>
</g>
@@ -33,7 +33,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -51,7 +51,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="110.38,-19.25 65.88,-19.25 65.88,0 110.38,0 110.38,-19.25"/>
<text text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
<text xml:space="preserve" text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
</a>
</g>
</g>
@@ -69,7 +69,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="181.88,-19.25 128.38,-19.25 128.38,0 181.88,0 181.88,-19.25"/>
<text text-anchor="middle" x="155.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="155.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -87,7 +87,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="242.62,-19.25 199.62,-19.25 199.62,0 242.62,0 242.62,-19.25"/>
<text text-anchor="middle" x="221.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="221.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: math/approximate_pi.cpp Pages: 1 -->
<svg width="251pt" height="83pt"
viewBox="0.00 0.00 250.62 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 251.00 83.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 78.5)">
<title>math/approximate_pi.cpp</title>
<!-- Node1 -->
@@ -13,7 +13,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation to calculate an estimate of the number π (Pi).">
<polygon fill="#999999" stroke="#666666" points="183.88,-74.5 58.38,-74.5 58.38,-55.25 183.88,-55.25 183.88,-74.5"/>
<text text-anchor="middle" x="121.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">math/approximate_pi.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="121.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">math/approximate_pi.cpp</text>
</a>
</g>
</g>
@@ -22,7 +22,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -40,7 +40,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="110.38,-19.25 65.88,-19.25 65.88,0 110.38,0 110.38,-19.25"/>
<text text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
<text xml:space="preserve" text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
</a>
</g>
</g>
@@ -58,7 +58,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="181.88,-19.25 128.38,-19.25 128.38,0 181.88,0 181.88,-19.25"/>
<text text-anchor="middle" x="155.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="155.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -76,7 +76,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="242.62,-19.25 199.62,-19.25 199.62,0 242.62,0 242.62,-19.25"/>
<text text-anchor="middle" x="221.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="221.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: data_structures/segment_tree.cpp Pages: 1 -->
<svg width="262pt" height="94pt"
viewBox="0.00 0.00 261.88 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 262.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A data structure to quickly do operations on ranges: the Segment Tree algorithm implementation.">
<polygon fill="#999999" stroke="#666666" points="187.75,-85.75 63.75,-85.75 63.75,-55.25 187.75,-55.25 187.75,-85.75"/>
<text text-anchor="start" x="71.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures/segment</text>
<text text-anchor="middle" x="125.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_tree.cpp</text>
<text xml:space="preserve" text-anchor="start" x="71.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures/segment</text>
<text xml:space="preserve" text-anchor="middle" x="125.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_tree.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="114.25,-19.25 71.25,-19.25 71.25,0 114.25,0 114.25,-19.25"/>
<text text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="187.62,-19.25 131.88,-19.25 131.88,0 187.62,0 187.62,-19.25"/>
<text text-anchor="middle" x="159.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="159.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -88,7 +88,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="253.88,-19.25 205.62,-19.25 205.62,0 253.88,0 253.88,-19.25"/>
<text text-anchor="middle" x="229.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="229.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: data_structures/segment_tree.cpp Pages: 1 -->
<svg width="262pt" height="94pt"
viewBox="0.00 0.00 261.88 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 262.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>data_structures/segment_tree.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A data structure to quickly do operations on ranges: the Segment Tree algorithm implementation.">
<polygon fill="#999999" stroke="#666666" points="187.75,-85.75 63.75,-85.75 63.75,-55.25 187.75,-55.25 187.75,-85.75"/>
<text text-anchor="start" x="71.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures/segment</text>
<text text-anchor="middle" x="125.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_tree.cpp</text>
<text xml:space="preserve" text-anchor="start" x="71.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures/segment</text>
<text xml:space="preserve" text-anchor="middle" x="125.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_tree.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="114.25,-19.25 71.25,-19.25 71.25,0 114.25,0 114.25,-19.25"/>
<text text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="187.62,-19.25 131.88,-19.25 131.88,0 187.62,0 187.62,-19.25"/>
<text text-anchor="middle" x="159.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="159.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -77,7 +77,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="253.88,-19.25 205.62,-19.25 205.62,0 253.88,0 253.88,-19.25"/>
<text text-anchor="middle" x="229.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="229.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: tower Struct Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d2c/structtower.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d2c/structtower.html','../../','d5/de2/structtower-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,27 +113,22 @@ $(function(){initNavTree('d2/d2c/structtower.html','../../'); initResizable(true
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../d5/de2/structtower-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">tower Struct Reference</div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-attribs" class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3ebb75c13c57d51a8a1ba1ea54a515e9" id="r_a3ebb75c13c57d51a8a1ba1ea54a515e9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3ebb75c13c57d51a8a1ba1ea54a515e9">values</a> [10]</td></tr>
<tr class="memdesc:a3ebb75c13c57d51a8a1ba1ea54a515e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Values in the tower. <br /></td></tr>
<tr class="separator:a3ebb75c13c57d51a8a1ba1ea54a515e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb535964abd34c47678a4ade0628223d" id="r_acb535964abd34c47678a4ade0628223d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acb535964abd34c47678a4ade0628223d">top</a></td></tr>
<tr class="memdesc:acb535964abd34c47678a4ade0628223d"><td class="mdescLeft">&#160;</td><td class="mdescRight">top tower ID <br /></td></tr>
<tr class="separator:acb535964abd34c47678a4ade0628223d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Define the state of tower </p>
<p class="definition">Definition at line <a class="el" href="../../db/d3c/tower__of__hanoi_8cpp_source.html#l00011">11</a> of file <a class="el" href="../../db/d3c/tower__of__hanoi_8cpp_source.html">tower_of_hanoi.cpp</a>.</p>
</div><h2 class="groupheader">Member Data Documentation</h2>
</div><a name="doc-variable-members" id="doc-variable-members"></a><h2 id="header-doc-variable-members" class="groupheader">Member Data Documentation</h2>
<a id="acb535964abd34c47678a4ade0628223d" name="acb535964abd34c47678a4ade0628223d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb535964abd34c47678a4ade0628223d">&#9670;&#160;</a></span>top</h2>
@@ -183,11 +170,19 @@ Public Attributes</h2></td></tr>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/d2c/structtower.html">tower</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.13.2 </li>
<li class="navelem"><a href="../../d2/d2c/structtower.html">tower</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: greedy_algorithms::dijkstra Namespace Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,9 +113,6 @@ $(function(){initNavTree('d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html','
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">greedy_algorithms::dijkstra Namespace Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -131,27 +120,23 @@ $(function(){initNavTree('d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html','
<p>Functions for the <a href="https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm" target="_blank">Dijkstra</a> algorithm implementation.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
<tr class="heading"><td colspan="2"><h2 id="header-nested-classes" 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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.html">Graph</a></td></tr>
<tr class="memitem:Graph" id="r_Graph"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.html">Graph</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper class for storing a graph. <a href="../../d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af6cb29ca6dc5771439f6ea7262058a71" id="r_af6cb29ca6dc5771439f6ea7262058a71"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af6cb29ca6dc5771439f6ea7262058a71">minimum_distance</a> (std::vector&lt; int &gt; mdist, std::vector&lt; bool &gt; vset, int V)</td></tr>
<tr class="memdesc:af6cb29ca6dc5771439f6ea7262058a71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function that finds the vertex with the minimum distance in <code>mdist</code>. <br /></td></tr>
<tr class="separator:af6cb29ca6dc5771439f6ea7262058a71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memdesc:af6cb29ca6dc5771439f6ea7262058a71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function that finds the vertex with the minimum distance in <span class="tt">mdist</span>. <br /></td></tr>
<tr class="memitem:a7341d7c76a6145e991cdd231f689fca8" id="r_a7341d7c76a6145e991cdd231f689fca8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7341d7c76a6145e991cdd231f689fca8">print</a> (std::vector&lt; int &gt; dist, int V)</td></tr>
<tr class="memdesc:a7341d7c76a6145e991cdd231f689fca8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function to print the distances to vertices. <br /></td></tr>
<tr class="separator:a7341d7c76a6145e991cdd231f689fca8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af915876d0ca33cc71a6a6191a8cd3ccd" id="r_af915876d0ca33cc71a6a6191a8cd3ccd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af915876d0ca33cc71a6a6191a8cd3ccd">dijkstra</a> (<a class="el" href="../../d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.html">Graph</a> graph, int src)</td></tr>
<tr class="memdesc:af915876d0ca33cc71a6a6191a8cd3ccd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The main function that finds the shortest path from a given source to all other vertices using Dijkstra's Algorithm. <br /></td></tr>
<tr class="separator:af915876d0ca33cc71a6a6191a8cd3ccd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Functions for the <a href="https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm" target="_blank">Dijkstra</a> algorithm implementation. </p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="af915876d0ca33cc71a6a6191a8cd3ccd" name="af915876d0ca33cc71a6a6191a8cd3ccd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af915876d0ca33cc71a6a6191a8cd3ccd">&#9670;&#160;</a></span>dijkstra()</h2>
@@ -242,7 +227,7 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Utility function that finds the vertex with the minimum distance in <code>mdist</code>. </p>
<p>Utility function that finds the vertex with the minimum distance in <span class="tt">mdist</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">mdist</td><td>array of distances to each vertex </td></tr>
@@ -315,11 +300,19 @@ Functions</h2></td></tr>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/d90/namespacegreedy__algorithms.html">greedy_algorithms</a></li><li class="navelem"><a class="el" href="../../d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html">dijkstra</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.13.2 </li>
<li class="navelem"><a href="../../d2/d90/namespacegreedy__algorithms.html">greedy_algorithms</a></li><li class="navelem"><a href="../../d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html">dijkstra</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: Member List</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d9/d5a/structgeometry_1_1jarvis_1_1_point.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d9/d5a/structgeometry_1_1jarvis_1_1_point.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -131,10 +123,11 @@ $(function(){initNavTree('d9/d5a/structgeometry_1_1jarvis_1_1_point.html','../..
<tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>y</b> (defined in <a class="el" href="../../d9/d5a/structgeometry_1_1jarvis_1_1_point.html">geometry::jarvis::Point</a>)</td><td class="entry"><a class="el" href="../../d9/d5a/structgeometry_1_1jarvis_1_1_point.html">geometry::jarvis::Point</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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.13.2 </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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: sorting/pancake_sort.cpp Pages: 1 -->
<svg width="262pt" height="83pt"
viewBox="0.00 0.00 262.38 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 262.00 83.00" 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">
@@ -24,7 +24,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="pancake sort sorts a disordered stack of pancakes by flipping any number of pancakes using a spatula ...">
<polygon fill="#999999" stroke="#666666" points="194.62,-74.5 69.12,-74.5 69.12,-55.25 194.62,-55.25 194.62,-74.5"/>
<text text-anchor="middle" x="131.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/pancake_sort.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="131.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/pancake_sort.cpp</text>
</a>
</g>
</g>
@@ -33,7 +33,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -51,7 +51,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="122,-19.25 73.75,-19.25 73.75,0 122,0 122,-19.25"/>
<text text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -69,7 +69,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="193.62,-19.25 140.12,-19.25 140.12,0 193.62,0 193.62,-19.25"/>
<text text-anchor="middle" x="166.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -87,7 +87,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="254.38,-19.25 211.38,-19.25 211.38,0 254.38,0 254.38,-19.25"/>
<text text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: sorting/pancake_sort.cpp Pages: 1 -->
<svg width="262pt" height="83pt"
viewBox="0.00 0.00 262.38 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 262.00 83.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 78.5)">
<title>sorting/pancake_sort.cpp</title>
<!-- Node1 -->
@@ -13,7 +13,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="pancake sort sorts a disordered stack of pancakes by flipping any number of pancakes using a spatula ...">
<polygon fill="#999999" stroke="#666666" points="194.62,-74.5 69.12,-74.5 69.12,-55.25 194.62,-55.25 194.62,-74.5"/>
<text text-anchor="middle" x="131.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/pancake_sort.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="131.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/pancake_sort.cpp</text>
</a>
</g>
</g>
@@ -22,7 +22,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -40,7 +40,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="122,-19.25 73.75,-19.25 73.75,0 122,0 122,-19.25"/>
<text text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -58,7 +58,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="193.62,-19.25 140.12,-19.25 140.12,0 193.62,0 193.62,-19.25"/>
<text text-anchor="middle" x="166.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -76,7 +76,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="254.38,-19.25 211.38,-19.25 211.38,0 254.38,0 254.38,-19.25"/>
<text text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: qr_algorithm Namespace Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d3b/namespaceqr__algorithm.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d3b/namespaceqr__algorithm.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,8 +113,6 @@ $(function(){initNavTree('d2/d3b/namespaceqr__algorithm.html','../../'); initRes
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">qr_algorithm Namespace Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -130,32 +120,25 @@ $(function(){initNavTree('d2/d3b/namespaceqr__algorithm.html','../../'); initRes
<p>Functions to compute <a href="https://en.wikipedia.org/wiki/QR_decomposition" target="_blank">QR decomposition</a> of any rectangular matrix.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:adfbdf47277c8cfee229b05b72f1f7834" id="r_adfbdf47277c8cfee229b05b72f1f7834"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:adfbdf47277c8cfee229b05b72f1f7834"><td class="memTemplItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#adfbdf47277c8cfee229b05b72f1f7834">operator&lt;&lt;</a> (std::ostream &amp;out, std::valarray&lt; std::valarray&lt; T &gt; &gt; const &amp;v)</td></tr>
<tr class="separator:adfbdf47277c8cfee229b05b72f1f7834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfbdf47277c8cfee229b05b72f1f7834 template"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adfbdf47277c8cfee229b05b72f1f7834">operator&lt;&lt;</a> (std::ostream &amp;out, std::valarray&lt; std::valarray&lt; T &gt; &gt; const &amp;v)</td></tr>
<tr class="memitem:a257425cb2365359da51c6fe6741834d8" id="r_a257425cb2365359da51c6fe6741834d8"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a257425cb2365359da51c6fe6741834d8"><td class="memTemplItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a257425cb2365359da51c6fe6741834d8">operator&lt;&lt;</a> (std::ostream &amp;out, std::valarray&lt; T &gt; const &amp;v)</td></tr>
<tr class="separator:a257425cb2365359da51c6fe6741834d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a257425cb2365359da51c6fe6741834d8 template"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a257425cb2365359da51c6fe6741834d8">operator&lt;&lt;</a> (std::ostream &amp;out, std::valarray&lt; T &gt; const &amp;v)</td></tr>
<tr class="memitem:a8ea313a1a1b5f9d0e3e332c29c6446ec" id="r_a8ea313a1a1b5f9d0e3e332c29c6446ec"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a8ea313a1a1b5f9d0e3e332c29c6446ec"><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a8ea313a1a1b5f9d0e3e332c29c6446ec">vector_dot</a> (const std::valarray&lt; T &gt; &amp;a, const std::valarray&lt; T &gt; &amp;b)</td></tr>
<tr class="separator:a8ea313a1a1b5f9d0e3e332c29c6446ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ea313a1a1b5f9d0e3e332c29c6446ec template"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8ea313a1a1b5f9d0e3e332c29c6446ec">vector_dot</a> (const std::valarray&lt; T &gt; &amp;a, const std::valarray&lt; T &gt; &amp;b)</td></tr>
<tr class="memitem:ad16da2183db22378435042f26af43d5f" id="r_ad16da2183db22378435042f26af43d5f"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:ad16da2183db22378435042f26af43d5f"><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#ad16da2183db22378435042f26af43d5f">vector_mag</a> (const std::valarray&lt; T &gt; &amp;a)</td></tr>
<tr class="separator:ad16da2183db22378435042f26af43d5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad16da2183db22378435042f26af43d5f template"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad16da2183db22378435042f26af43d5f">vector_mag</a> (const std::valarray&lt; T &gt; &amp;a)</td></tr>
<tr class="memitem:a6d3c7dce1f142141f509d09f6c0e25dc" id="r_a6d3c7dce1f142141f509d09f6c0e25dc"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a6d3c7dce1f142141f509d09f6c0e25dc"><td class="memTemplItemLeft" align="right" valign="top">std::valarray&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a6d3c7dce1f142141f509d09f6c0e25dc">vector_proj</a> (const std::valarray&lt; T &gt; &amp;a, const std::valarray&lt; T &gt; &amp;b)</td></tr>
<tr class="separator:a6d3c7dce1f142141f509d09f6c0e25dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d3c7dce1f142141f509d09f6c0e25dc template"><td class="memItemLeft" align="right" valign="top">std::valarray&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6d3c7dce1f142141f509d09f6c0e25dc">vector_proj</a> (const std::valarray&lt; T &gt; &amp;a, const std::valarray&lt; T &gt; &amp;b)</td></tr>
<tr class="memitem:a73ce637634fc49e1d10d190eb388ebf1" id="r_a73ce637634fc49e1d10d190eb388ebf1"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a73ce637634fc49e1d10d190eb388ebf1"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a73ce637634fc49e1d10d190eb388ebf1">qr_decompose</a> (const std::valarray&lt; std::valarray&lt; T &gt; &gt; &amp;A, std::valarray&lt; std::valarray&lt; T &gt; &gt; *Q, std::valarray&lt; std::valarray&lt; T &gt; &gt; *R)</td></tr>
<tr class="separator:a73ce637634fc49e1d10d190eb388ebf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73ce637634fc49e1d10d190eb388ebf1 template"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a73ce637634fc49e1d10d190eb388ebf1">qr_decompose</a> (const std::valarray&lt; std::valarray&lt; T &gt; &gt; &amp;A, std::valarray&lt; std::valarray&lt; T &gt; &gt; *Q, std::valarray&lt; std::valarray&lt; T &gt; &gt; *R)</td></tr>
<tr class="memitem:a28e2fa3e803abaea6c568dc45d69d8cc" id="r_a28e2fa3e803abaea6c568dc45d69d8cc"><td class="memItemLeft" align="right" valign="top">std::valarray&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a28e2fa3e803abaea6c568dc45d69d8cc">eigen_values</a> (std::valarray&lt; std::valarray&lt; double &gt; &gt; *A, bool print_intermediates=false)</td></tr>
<tr class="separator:a28e2fa3e803abaea6c568dc45d69d8cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Functions to compute <a href="https://en.wikipedia.org/wiki/QR_decomposition" target="_blank">QR decomposition</a> of any rectangular matrix. </p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="a28e2fa3e803abaea6c568dc45d69d8cc" name="a28e2fa3e803abaea6c568dc45d69d8cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28e2fa3e803abaea6c568dc45d69d8cc">&#9670;&#160;</a></span>eigen_values()</h2>
@@ -196,7 +179,7 @@ Functions</h2></td></tr>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in,out]</td><td class="paramname">A</td><td>matrix to compute eigen values for </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">print_intermediates</td><td>(optional) whether to print intermediate A, Q and R matrices (default = <code>false</code>) </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">print_intermediates</td><td>(optional) whether to print intermediate A, Q and R matrices (default = <span class="tt">false</span>) </td></tr>
</table>
</dd>
</dl>
@@ -599,11 +582,19 @@ template&lt;typename T&gt; </div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/d3b/namespaceqr__algorithm.html">qr_algorithm</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.13.2 </li>
<li class="navelem"><a href="../../d2/d3b/namespaceqr__algorithm.html">qr_algorithm</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: sorting/insertion_sort_recursive.cpp Pages: 1 -->
<svg width="262pt" height="94pt"
viewBox="0.00 0.00 262.38 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 262.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Insertion Sort Algorithm.">
<polygon fill="#999999" stroke="#666666" points="185.25,-85.75 78.5,-85.75 78.5,-55.25 185.25,-55.25 185.25,-85.75"/>
<text text-anchor="start" x="86.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/insertion_sort</text>
<text text-anchor="middle" x="131.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_recursive.cpp</text>
<text xml:space="preserve" text-anchor="start" x="86.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/insertion_sort</text>
<text xml:space="preserve" text-anchor="middle" x="131.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_recursive.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="122,-19.25 73.75,-19.25 73.75,0 122,0 122,-19.25"/>
<text text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="193.62,-19.25 140.12,-19.25 140.12,0 193.62,0 193.62,-19.25"/>
<text text-anchor="middle" x="166.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -88,7 +88,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="254.38,-19.25 211.38,-19.25 211.38,0 254.38,0 254.38,-19.25"/>
<text text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: sorting/insertion_sort_recursive.cpp Pages: 1 -->
<svg width="262pt" height="94pt"
viewBox="0.00 0.00 262.38 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 262.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>sorting/insertion_sort_recursive.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Insertion Sort Algorithm.">
<polygon fill="#999999" stroke="#666666" points="185.25,-85.75 78.5,-85.75 78.5,-55.25 185.25,-55.25 185.25,-85.75"/>
<text text-anchor="start" x="86.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/insertion_sort</text>
<text text-anchor="middle" x="131.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_recursive.cpp</text>
<text xml:space="preserve" text-anchor="start" x="86.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/insertion_sort</text>
<text xml:space="preserve" text-anchor="middle" x="131.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_recursive.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="122,-19.25 73.75,-19.25 73.75,0 122,0 122,-19.25"/>
<text text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="193.62,-19.25 140.12,-19.25 140.12,0 193.62,0 193.62,-19.25"/>
<text text-anchor="middle" x="166.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -77,7 +77,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="254.38,-19.25 211.38,-19.25 211.38,0 254.38,0 254.38,-19.25"/>
<text text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="232.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: range_queries/segtree.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d45/segtree_8cpp.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d45/segtree_8cpp.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,8 +113,6 @@ $(function(){initNavTree('d2/d45/segtree_8cpp.html','../../'); initResizable(tru
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">segtree.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -137,30 +127,25 @@ $(function(){initNavTree('d2/d45/segtree_8cpp.html','../../'); initResizable(tru
</div><div class="textblock"><div class="dynheader">
Include dependency graph for segtree.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/db6/segtree_8cpp__incl.svg" width="418" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../de/db6/segtree_8cpp__incl.svg" width="418" 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>
<p><a href="../../d2/d45/segtree_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="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae752659b7c1719d68fdb2ca538a93696" id="r_ae752659b7c1719d68fdb2ca538a93696"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae752659b7c1719d68fdb2ca538a93696">ConsTree</a> (const std::vector&lt; int64_t &gt; &amp;arr, std::vector&lt; int64_t &gt; *segtree, uint64_t low, uint64_t high, uint64_t pos)</td></tr>
<tr class="memdesc:ae752659b7c1719d68fdb2ca538a93696"><td class="mdescLeft">&#160;</td><td class="mdescRight">for std::vector <br /></td></tr>
<tr class="separator:ae752659b7c1719d68fdb2ca538a93696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a423a97ea0c7ea6e33b5844a6858d902d" id="r_a423a97ea0c7ea6e33b5844a6858d902d"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a423a97ea0c7ea6e33b5844a6858d902d">query</a> (std::vector&lt; int64_t &gt; *segtree, std::vector&lt; int64_t &gt; *lazy, uint64_t qlow, uint64_t qhigh, uint64_t low, uint64_t high, uint64_t pos)</td></tr>
<tr class="memdesc:a423a97ea0c7ea6e33b5844a6858d902d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the sum of all elements in a range. <br /></td></tr>
<tr class="separator:a423a97ea0c7ea6e33b5844a6858d902d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd3e818681fb2e29cf08f4f60f82c8e0" id="r_abd3e818681fb2e29cf08f4f60f82c8e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abd3e818681fb2e29cf08f4f60f82c8e0">update</a> (std::vector&lt; int64_t &gt; *segtree, std::vector&lt; int64_t &gt; *lazy, int64_t start, int64_t end, int64_t delta, uint64_t low, uint64_t high, uint64_t pos)</td></tr>
<tr class="memdesc:abd3e818681fb2e29cf08f4f60f82c8e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates a range of the segment tree. <br /></td></tr>
<tr class="separator:abd3e818681fb2e29cf08f4f60f82c8e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Self-test implementation. <br /></td></tr>
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function. <br /></td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of [Segment Tree] (<a href="https://en.wikipedia.org/wiki/Segment_tree">https://en.wikipedia.org/wiki/Segment_tree</a>) data structure. </p>
<p>A segment tree, also known as a statistic tree, is a tree data structure used for storing information about intervals, or segments. Its classical version allows querying which of the stored segments contain a given point, but our modification allows us to perform (query) any binary operation on any range in the array in O(logN) time. Here, we have used addition (+). For range updates, we have used lazy propagation.</p>
<ul>
@@ -176,7 +161,7 @@ Functions</h2></td></tr>
</ul>
<p class="definition">Definition in file <a class="el" href="../../d2/d45/segtree_8cpp_source.html">segtree.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="ae752659b7c1719d68fdb2ca538a93696" name="ae752659b7c1719d68fdb2ca538a93696"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae752659b7c1719d68fdb2ca538a93696">&#9670;&#160;</a></span>ConsTree()</h2>
@@ -416,7 +401,7 @@ Functions</h2></td></tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void test </td>
<td class="memname">void test </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
@@ -558,11 +543,19 @@ Functions</h2></td></tr>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_074119ce3a874b57120c49a0cc4bb5ad.html">range_queries</a></li><li class="navelem"><a class="el" href="../../d2/d45/segtree_8cpp.html">segtree.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.13.2 </li>
<li class="navelem"><a href="../../dir_074119ce3a874b57120c49a0cc4bb5ad.html">range_queries</a></li><li class="navelem"><a href="../../d2/d45/segtree_8cpp.html">segtree.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: range_queries/segtree.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d45/segtree_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d45/segtree_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -296,11 +288,12 @@ $(function(){initNavTree('d2/d45/segtree_8cpp_source.html','../../'); initResiza
<div class="ttc" id="asegtree_8cpp_html_ae752659b7c1719d68fdb2ca538a93696"><div class="ttname"><a href="../../d2/d45/segtree_8cpp.html#ae752659b7c1719d68fdb2ca538a93696">ConsTree</a></div><div class="ttdeci">void ConsTree(const std::vector&lt; int64_t &gt; &amp;arr, std::vector&lt; int64_t &gt; *segtree, uint64_t low, uint64_t high, uint64_t pos)</div><div class="ttdoc">for std::vector</div><div class="ttdef"><b>Definition</b> <a href="#l00038">segtree.cpp:38</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_074119ce3a874b57120c49a0cc4bb5ad.html">range_queries</a></li><li class="navelem"><a class="el" href="../../d2/d45/segtree_8cpp.html">segtree.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.13.2 </li>
<li class="navelem"><a href="../../dir_074119ce3a874b57120c49a0cc4bb5ad.html">range_queries</a></li><li class="navelem"><a href="../../d2/d45/segtree_8cpp.html">segtree.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: graph/max_flow_with_ford_fulkerson_and_edmond_karp_algo.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d48/max__flow__with__ford__fulkerson__and__edmond__karp__algo_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d48/max__flow__with__ford__fulkerson__and__edmond__karp__algo_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -247,11 +239,12 @@ $(function(){initNavTree('d2/d48/max__flow__with__ford__fulkerson__and__edmond__
<div class="ttc" id="anamespacegraph_html"><div class="ttname"><a href="../../df/dce/namespacegraph.html">graph</a></div><div class="ttdoc">Graph Algorithms.</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_12552d7fa429bf94a2e32e5cf39f7e69.html">graph</a></li><li class="navelem"><b>max_flow_with_ford_fulkerson_and_edmond_karp_algo.cpp</b></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.13.2 </li>
<li class="navelem"><a href="../../dir_12552d7fa429bf94a2e32e5cf39f7e69.html">graph</a></li><li class="navelem"><b>max_flow_with_ford_fulkerson_and_edmond_karp_algo.cpp</b></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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: graphics/spirograph.cpp Pages: 1 -->
<!--zoomable 83 -->
@@ -60,7 +60,7 @@ var sectionId = 'dynsection-0';
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Spirograph">
<polygon fill="#999999" stroke="#666666" points="289.62,-74.5 170.12,-74.5 170.12,-55.25 289.62,-55.25 289.62,-74.5"/>
<text text-anchor="middle" x="229.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">graphics/spirograph.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="229.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">graphics/spirograph.cpp</text>
</a>
</g>
</g>
@@ -69,7 +69,7 @@ var sectionId = 'dynsection-0';
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="37.75,-19.25 0,-19.25 0,0 37.75,0 37.75,-19.25"/>
<text text-anchor="middle" x="18.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</text>
<text xml:space="preserve" text-anchor="middle" x="18.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</text>
</a>
</g>
</g>
@@ -87,7 +87,7 @@ var sectionId = 'dynsection-0';
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="98.38,-19.25 55.38,-19.25 55.38,0 98.38,0 98.38,-19.25"/>
<text text-anchor="middle" x="76.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
<text xml:space="preserve" text-anchor="middle" x="76.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
</a>
</g>
</g>
@@ -105,7 +105,7 @@ var sectionId = 'dynsection-0';
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="161.12,-19.25 116.62,-19.25 116.62,0 161.12,0 161.12,-19.25"/>
<text text-anchor="middle" x="138.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
<text xml:space="preserve" text-anchor="middle" x="138.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
</a>
</g>
</g>
@@ -123,7 +123,7 @@ var sectionId = 'dynsection-0';
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="218.88,-19.25 178.88,-19.25 178.88,0 218.88,0 218.88,-19.25"/>
<text text-anchor="middle" x="198.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ctime</text>
<text xml:space="preserve" text-anchor="middle" x="198.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ctime</text>
</a>
</g>
</g>
@@ -141,7 +141,7 @@ var sectionId = 'dynsection-0';
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="286.38,-19.25 237.38,-19.25 237.38,0 286.38,0 286.38,-19.25"/>
<text text-anchor="middle" x="261.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
<text xml:space="preserve" text-anchor="middle" x="261.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
</a>
</g>
</g>
@@ -159,7 +159,7 @@ var sectionId = 'dynsection-0';
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="353.75,-19.25 304,-19.25 304,0 353.75,0 353.75,-19.25"/>
<text text-anchor="middle" x="328.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
<text xml:space="preserve" text-anchor="middle" x="328.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
</a>
</g>
</g>
@@ -177,7 +177,7 @@ var sectionId = 'dynsection-0';
<title>Node8</title>
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="425.62,-19.25 372.12,-19.25 372.12,0 425.62,0 425.62,-19.25"/>
<text text-anchor="middle" x="398.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="398.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -195,7 +195,7 @@ var sectionId = 'dynsection-0';
<title>Node9</title>
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="494.5,-19.25 443.25,-19.25 443.25,0 494.5,0 494.5,-19.25"/>
<text text-anchor="middle" x="468.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
<text xml:space="preserve" text-anchor="middle" x="468.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: graphics/spirograph.cpp Pages: 1 -->
<svg width="503pt" height="83pt"
viewBox="0.00 0.00 502.50 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 503.00 83.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 78.5)">
<title>graphics/spirograph.cpp</title>
<!-- Node1 -->
@@ -13,7 +13,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Spirograph">
<polygon fill="#999999" stroke="#666666" points="289.62,-74.5 170.12,-74.5 170.12,-55.25 289.62,-55.25 289.62,-74.5"/>
<text text-anchor="middle" x="229.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">graphics/spirograph.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="229.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">graphics/spirograph.cpp</text>
</a>
</g>
</g>
@@ -22,7 +22,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="37.75,-19.25 0,-19.25 0,0 37.75,0 37.75,-19.25"/>
<text text-anchor="middle" x="18.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</text>
<text xml:space="preserve" text-anchor="middle" x="18.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</text>
</a>
</g>
</g>
@@ -40,7 +40,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="98.38,-19.25 55.38,-19.25 55.38,0 98.38,0 98.38,-19.25"/>
<text text-anchor="middle" x="76.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
<text xml:space="preserve" text-anchor="middle" x="76.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
</a>
</g>
</g>
@@ -58,7 +58,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="161.12,-19.25 116.62,-19.25 116.62,0 161.12,0 161.12,-19.25"/>
<text text-anchor="middle" x="138.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
<text xml:space="preserve" text-anchor="middle" x="138.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
</a>
</g>
</g>
@@ -76,7 +76,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="218.88,-19.25 178.88,-19.25 178.88,0 218.88,0 218.88,-19.25"/>
<text text-anchor="middle" x="198.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ctime</text>
<text xml:space="preserve" text-anchor="middle" x="198.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ctime</text>
</a>
</g>
</g>
@@ -94,7 +94,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="286.38,-19.25 237.38,-19.25 237.38,0 286.38,0 286.38,-19.25"/>
<text text-anchor="middle" x="261.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
<text xml:space="preserve" text-anchor="middle" x="261.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
</a>
</g>
</g>
@@ -112,7 +112,7 @@
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="353.75,-19.25 304,-19.25 304,0 353.75,0 353.75,-19.25"/>
<text text-anchor="middle" x="328.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
<text xml:space="preserve" text-anchor="middle" x="328.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
</a>
</g>
</g>
@@ -130,7 +130,7 @@
<title>Node8</title>
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="425.62,-19.25 372.12,-19.25 372.12,0 425.62,0 425.62,-19.25"/>
<text text-anchor="middle" x="398.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="398.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -148,7 +148,7 @@
<title>Node9</title>
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="494.5,-19.25 443.25,-19.25 443.25,0 494.5,0 494.5,-19.25"/>
<text text-anchor="middle" x="468.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
<text xml:space="preserve" text-anchor="middle" x="468.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: sorting/heap_sort.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d52/heap__sort_8cpp.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d52/heap__sort_8cpp.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,8 +113,6 @@ $(function(){initNavTree('d2/d52/heap__sort_8cpp.html','../../'); initResizable(
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">heap_sort.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -135,35 +125,30 @@ $(function(){initNavTree('d2/d52/heap__sort_8cpp.html','../../'); initResizable(
</div><div class="textblock"><div class="dynheader">
Include dependency graph for heap_sort.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dc/dfa/heap__sort_8cpp__incl.svg" width="270" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../dc/dfa/heap__sort_8cpp__incl.svg" width="270" 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>
<p><a href="../../d2/d52/heap__sort_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="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a9ed3e1510afdf3edd06cf2b68769a767" id="r_a9ed3e1510afdf3edd06cf2b68769a767"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a9ed3e1510afdf3edd06cf2b68769a767"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a9ed3e1510afdf3edd06cf2b68769a767">printArray</a> (T *arr, int sz)</td></tr>
<tr class="separator:a9ed3e1510afdf3edd06cf2b68769a767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ed3e1510afdf3edd06cf2b68769a767 template"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9ed3e1510afdf3edd06cf2b68769a767">printArray</a> (T *arr, int sz)</td></tr>
<tr class="memitem:gabd9a93f241c5c86f2ec0abf8b66b4145" id="r_gabd9a93f241c5c86f2ec0abf8b66b4145"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:gabd9a93f241c5c86f2ec0abf8b66b4145"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gabd9a93f241c5c86f2ec0abf8b66b4145">heapify</a> (T *arr, int n, int i)</td></tr>
<tr class="separator:gabd9a93f241c5c86f2ec0abf8b66b4145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd9a93f241c5c86f2ec0abf8b66b4145 template"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gabd9a93f241c5c86f2ec0abf8b66b4145">heapify</a> (T *arr, int n, int i)</td></tr>
<tr class="memitem:ga29d28b140174dbdde7c9f5157758435f" id="r_ga29d28b140174dbdde7c9f5157758435f"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:ga29d28b140174dbdde7c9f5157758435f"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga29d28b140174dbdde7c9f5157758435f">heapSort</a> (T *arr, int n)</td></tr>
<tr class="separator:ga29d28b140174dbdde7c9f5157758435f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29d28b140174dbdde7c9f5157758435f template"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga29d28b140174dbdde7c9f5157758435f">heapSort</a> (T *arr, int n)</td></tr>
<tr class="memitem:ae1a3968e7947464bee7714f6d43b7002" id="r_ae1a3968e7947464bee7714f6d43b7002"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae1a3968e7947464bee7714f6d43b7002">test</a> ()</td></tr>
<tr class="separator:ae1a3968e7947464bee7714f6d43b7002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a href="https://en.wikipedia.org/wiki/Heapsort" target="_blank">Heap Sort Algorithm (heap sort)</a> implementation </p>
<dl class="section author"><dt>Author</dt><dd><a href="http://github.com/ayaankhan98" target="_blank">Ayaan Khan</a></dd></dl>
<p>Heap-sort is a comparison-based sorting algorithm. Heap-sort can be thought of as an improved selection sort: like selection sort, heap sort divides its input into a sorted and an unsorted region, and it iteratively shrinks the unsorted region by extracting the largest element from it and inserting it into the sorted region. Unlike selection sort, heap sort does not waste time with a linear-time scan of the unsorted region; rather, heap sort maintains the unsorted region in a heap data structure to more quickly find the largest element in each step.</p>
<p>Time Complexity - \(O(n \log(n))\) </p>
<p class="definition">Definition in file <a class="el" href="../../d2/d52/heap__sort_8cpp_source.html">heap_sort.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&#160;</a></span>main()</h2>
@@ -269,11 +254,19 @@ template&lt;typename T&gt; </div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d52/heap__sort_8cpp.html">heap_sort.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.13.2 </li>
<li class="navelem"><a href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a href="../../d2/d52/heap__sort_8cpp.html">heap_sort.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: sorting/heap_sort.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d52/heap__sort_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d52/heap__sort_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -202,11 +194,12 @@ $(function(){initNavTree('d2/d52/heap__sort_8cpp_source.html','../../'); initRes
<div class="ttc" id="aheap__sort_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d2/d52/heap__sort_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a></div><div class="ttdeci">int main()</div><div class="ttdef"><b>Definition</b> <a href="#l00120">heap_sort.cpp:120</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d2/d52/heap__sort_8cpp.html">heap_sort.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.13.2 </li>
<li class="navelem"><a href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a href="../../d2/d52/heap__sort_8cpp.html">heap_sort.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: operations_on_datastructures/circular_linked_list.cpp Pages: 1 -->
<svg width="189pt" height="94pt"
viewBox="0.00 0.00 188.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 189.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation for a Circular Linked List.">
<polygon fill="#999999" stroke="#666666" points="165.25,-85.75 21,-85.75 21,-55.25 165.25,-55.25 165.25,-85.75"/>
<text text-anchor="start" x="29" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">operations_on_datastructures</text>
<text text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/circular_linked_list.cpp</text>
<text xml:space="preserve" text-anchor="start" x="29" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">operations_on_datastructures</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/circular_linked_list.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-19.25 66.38,-19.25 66.38,0 119.88,0 119.88,-19.25"/>
<text text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="180.62,-19.25 137.62,-19.25 137.62,0 180.62,0 180.62,-19.25"/>
<text text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: operations_on_datastructures/circular_linked_list.cpp Pages: 1 -->
<svg width="189pt" height="94pt"
viewBox="0.00 0.00 188.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 189.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>operations_on_datastructures/circular_linked_list.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation for a Circular Linked List.">
<polygon fill="#999999" stroke="#666666" points="165.25,-85.75 21,-85.75 21,-55.25 165.25,-55.25 165.25,-85.75"/>
<text text-anchor="start" x="29" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">operations_on_datastructures</text>
<text text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/circular_linked_list.cpp</text>
<text xml:space="preserve" text-anchor="start" x="29" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">operations_on_datastructures</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/circular_linked_list.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-19.25 66.38,-19.25 66.38,0 119.88,0 119.88,-19.25"/>
<text text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="180.62,-19.25 137.62,-19.25 137.62,0 180.62,0 180.62,-19.25"/>
<text text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: machine_learning/neural_network.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d58/neural__network_8cpp.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d58/neural__network_8cpp.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,10 +113,6 @@ $(function(){initNavTree('d2/d58/neural__network_8cpp.html','../../'); initResiz
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">neural_network.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -145,61 +133,44 @@ $(function(){initNavTree('d2/d58/neural__network_8cpp.html','../../'); initResiz
</div><div class="textblock"><div class="dynheader">
Include dependency graph for neural_network.cpp:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d2/d23/neural__network_8cpp__incl.svg" width="100%" height="449"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
<div class="center"><div class="zoom"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d2/d23/neural__network_8cpp__incl.svg" width="100%" height="449"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
<p><a href="../../d2/d58/neural__network_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>
<tr class="heading"><td colspan="2"><h2 id="header-nested-classes" 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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d93/classmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer.html">machine_learning::neural_network::layers::DenseLayer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html">machine_learning::neural_network::NeuralNetwork</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:machine_5Flearning_3A_3Aneural_5Fnetwork_3A_3Alayers_3A_3ADenseLayer" id="r_machine_5Flearning_3A_3Aneural_5Fnetwork_3A_3Alayers_3A_3ADenseLayer"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d93/classmachine__learning_1_1neural__network_1_1layers_1_1_dense_layer.html">machine_learning::neural_network::layers::DenseLayer</a></td></tr>
<tr class="memitem:machine_5Flearning_3A_3Aneural_5Fnetwork_3A_3ANeuralNetwork" id="r_machine_5Flearning_3A_3Aneural_5Fnetwork_3A_3ANeuralNetwork"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html">machine_learning::neural_network::NeuralNetwork</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
<tr class="heading"><td colspan="2"><h2 id="header-namespaces" class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d77/namespacemachine__learning.html">machine_learning</a></td></tr>
<tr class="memitem:machine_5Flearning" id="r_machine_5Flearning"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d77/namespacemachine__learning.html">machine_learning</a></td></tr>
<tr class="memdesc:d8/d77/namespacemachine__learning"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a href="https://en.wikipedia.org/wiki/A*_search_algorithm" target="_blank">A* search algorithm</a> <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d2e/namespaceneural__network.html">neural_network</a></td></tr>
<tr class="memitem:neural_5Fnetwork" id="r_neural_5Fnetwork"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d2e/namespaceneural__network.html">neural_network</a></td></tr>
<tr class="memdesc:d0/d2e/namespaceneural__network"><td class="mdescLeft">&#160;</td><td class="mdescRight">Neural Network or Multilayer Perceptron. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d39/namespaceactivations.html">activations</a></td></tr>
<tr class="memitem:activations" id="r_activations"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d39/namespaceactivations.html">activations</a></td></tr>
<tr class="memdesc:d5/d39/namespaceactivations"><td class="mdescLeft">&#160;</td><td class="mdescRight">Various activation functions used in Neural network. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d17/namespaceutil__functions.html">util_functions</a></td></tr>
<tr class="memitem:util_5Ffunctions" id="r_util_5Ffunctions"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d17/namespaceutil__functions.html">util_functions</a></td></tr>
<tr class="memdesc:d3/d17/namespaceutil__functions"><td class="mdescLeft">&#160;</td><td class="mdescRight">Various utility functions used in Neural network. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d2c/namespacelayers.html">layers</a></td></tr>
<tr class="memitem:layers" id="r_layers"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d2c/namespacelayers.html">layers</a></td></tr>
<tr class="memdesc:d5/d2c/namespacelayers"><td class="mdescLeft">&#160;</td><td class="mdescRight">This namespace contains layers used in MLP. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a23aa9d32bcbcd65cfc85f0a41e2afadc" id="r_a23aa9d32bcbcd65cfc85f0a41e2afadc"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a23aa9d32bcbcd65cfc85f0a41e2afadc">machine_learning::neural_network::activations::sigmoid</a> (const double &amp;x)</td></tr>
<tr class="separator:a23aa9d32bcbcd65cfc85f0a41e2afadc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76eb66212d577f948a457b6e29d87c46" id="r_a76eb66212d577f948a457b6e29d87c46"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a76eb66212d577f948a457b6e29d87c46">machine_learning::neural_network::activations::dsigmoid</a> (const double &amp;x)</td></tr>
<tr class="separator:a76eb66212d577f948a457b6e29d87c46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8f264600754602b6a9ea19cc690e50e" id="r_af8f264600754602b6a9ea19cc690e50e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af8f264600754602b6a9ea19cc690e50e">machine_learning::neural_network::activations::relu</a> (const double &amp;x)</td></tr>
<tr class="separator:af8f264600754602b6a9ea19cc690e50e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa69e95a34054d7989bf446f96b2ffaf9" id="r_aa69e95a34054d7989bf446f96b2ffaf9"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa69e95a34054d7989bf446f96b2ffaf9">machine_learning::neural_network::activations::drelu</a> (const double &amp;x)</td></tr>
<tr class="separator:aa69e95a34054d7989bf446f96b2ffaf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a371aa7dd5d5add0143d1756bb0a1b32f" id="r_a371aa7dd5d5add0143d1756bb0a1b32f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a371aa7dd5d5add0143d1756bb0a1b32f">machine_learning::neural_network::activations::tanh</a> (const double &amp;x)</td></tr>
<tr class="separator:a371aa7dd5d5add0143d1756bb0a1b32f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a5e874b9774aa5362dbcf288828b95c" id="r_a2a5e874b9774aa5362dbcf288828b95c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2a5e874b9774aa5362dbcf288828b95c">machine_learning::neural_network::activations::dtanh</a> (const double &amp;x)</td></tr>
<tr class="separator:a2a5e874b9774aa5362dbcf288828b95c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45d3e30406712ada3d9713ece3c1b153" id="r_a45d3e30406712ada3d9713ece3c1b153"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a45d3e30406712ada3d9713ece3c1b153">machine_learning::neural_network::util_functions::square</a> (const double &amp;x)</td></tr>
<tr class="separator:a45d3e30406712ada3d9713ece3c1b153"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32c00da08f2cf641dd336270f6e3c407" id="r_a32c00da08f2cf641dd336270f6e3c407"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a32c00da08f2cf641dd336270f6e3c407">machine_learning::neural_network::util_functions::identity_function</a> (const double &amp;x)</td></tr>
<tr class="separator:a32c00da08f2cf641dd336270f6e3c407"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function. <br /></td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of [Multilayer Perceptron] (<a href="https://en.wikipedia.org/wiki/Multilayer_perceptron">https://en.wikipedia.org/wiki/Multilayer_perceptron</a>). </p>
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/imdeep2905" target="_blank">Deep Raval</a></dd></dl>
<p>A multilayer perceptron (MLP) is a class of feedforward artificial neural network (ANN). The term MLP is used ambiguously, sometimes loosely to any feedforward ANN, sometimes strictly to refer to networks composed of multiple layers of perceptrons (with threshold activation). Multilayer perceptrons are sometimes colloquially referred to as "vanilla" neural networks, especially when they have a single hidden layer.</p>
@@ -208,7 +179,7 @@ Functions</h2></td></tr>
<dl class="section note"><dt>Note</dt><dd>This implementation uses mini-batch gradient descent as optimizer and MSE as loss function. Bias is also not included. </dd></dl>
<p class="definition">Definition in file <a class="el" href="../../d2/d58/neural__network_8cpp_source.html">neural_network.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="aa69e95a34054d7989bf446f96b2ffaf9" name="aa69e95a34054d7989bf446f96b2ffaf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa69e95a34054d7989bf446f96b2ffaf9">&#9670;&#160;</a></span>drelu()</h2>
@@ -463,7 +434,7 @@ Functions</h2></td></tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void test </td>
<td class="memname">void test </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
@@ -511,11 +482,19 @@ Functions</h2></td></tr>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_3343723ae086de42ee4ca9774da3a13f.html">machine_learning</a></li><li class="navelem"><a class="el" href="../../d2/d58/neural__network_8cpp.html">neural_network.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.13.2 </li>
<li class="navelem"><a href="../../dir_3343723ae086de42ee4ca9774da3a13f.html">machine_learning</a></li><li class="navelem"><a href="../../d2/d58/neural__network_8cpp.html">neural_network.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: machine_learning/neural_network.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d58/neural__network_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d58/neural__network_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -792,11 +784,12 @@ $(function(){initNavTree('d2/d58/neural__network_8cpp_source.html','../../'); in
<div class="ttc" id="avector__ops_8hpp_html"><div class="ttname"><a href="../../d8/d95/vector__ops_8hpp.html">vector_ops.hpp</a></div><div class="ttdoc">Various functions for vectors associated with [NeuralNetwork (aka Multilayer Perceptron)] (https://en...</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_3343723ae086de42ee4ca9774da3a13f.html">machine_learning</a></li><li class="navelem"><a class="el" href="../../d2/d58/neural__network_8cpp.html">neural_network.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.13.2 </li>
<li class="navelem"><a href="../../dir_3343723ae086de42ee4ca9774da3a13f.html">machine_learning</a></li><li class="navelem"><a href="../../d2/d58/neural__network_8cpp.html">neural_network.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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: backtracking/subset_sum.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d5a/subset__sum_8cpp.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d5a/subset__sum_8cpp.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,9 +113,6 @@ $(function(){initNavTree('d2/d5a/subset__sum_8cpp.html','../../'); initResizable
</div>
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">subset_sum.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -137,38 +126,33 @@ $(function(){initNavTree('d2/d5a/subset__sum_8cpp.html','../../'); initResizable
</div><div class="textblock"><div class="dynheader">
Include dependency graph for subset_sum.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../db/da8/subset__sum_8cpp__incl.svg" width="336" height="126"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../db/da8/subset__sum_8cpp__incl.svg" width="336" height="126"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
<p><a href="../../d2/d5a/subset__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>
<tr class="heading"><td colspan="2"><h2 id="header-namespaces" class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dc0/namespacebacktracking.html">backtracking</a></td></tr>
<tr class="memitem:backtracking" id="r_backtracking"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dc0/namespacebacktracking.html">backtracking</a></td></tr>
<tr class="memdesc:db/dc0/namespacebacktracking"><td class="mdescLeft">&#160;</td><td class="mdescRight">for vector container <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d95/namespace_subsets.html">Subsets</a></td></tr>
<tr class="memitem:Subsets" id="r_Subsets"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d95/namespace_subsets.html">Subsets</a></td></tr>
<tr class="memdesc:de/d95/namespace_subsets"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions for the <a href="https://en.wikipedia.org/wiki/Subset_sum_problem" target="_blank">Subset Sum</a> problem. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7cb50d36a59427a33f64a266dac83d99" id="r_a7cb50d36a59427a33f64a266dac83d99"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7cb50d36a59427a33f64a266dac83d99">backtracking::subset_sum::number_of_subsets</a> (int32_t sum, const std::vector&lt; int32_t &gt; &amp;in_arr)</td></tr>
<tr class="memdesc:a7cb50d36a59427a33f64a266dac83d99"><td class="mdescLeft">&#160;</td><td class="mdescRight">The main function implements count of subsets. <br /></td></tr>
<tr class="separator:a7cb50d36a59427a33f64a266dac83d99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8dca7b867074164d5f45b0f3851269d" id="r_aa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
<tr class="memdesc:aa8dca7b867074164d5f45b0f3851269d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test implementations. <br /></td></tr>
<tr class="separator:aa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function. <br /></td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of the <a href="https://en.wikipedia.org/wiki/Subset_sum_problem" target="_blank">Subset Sum</a> problem. </p>
<p>We are given an array and a sum value. The algorithm finds all the subsets of that array with sum equal to the given sum and return such subsets count. This approach will have exponential time complexity. </p><dl class="section author"><dt>Author</dt><dd><a href="https://github.com/Swastyy" target="_blank">Swastika Gupta</a> </dd></dl>
<p class="definition">Definition in file <a class="el" href="../../d2/d5a/subset__sum_8cpp_source.html">subset_sum.cpp</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">&#9670;&#160;</a></span>main()</h2>
@@ -256,7 +240,7 @@ Functions</h2></td></tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void test </td>
<td class="memname">void test </td>
<td>(</td>
<td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
<td></td>
@@ -320,11 +304,19 @@ Functions</h2></td></tr>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_c11585dfcef32a26e29098facab6c144.html">backtracking</a></li><li class="navelem"><a class="el" href="../../d2/d5a/subset__sum_8cpp.html">subset_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.13.2 </li>
<li class="navelem"><a href="../../dir_c11585dfcef32a26e29098facab6c144.html">backtracking</a></li><li class="navelem"><a href="../../d2/d5a/subset__sum_8cpp.html">subset_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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: backtracking/subset_sum.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d5a/subset__sum_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d5a/subset__sum_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -212,11 +204,12 @@ $(function(){initNavTree('d2/d5a/subset__sum_8cpp_source.html','../../'); initRe
<div class="ttc" id="asubset__sum_8cpp_html_ae66f6b31b5ad750f1fe042a706a4e3d4"><div class="ttname"><a href="../../d2/d5a/subset__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="#l00104">subset_sum.cpp:104</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_c11585dfcef32a26e29098facab6c144.html">backtracking</a></li><li class="navelem"><a class="el" href="../../d2/d5a/subset__sum_8cpp.html">subset_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.13.2 </li>
<li class="navelem"><a href="../../dir_c11585dfcef32a26e29098facab6c144.html">backtracking</a></li><li class="navelem"><a href="../../d2/d5a/subset__sum_8cpp.html">subset_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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,5 +1,7 @@
<map id="sorting/merge_sort.cpp" name="sorting/merge_sort.cpp">
<area shape="rect" id="Node000001" title="Merege Sort Algorithm (MEREGE SORT) implementation" alt="" coords="5,5,160,31"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="47,79,118,105"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="85,31,85,63,80,63,80,31"/>
<area shape="rect" id="Node000001" title="Merge Sort Algorithm (MERGE SORT) implementation" alt="" coords="8,5,162,31"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,79,77,105"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="80,33,59,67,54,64,75,30"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="100,79,158,105"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="95,30,116,64,111,67,90,33"/>
</map>

View File

@@ -1 +1 @@
e939a80bc778b0a9b81717eb73fcbb9b
6a51fe123f7480073fd3e5e8d1b1e13b

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: sorting/merge_sort.cpp Pages: 1 -->
<svg width="124pt" height="83pt"
viewBox="0.00 0.00 123.75 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="126pt" height="83pt"
viewBox="0.00 0.00 126.00 83.00" 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">
@@ -22,9 +22,9 @@
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Merege Sort Algorithm (MEREGE SORT) implementation">
<polygon fill="#999999" stroke="#666666" points="115.75,-74.5 0,-74.5 0,-55.25 115.75,-55.25 115.75,-74.5"/>
<text text-anchor="middle" x="57.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/merge_sort.cpp</text>
<g id="a_Node000001"><a xlink:title="Merge Sort Algorithm (MERGE SORT) implementation">
<polygon fill="#999999" stroke="#666666" points="117.62,-74.5 1.88,-74.5 1.88,-55.25 117.62,-55.25 117.62,-74.5"/>
<text xml:space="preserve" text-anchor="middle" x="59.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/merge_sort.cpp</text>
</a>
</g>
</g>
@@ -32,8 +32,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="84.62,-19.25 31.12,-19.25 31.12,0 84.62,0 84.62,-19.25"/>
<text text-anchor="middle" x="57.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -41,8 +41,26 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M57.88,-55.08C57.88,-48.57 57.88,-39.42 57.88,-31.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.38,-31.12 57.88,-21.12 54.38,-31.12 61.38,-31.12"/>
<path fill="none" stroke="#63b8ff" d="M54.3,-55.08C49.98,-48.11 43.79,-38.12 38.37,-29.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="41.36,-27.55 33.11,-20.9 35.41,-31.24 41.36,-27.55"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="114.25,-19.25 71.25,-19.25 71.25,0 114.25,0 114.25,-19.25"/>
<text xml:space="preserve" text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M65.2,-55.08C69.52,-48.11 75.71,-38.12 81.13,-29.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="84.09,-31.24 86.39,-20.9 78.14,-27.55 84.09,-31.24"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1,19 +1,19 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: sorting/merge_sort.cpp Pages: 1 -->
<svg width="124pt" height="83pt"
viewBox="0.00 0.00 123.75 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="126pt" height="83pt"
viewBox="0.00 0.00 126.00 83.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 78.5)">
<title>sorting/merge_sort.cpp</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Merege Sort Algorithm (MEREGE SORT) implementation">
<polygon fill="#999999" stroke="#666666" points="115.75,-74.5 0,-74.5 0,-55.25 115.75,-55.25 115.75,-74.5"/>
<text text-anchor="middle" x="57.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/merge_sort.cpp</text>
<g id="a_Node000001"><a xlink:title="Merge Sort Algorithm (MERGE SORT) implementation">
<polygon fill="#999999" stroke="#666666" points="117.62,-74.5 1.88,-74.5 1.88,-55.25 117.62,-55.25 117.62,-74.5"/>
<text xml:space="preserve" text-anchor="middle" x="59.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/merge_sort.cpp</text>
</a>
</g>
</g>
@@ -21,8 +21,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="84.62,-19.25 31.12,-19.25 31.12,0 84.62,0 84.62,-19.25"/>
<text text-anchor="middle" x="57.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -30,8 +30,26 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M57.88,-55.08C57.88,-48.57 57.88,-39.42 57.88,-31.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.38,-31.12 57.88,-21.12 54.38,-31.12 61.38,-31.12"/>
<path fill="none" stroke="#63b8ff" d="M54.3,-55.08C49.98,-48.11 43.79,-38.12 38.37,-29.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="41.36,-27.55 33.11,-20.9 35.41,-31.24 41.36,-27.55"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="114.25,-19.25 71.25,-19.25 71.25,0 114.25,0 114.25,-19.25"/>
<text xml:space="preserve" text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M65.2,-55.08C69.52,-48.11 75.71,-38.12 81.13,-29.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="84.09,-31.24 86.39,-20.9 78.14,-27.55 84.09,-31.24"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: greedy_algorithms/prims_minimum_spanning_tree.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d64/prims__minimum__spanning__tree_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d64/prims__minimum__spanning__tree_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -195,11 +187,12 @@ $(function(){initNavTree('d2/d64/prims__minimum__spanning__tree_8cpp_source.html
<div class="ttc" id="astructmst_html"><div class="ttname"><a href="../../d1/d77/structmst.html">mst</a></div><div class="ttdef"><b>Definition</b> <a href="#l00009">prims_minimum_spanning_tree.cpp:9</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_0eaa691bd54ab0922ca7f50599de6d22.html">greedy_algorithms</a></li><li class="navelem"><b>prims_minimum_spanning_tree.cpp</b></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.13.2 </li>
<li class="navelem"><a href="../../dir_0eaa691bd54ab0922ca7f50599de6d22.html">greedy_algorithms</a></li><li class="navelem"><b>prims_minimum_spanning_tree.cpp</b></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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: dynamic_programming/longest_common_string.cpp Pages: 1 -->
<svg width="305pt" height="94pt"
viewBox="0.00 0.00 304.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 305.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="contains the definition of the function longest_common_string_length">
<polygon fill="#999999" stroke="#666666" points="228.75,-85.75 87.5,-85.75 87.5,-55.25 228.75,-55.25 228.75,-85.75"/>
<text text-anchor="start" x="95.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text text-anchor="middle" x="158.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/longest_common_string.cpp</text>
<text xml:space="preserve" text-anchor="start" x="95.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text xml:space="preserve" text-anchor="middle" x="158.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/longest_common_string.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-19.25 66.38,-19.25 66.38,0 119.88,0 119.88,-19.25"/>
<text text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="178.12,-19.25 138.12,-19.25 138.12,0 178.12,0 178.12,-19.25"/>
<text text-anchor="middle" x="158.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="158.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -88,7 +88,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="235.75,-19.25 196.5,-19.25 196.5,0 235.75,0 235.75,-19.25"/>
<text text-anchor="middle" x="216.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
<text xml:space="preserve" text-anchor="middle" x="216.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
</a>
</g>
</g>
@@ -106,7 +106,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="296.62,-19.25 253.62,-19.25 253.62,0 296.62,0 296.62,-19.25"/>
<text text-anchor="middle" x="275.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="275.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: dynamic_programming/longest_common_string.cpp Pages: 1 -->
<svg width="305pt" height="94pt"
viewBox="0.00 0.00 304.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 305.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>dynamic_programming/longest_common_string.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="contains the definition of the function longest_common_string_length">
<polygon fill="#999999" stroke="#666666" points="228.75,-85.75 87.5,-85.75 87.5,-55.25 228.75,-55.25 228.75,-85.75"/>
<text text-anchor="start" x="95.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text text-anchor="middle" x="158.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/longest_common_string.cpp</text>
<text xml:space="preserve" text-anchor="start" x="95.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text xml:space="preserve" text-anchor="middle" x="158.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/longest_common_string.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-19.25 66.38,-19.25 66.38,0 119.88,0 119.88,-19.25"/>
<text text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="178.12,-19.25 138.12,-19.25 138.12,0 178.12,0 178.12,-19.25"/>
<text text-anchor="middle" x="158.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="158.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -77,7 +77,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="235.75,-19.25 196.5,-19.25 196.5,0 235.75,0 235.75,-19.25"/>
<text text-anchor="middle" x="216.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
<text xml:space="preserve" text-anchor="middle" x="216.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
</a>
</g>
</g>
@@ -95,7 +95,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="296.62,-19.25 253.62,-19.25 253.62,0 296.62,0 296.62,-19.25"/>
<text text-anchor="middle" x="275.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="275.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: dynamic_programming/word_break.cpp Pages: 1 -->
<svg width="405pt" height="94pt"
viewBox="0.00 0.00 404.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 405.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Word Break Problem">
<polygon fill="#999999" stroke="#666666" points="244.25,-85.75 130,-85.75 130,-55.25 244.25,-55.25 244.25,-85.75"/>
<text text-anchor="start" x="138" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text text-anchor="middle" x="187.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/word_break.cpp</text>
<text xml:space="preserve" text-anchor="start" x="138" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text xml:space="preserve" text-anchor="middle" x="187.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/word_break.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="110.38,-19.25 65.88,-19.25 65.88,0 110.38,0 110.38,-19.25"/>
<text text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">climits</text>
<text xml:space="preserve" text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">climits</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="181.88,-19.25 128.38,-19.25 128.38,0 181.88,0 181.88,-19.25"/>
<text text-anchor="middle" x="155.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="155.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -88,7 +88,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="240.12,-19.25 200.12,-19.25 200.12,0 240.12,0 240.12,-19.25"/>
<text text-anchor="middle" x="220.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="220.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -106,7 +106,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="335.88,-19.25 258.38,-19.25 258.38,0 335.88,0 335.88,-19.25"/>
<text text-anchor="middle" x="297.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
<text xml:space="preserve" text-anchor="middle" x="297.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
</a>
</g>
</g>
@@ -124,7 +124,7 @@
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="396.62,-19.25 353.62,-19.25 353.62,0 396.62,0 396.62,-19.25"/>
<text text-anchor="middle" x="375.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="375.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: dynamic_programming/word_break.cpp Pages: 1 -->
<svg width="405pt" height="94pt"
viewBox="0.00 0.00 404.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 405.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>dynamic_programming/word_break.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Word Break Problem">
<polygon fill="#999999" stroke="#666666" points="244.25,-85.75 130,-85.75 130,-55.25 244.25,-55.25 244.25,-85.75"/>
<text text-anchor="start" x="138" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text text-anchor="middle" x="187.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/word_break.cpp</text>
<text xml:space="preserve" text-anchor="start" x="138" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text xml:space="preserve" text-anchor="middle" x="187.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/word_break.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="110.38,-19.25 65.88,-19.25 65.88,0 110.38,0 110.38,-19.25"/>
<text text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">climits</text>
<text xml:space="preserve" text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">climits</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="181.88,-19.25 128.38,-19.25 128.38,0 181.88,0 181.88,-19.25"/>
<text text-anchor="middle" x="155.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="155.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -77,7 +77,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="240.12,-19.25 200.12,-19.25 200.12,0 240.12,0 240.12,-19.25"/>
<text text-anchor="middle" x="220.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="220.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -95,7 +95,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="335.88,-19.25 258.38,-19.25 258.38,0 335.88,0 335.88,-19.25"/>
<text text-anchor="middle" x="297.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
<text xml:space="preserve" text-anchor="middle" x="297.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
</a>
</g>
</g>
@@ -113,7 +113,7 @@
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="396.62,-19.25 353.62,-19.25 353.62,0 396.62,0 396.62,-19.25"/>
<text text-anchor="middle" x="375.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="375.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: range_queries/prefix_sum_array.cpp Pages: 1 -->
<svg width="189pt" height="94pt"
viewBox="0.00 0.00 188.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 189.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Prefix Sum Array data structure implementation.">
<polygon fill="#999999" stroke="#666666" points="145,-85.75 41.25,-85.75 41.25,-55.25 145,-55.25 145,-85.75"/>
<text text-anchor="start" x="49.25" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries/prefix</text>
<text text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_sum_array.cpp</text>
<text xml:space="preserve" text-anchor="start" x="49.25" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries/prefix</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_sum_array.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-19.25 66.38,-19.25 66.38,0 119.88,0 119.88,-19.25"/>
<text text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="180.62,-19.25 137.62,-19.25 137.62,0 180.62,0 180.62,-19.25"/>
<text text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: range_queries/prefix_sum_array.cpp Pages: 1 -->
<svg width="189pt" height="94pt"
viewBox="0.00 0.00 188.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 189.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>range_queries/prefix_sum_array.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Prefix Sum Array data structure implementation.">
<polygon fill="#999999" stroke="#666666" points="145,-85.75 41.25,-85.75 41.25,-55.25 145,-55.25 145,-85.75"/>
<text text-anchor="start" x="49.25" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries/prefix</text>
<text text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_sum_array.cpp</text>
<text xml:space="preserve" text-anchor="start" x="49.25" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries/prefix</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_sum_array.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-19.25 66.38,-19.25 66.38,0 119.88,0 119.88,-19.25"/>
<text text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="180.62,-19.25 137.62,-19.25 137.62,0 180.62,0 180.62,-19.25"/>
<text text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -1,5 +1,5 @@
<map id="adaline" name="adaline">
<area shape="rect" id="Node000001" title=" " alt="" coords="47,94,109,120"/>
<area shape="rect" id="Node000001" title=" " alt="" coords="47,102,109,128"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,5,151,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="81,47,81,94,75,94,75,47"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="81,46,81,101,75,101,75,46"/>
</map>

View File

@@ -1 +1 @@
8c7990eca5b74c3da6eadf631b476f5a
39d2c3de225b6e90ac18a680208fa792

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: adaline Pages: 1 -->
<svg width="117pt" height="94pt"
viewBox="0.00 0.00 117.00 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="117pt" height="100pt"
viewBox="0.00 0.00 117.00 100.00" 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">
@@ -17,14 +17,14 @@
]]></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 89.75)">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 95.75)">
<title>adaline</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title=" ">
<polygon fill="#999999" stroke="#666666" points="77.88,-19.25 31.12,-19.25 31.12,0 77.88,0 77.88,-19.25"/>
<text text-anchor="middle" x="54.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline</text>
<text xml:space="preserve" text-anchor="middle" x="54.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline</text>
</a>
</g>
</g>
@@ -32,8 +32,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="109,-85.75 0,-85.75 0,-66.5 109,-66.5 109,-85.75"/>
<text text-anchor="middle" x="54.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; double &gt;</text>
<polygon fill="white" stroke="#666666" points="109,-91.75 0,-91.75 0,-72.5 109,-72.5 109,-91.75"/>
<text xml:space="preserve" text-anchor="middle" x="54.5" y="-78.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; double &gt;</text>
</a>
</g>
</g>
@@ -41,11 +41,11 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node2&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M54.5,-54.65C54.5,-42.82 54.5,-28.54 54.5,-19.52"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="51,-54.64 54.5,-64.64 58,-54.64 51,-54.64"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M54.5,-61.05C54.5,-47.44 54.5,-30.1 54.5,-19.7"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="51,-60.68 54.5,-70.68 58,-60.68 51,-60.68"/>
</a>
</g>
<text text-anchor="middle" x="72.88" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> weights</text>
<text xml:space="preserve" text-anchor="start" x="57.5" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">weights</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -1,19 +1,19 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: adaline Pages: 1 -->
<svg width="117pt" height="94pt"
viewBox="0.00 0.00 117.00 93.75" 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 89.75)">
<svg width="117pt" height="100pt"
viewBox="0.00 0.00 117.00 100.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 95.75)">
<title>adaline</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title=" ">
<polygon fill="#999999" stroke="#666666" points="77.88,-19.25 31.12,-19.25 31.12,0 77.88,0 77.88,-19.25"/>
<text text-anchor="middle" x="54.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline</text>
<text xml:space="preserve" text-anchor="middle" x="54.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline</text>
</a>
</g>
</g>
@@ -21,8 +21,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="109,-85.75 0,-85.75 0,-66.5 109,-66.5 109,-85.75"/>
<text text-anchor="middle" x="54.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; double &gt;</text>
<polygon fill="white" stroke="#666666" points="109,-91.75 0,-91.75 0,-72.5 109,-72.5 109,-91.75"/>
<text xml:space="preserve" text-anchor="middle" x="54.5" y="-78.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector&lt; double &gt;</text>
</a>
</g>
</g>
@@ -30,11 +30,11 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node2&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M54.5,-54.65C54.5,-42.82 54.5,-28.54 54.5,-19.52"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="51,-54.64 54.5,-64.64 58,-54.64 51,-54.64"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M54.5,-61.05C54.5,-47.44 54.5,-30.1 54.5,-19.7"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="51,-60.68 54.5,-70.68 58,-60.68 51,-60.68"/>
</a>
</g>
<text text-anchor="middle" x="72.88" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> weights</text>
<text xml:space="preserve" text-anchor="start" x="57.5" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">weights</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: dynamic_programming/egg_dropping_puzzle.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d7d/egg__dropping__puzzle_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d7d/egg__dropping__puzzle_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -178,11 +170,12 @@ $(function(){initNavTree('d2/d7d/egg__dropping__puzzle_8cpp_source.html','../../
<div class="ttc" id="amatrix__exponentiation_8cpp_html_a600eaf353befc174637855795f12d258"><div class="ttname"><a href="../../d7/d35/matrix__exponentiation_8cpp.html#a600eaf353befc174637855795f12d258">endl</a></div><div class="ttdeci">#define endl</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d35/matrix__exponentiation_8cpp_source.html#l00036">matrix_exponentiation.cpp:36</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_8a20dd5bfd5341a725342bf72b6b686f.html">dynamic_programming</a></li><li class="navelem"><b>egg_dropping_puzzle.cpp</b></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.13.2 </li>
<li class="navelem"><a href="../../dir_8a20dd5bfd5341a725342bf72b6b686f.html">dynamic_programming</a></li><li class="navelem"><b>egg_dropping_puzzle.cpp</b></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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: ciphers/elliptic_curve_key_exchange.cpp Pages: 1 -->
<svg width="410pt" height="204pt"
viewBox="0.00 0.00 409.75 204.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 410.00 204.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Elliptic Curve Diffie Hellman Key Exchange.">
<polygon fill="#999999" stroke="#666666" points="146.88,-196.25 39.38,-196.25 39.38,-165.75 146.88,-165.75 146.88,-196.25"/>
<text text-anchor="start" x="47.38" y="-182.75" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers/elliptic_curve</text>
<text text-anchor="middle" x="93.12" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">_key_exchange.cpp</text>
<text xml:space="preserve" text-anchor="start" x="47.38" y="-182.75" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers/elliptic_curve</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">_key_exchange.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-129.75 0,-129.75 0,-110.5 48.25,-110.5 48.25,-129.75"/>
<text text-anchor="middle" x="24.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-129.75 66.38,-129.75 66.38,-110.5 119.88,-110.5 119.88,-129.75"/>
<text text-anchor="middle" x="93.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../da/da3/uint256__t_8hpp.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="212.38,-129.75 137.88,-129.75 137.88,-110.5 212.38,-110.5 212.38,-129.75"/>
<text text-anchor="middle" x="175.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">uint256_t.hpp</text>
<text xml:space="preserve" text-anchor="middle" x="175.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">uint256_t.hpp</text>
</a>
</g>
</g>
@@ -88,7 +88,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="137.12,-19.25 97.12,-19.25 97.12,0 137.12,0 137.12,-19.25"/>
<text text-anchor="middle" x="117.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="117.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -106,7 +106,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="194.75,-19.25 155.5,-19.25 155.5,0 194.75,0 194.75,-19.25"/>
<text text-anchor="middle" x="175.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
<text xml:space="preserve" text-anchor="middle" x="175.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
</a>
</g>
</g>
@@ -124,7 +124,7 @@
<title>Node7</title>
<g id="a_Node000007"><a xlink:href="../../da/d41/uint128__t_8hpp.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="277.38,-74.5 202.88,-74.5 202.88,-55.25 277.38,-55.25 277.38,-74.5"/>
<text text-anchor="middle" x="240.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">uint128_t.hpp</text>
<text xml:space="preserve" text-anchor="middle" x="240.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">uint128_t.hpp</text>
</a>
</g>
</g>
@@ -160,7 +160,7 @@
<title>Node8</title>
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="269,-19.25 213.25,-19.25 213.25,0 269,0 269,-19.25"/>
<text text-anchor="middle" x="241.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="241.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -178,7 +178,7 @@
<title>Node9</title>
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="332.75,-19.25 287.5,-19.25 287.5,0 332.75,0 332.75,-19.25"/>
<text text-anchor="middle" x="310.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
<text xml:space="preserve" text-anchor="middle" x="310.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
</a>
</g>
</g>
@@ -196,7 +196,7 @@
<title>Node10</title>
<g id="a_Node000010"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="401.75,-19.25 350.5,-19.25 350.5,0 401.75,0 401.75,-19.25"/>
<text text-anchor="middle" x="376.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ostream</text>
<text xml:space="preserve" text-anchor="middle" x="376.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ostream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: ciphers/elliptic_curve_key_exchange.cpp Pages: 1 -->
<svg width="410pt" height="204pt"
viewBox="0.00 0.00 409.75 204.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 410.00 204.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 200.25)">
<title>ciphers/elliptic_curve_key_exchange.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Elliptic Curve Diffie Hellman Key Exchange.">
<polygon fill="#999999" stroke="#666666" points="146.88,-196.25 39.38,-196.25 39.38,-165.75 146.88,-165.75 146.88,-196.25"/>
<text text-anchor="start" x="47.38" y="-182.75" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers/elliptic_curve</text>
<text text-anchor="middle" x="93.12" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">_key_exchange.cpp</text>
<text xml:space="preserve" text-anchor="start" x="47.38" y="-182.75" font-family="Helvetica,sans-Serif" font-size="10.00">ciphers/elliptic_curve</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">_key_exchange.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-129.75 0,-129.75 0,-110.5 48.25,-110.5 48.25,-129.75"/>
<text text-anchor="middle" x="24.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-129.75 66.38,-129.75 66.38,-110.5 119.88,-110.5 119.88,-129.75"/>
<text text-anchor="middle" x="93.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../da/da3/uint256__t_8hpp.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="212.38,-129.75 137.88,-129.75 137.88,-110.5 212.38,-110.5 212.38,-129.75"/>
<text text-anchor="middle" x="175.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">uint256_t.hpp</text>
<text xml:space="preserve" text-anchor="middle" x="175.12" y="-116.25" font-family="Helvetica,sans-Serif" font-size="10.00">uint256_t.hpp</text>
</a>
</g>
</g>
@@ -77,7 +77,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="137.12,-19.25 97.12,-19.25 97.12,0 137.12,0 137.12,-19.25"/>
<text text-anchor="middle" x="117.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
<text xml:space="preserve" text-anchor="middle" x="117.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
</a>
</g>
</g>
@@ -95,7 +95,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="194.75,-19.25 155.5,-19.25 155.5,0 194.75,0 194.75,-19.25"/>
<text text-anchor="middle" x="175.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
<text xml:space="preserve" text-anchor="middle" x="175.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
</a>
</g>
</g>
@@ -113,7 +113,7 @@
<title>Node7</title>
<g id="a_Node000007"><a xlink:href="../../da/d41/uint128__t_8hpp.html" target="_top" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="277.38,-74.5 202.88,-74.5 202.88,-55.25 277.38,-55.25 277.38,-74.5"/>
<text text-anchor="middle" x="240.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">uint128_t.hpp</text>
<text xml:space="preserve" text-anchor="middle" x="240.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">uint128_t.hpp</text>
</a>
</g>
</g>
@@ -149,7 +149,7 @@
<title>Node8</title>
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="269,-19.25 213.25,-19.25 213.25,0 269,0 269,-19.25"/>
<text text-anchor="middle" x="241.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="241.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -167,7 +167,7 @@
<title>Node9</title>
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="332.75,-19.25 287.5,-19.25 287.5,0 332.75,0 332.75,-19.25"/>
<text text-anchor="middle" x="310.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
<text xml:space="preserve" text-anchor="middle" x="310.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
</a>
</g>
</g>
@@ -185,7 +185,7 @@
<title>Node10</title>
<g id="a_Node000010"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="401.75,-19.25 350.5,-19.25 350.5,0 401.75,0 401.75,-19.25"/>
<text text-anchor="middle" x="376.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ostream</text>
<text xml:space="preserve" text-anchor="middle" x="376.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ostream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: Member List</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('da/d19/classprobability_1_1geometric__dist_1_1geometric__distribution.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('da/d19/classprobability_1_1geometric__dist_1_1geometric__distribution.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -139,10 +131,11 @@ $(function(){initNavTree('da/d19/classprobability_1_1geometric__dist_1_1geometri
<tr class="odd"><td class="entry"><a class="el" href="../../da/d19/classprobability_1_1geometric__dist_1_1geometric__distribution.html#aea8b0d649f0dc9a6f8baf3341a0b4960">variance</a>() const</td><td class="entry"><a class="el" href="../../da/d19/classprobability_1_1geometric__dist_1_1geometric__distribution.html">probability::geometric_dist::geometric_distribution</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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.13.2 </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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: range_queries/persistent_seg_tree_lazy_prop.cpp Pages: 1 -->
<svg width="191pt" height="94pt"
viewBox="0.00 0.00 191.25 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 191.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Persistent segment tree with range updates (lazy propagation)">
<polygon fill="#999999" stroke="#666666" points="159.12,-85.75 34.38,-85.75 34.38,-55.25 159.12,-55.25 159.12,-85.75"/>
<text text-anchor="start" x="42.38" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries/persistent</text>
<text text-anchor="middle" x="96.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_seg_tree_lazy_prop.cpp</text>
<text xml:space="preserve" text-anchor="start" x="42.38" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries/persistent</text>
<text xml:space="preserve" text-anchor="middle" x="96.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_seg_tree_lazy_prop.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="122.38,-19.25 71.12,-19.25 71.12,0 122.38,0 122.38,-19.25"/>
<text text-anchor="middle" x="96.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">memory</text>
<text xml:space="preserve" text-anchor="middle" x="96.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">memory</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="183.25,-19.25 140.25,-19.25 140.25,0 183.25,0 183.25,-19.25"/>
<text text-anchor="middle" x="161.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="161.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: range_queries/persistent_seg_tree_lazy_prop.cpp Pages: 1 -->
<svg width="191pt" height="94pt"
viewBox="0.00 0.00 191.25 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 191.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>range_queries/persistent_seg_tree_lazy_prop.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Persistent segment tree with range updates (lazy propagation)">
<polygon fill="#999999" stroke="#666666" points="159.12,-85.75 34.38,-85.75 34.38,-55.25 159.12,-55.25 159.12,-85.75"/>
<text text-anchor="start" x="42.38" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries/persistent</text>
<text text-anchor="middle" x="96.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_seg_tree_lazy_prop.cpp</text>
<text xml:space="preserve" text-anchor="start" x="42.38" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries/persistent</text>
<text xml:space="preserve" text-anchor="middle" x="96.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_seg_tree_lazy_prop.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="122.38,-19.25 71.12,-19.25 71.12,0 122.38,0 122.38,-19.25"/>
<text text-anchor="middle" x="96.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">memory</text>
<text xml:space="preserve" text-anchor="middle" x="96.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">memory</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="183.25,-19.25 140.25,-19.25 140.25,0 183.25,0 183.25,-19.25"/>
<text text-anchor="middle" x="161.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="161.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: search/median_search.cpp Pages: 1 -->
<svg width="263pt" height="83pt"
viewBox="0.00 0.00 262.88 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 263.00 83.00" 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">
@@ -24,7 +24,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Median search algorithm. @cases from here">
<polygon fill="#999999" stroke="#666666" points="199.25,-74.5 66.25,-74.5 66.25,-55.25 199.25,-55.25 199.25,-74.5"/>
<text text-anchor="middle" x="132.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">search/median_search.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="132.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">search/median_search.cpp</text>
</a>
</g>
</g>
@@ -33,7 +33,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -51,7 +51,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="127.62,-19.25 71.88,-19.25 71.88,0 127.62,0 127.62,-19.25"/>
<text text-anchor="middle" x="99.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="99.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -69,7 +69,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="188.25,-19.25 145.25,-19.25 145.25,0 188.25,0 188.25,-19.25"/>
<text text-anchor="middle" x="166.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="166.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
@@ -87,7 +87,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="254.88,-19.25 206.62,-19.25 206.62,0 254.88,0 254.88,-19.25"/>
<text text-anchor="middle" x="230.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="230.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: search/median_search.cpp Pages: 1 -->
<svg width="263pt" height="83pt"
viewBox="0.00 0.00 262.88 82.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 263.00 83.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 78.5)">
<title>search/median_search.cpp</title>
<!-- Node1 -->
@@ -13,7 +13,7 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of Median search algorithm. @cases from here">
<polygon fill="#999999" stroke="#666666" points="199.25,-74.5 66.25,-74.5 66.25,-55.25 199.25,-55.25 199.25,-74.5"/>
<text text-anchor="middle" x="132.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">search/median_search.cpp</text>
<text xml:space="preserve" text-anchor="middle" x="132.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">search/median_search.cpp</text>
</a>
</g>
</g>
@@ -22,7 +22,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -40,7 +40,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="127.62,-19.25 71.88,-19.25 71.88,0 127.62,0 127.62,-19.25"/>
<text text-anchor="middle" x="99.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="99.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -58,7 +58,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="188.25,-19.25 145.25,-19.25 145.25,0 188.25,0 188.25,-19.25"/>
<text text-anchor="middle" x="166.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="166.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>
@@ -76,7 +76,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="254.88,-19.25 206.62,-19.25 206.62,0 254.88,0 254.88,-19.25"/>
<text text-anchor="middle" x="230.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="230.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: range_queries::heavy_light_decomposition::HLD&lt; X &gt; Class Template Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html','../../','dd/dfc/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,11 +113,6 @@ $(function(){initNavTree('d2/d8a/classrange__queries_1_1heavy__light__decomposit
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../dd/dfc/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">range_queries::heavy_light_decomposition::HLD&lt; X &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -135,85 +122,65 @@ $(function(){initNavTree('d2/d8a/classrange__queries_1_1heavy__light__decomposit
<div class="dynheader">
Inheritance diagram for range_queries::heavy_light_decomposition::HLD&lt; X &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/d2c/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__inherit__graph.svg" width="350" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d0/d2c/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__inherit__graph.svg" width="350" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for range_queries::heavy_light_decomposition::HLD&lt; X &gt;:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../dc/dd9/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__coll__graph.svg" width="100%" height="512"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
<div class="center"><div class="zoom"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../dc/dd9/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d__coll__graph.svg" width="100%" height="541"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-methods" class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6e486767434e44076c1ac374a22da726" id="r_a6e486767434e44076c1ac374a22da726"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6e486767434e44076c1ac374a22da726">HLD</a> (int nodes)</td></tr>
<tr class="memdesc:a6e486767434e44076c1ac374a22da726"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class parameterized constructor. Resizes the and initilizes the data members. <br /></td></tr>
<tr class="separator:a6e486767434e44076c1ac374a22da726"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9e979edd69678b85665c01e2ee97828" id="r_ae9e979edd69678b85665c01e2ee97828"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae9e979edd69678b85665c01e2ee97828">init</a> ()</td></tr>
<tr class="memdesc:ae9e979edd69678b85665c01e2ee97828"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function must be called after the tree adjacency list and node values are populated The function initializes the required parametes, and populates the segment tree. <br /></td></tr>
<tr class="separator:ae9e979edd69678b85665c01e2ee97828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f1cb54ed09fde931bf3220d75ee4c57" id="r_a9f1cb54ed09fde931bf3220d75ee4c57"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9f1cb54ed09fde931bf3220d75ee4c57">update</a> (int <a class="el" href="../../d5/da1/structnode.html">node</a>, X val)</td></tr>
<tr class="memdesc:a9f1cb54ed09fde931bf3220d75ee4c57"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function updates the value at node with val. <br /></td></tr>
<tr class="separator:a9f1cb54ed09fde931bf3220d75ee4c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dfbf5d9df825eeb63b294c6849bdcab" id="r_a4dfbf5d9df825eeb63b294c6849bdcab"><td class="memItemLeft" align="right" valign="top">X&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4dfbf5d9df825eeb63b294c6849bdcab">query</a> (int a, int b)</td></tr>
<tr class="memdesc:a4dfbf5d9df825eeb63b294c6849bdcab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the sum of node values in the simple path from from node_1 to node_2. <br /></td></tr>
<tr class="separator:a4dfbf5d9df825eeb63b294c6849bdcab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html">range_queries::heavy_light_decomposition::Tree&lt; X &gt;</a></td></tr>
<tr class="inherit_header pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree')"><span class="dynarrow"><span class="arrowhead closed"></span></span>Public Member Functions inherited from <a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html">range_queries::heavy_light_decomposition::Tree&lt; X &gt;</a></td></tr>
<tr class="memitem:a835fb2bbb27307b8cacad9b287968bc1 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree" id="r_a835fb2bbb27307b8cacad9b287968bc1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a835fb2bbb27307b8cacad9b287968bc1">Tree</a> (int nodes)</td></tr>
<tr class="memdesc:a835fb2bbb27307b8cacad9b287968bc1 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class parameterized constructor, resizes the and initializes the data members. <br /></td></tr>
<tr class="separator:a835fb2bbb27307b8cacad9b287968bc1 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79ab4601c4a95c0902ac04e779e5f54d inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree" id="r_a79ab4601c4a95c0902ac04e779e5f54d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d">add_edge</a> (const int u, const int v)</td></tr>
<tr class="memdesc:a79ab4601c4a95c0902ac04e779e5f54d inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an undirected edge from node u to node v in the tree. <br /></td></tr>
<tr class="separator:a79ab4601c4a95c0902ac04e779e5f54d inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab916d554afa8ca5230b4310c2c69fae0 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree" id="r_ab916d554afa8ca5230b4310c2c69fae0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ab916d554afa8ca5230b4310c2c69fae0">change_root</a> (int new_root)</td></tr>
<tr class="memdesc:ab916d554afa8ca5230b4310c2c69fae0 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the root for the tree. <br /></td></tr>
<tr class="separator:ab916d554afa8ca5230b4310c2c69fae0 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04cd96efaba147b19d3afc769b90ff70 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree" id="r_a04cd96efaba147b19d3afc769b90ff70"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70">set_node_val</a> (const std::vector&lt; X &gt; &amp;node_val)</td></tr>
<tr class="memdesc:a04cd96efaba147b19d3afc769b90ff70 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the values for all the nodes. <br /></td></tr>
<tr class="separator:a04cd96efaba147b19d3afc769b90ff70 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad22d760a5a33545a70e7ea5e1786c8dc inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree" id="r_ad22d760a5a33545a70e7ea5e1786c8dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc">init</a> ()</td></tr>
<tr class="memdesc:ad22d760a5a33545a70e7ea5e1786c8dc inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function must be called after the tree adjacency list and node values are populated The function initializes the required parameters, and populates the segment tree. <br /></td></tr>
<tr class="separator:ad22d760a5a33545a70e7ea5e1786c8dc inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7761255f2ba06b398b9aae5e4dce5f3 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree" id="r_ac7761255f2ba06b398b9aae5e4dce5f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3">lift</a> (int *const p, int dist)</td></tr>
<tr class="memdesc:ac7761255f2ba06b398b9aae5e4dce5f3 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="mdescLeft">&#160;</td><td class="mdescRight">The function lifts a node, k units up the tree. The lifting is done in place, and the result is stored in the address pointed by p. <br /></td></tr>
<tr class="separator:ac7761255f2ba06b398b9aae5e4dce5f3 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f7bca1746d40f21ad832fcea59aa6c6 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree" id="r_a8f7bca1746d40f21ad832fcea59aa6c6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a8f7bca1746d40f21ad832fcea59aa6c6">kth_ancestor</a> (int p, const int &amp;dist)</td></tr>
<tr class="memdesc:a8f7bca1746d40f21ad832fcea59aa6c6 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="mdescLeft">&#160;</td><td class="mdescRight">The function returns the kth ancestor of a node. <br /></td></tr>
<tr class="separator:a8f7bca1746d40f21ad832fcea59aa6c6 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2b407e64aaf9878fbee7ee6efe9c7d4 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree" id="r_ae2b407e64aaf9878fbee7ee6efe9c7d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4">lca</a> (int a, int b)</td></tr>
<tr class="memdesc:ae2b407e64aaf9878fbee7ee6efe9c7d4 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="mdescLeft">&#160;</td><td class="mdescRight">The function returns the least common ancestor of two nodes. <br /></td></tr>
<tr class="separator:ae2b407e64aaf9878fbee7ee6efe9c7d4 inherit pub_methods_classrange__queries_1_1heavy__light__decomposition_1_1_tree"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pri-methods" class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:af64848d6630c39d0f09ce2359cc7c4f8" id="r_af64848d6630c39d0f09ce2359cc7c4f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af64848d6630c39d0f09ce2359cc7c4f8">dfs_hc</a> (int u, int p=-1)</td></tr>
<tr class="memdesc:af64848d6630c39d0f09ce2359cc7c4f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function to assign heavy child to each node (-1 for a leaf node) <br /></td></tr>
<tr class="separator:af64848d6630c39d0f09ce2359cc7c4f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dfbda148aad0bfaba2ebfda9ebc915a" id="r_a2dfbda148aad0bfaba2ebfda9ebc915a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2dfbda148aad0bfaba2ebfda9ebc915a">dfs_par</a> (int u, int p=-1)</td></tr>
<tr class="memdesc:a2dfbda148aad0bfaba2ebfda9ebc915a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function to assign highest parent that can be reached though heavy chains. <br /></td></tr>
<tr class="separator:a2dfbda148aad0bfaba2ebfda9ebc915a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0579062b384e54b611b80c6337c7f2c8" id="r_a0579062b384e54b611b80c6337c7f2c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0579062b384e54b611b80c6337c7f2c8">dfs_labels</a> (int u, int p=-1)</td></tr>
<tr class="memdesc:a0579062b384e54b611b80c6337c7f2c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function to lable the nodes so that heavy chains have a contigous lable. <br /></td></tr>
<tr class="separator:a0579062b384e54b611b80c6337c7f2c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d5b40c076347a6aabfb37a0590f2f24" id="r_a7d5b40c076347a6aabfb37a0590f2f24"><td class="memItemLeft" align="right" valign="top">X&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7d5b40c076347a6aabfb37a0590f2f24">chain_query</a> (int a, int b)</td></tr>
<tr class="memdesc:a7d5b40c076347a6aabfb37a0590f2f24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function to break down a path query into two chain queries. <br /></td></tr>
<tr class="separator:a7d5b40c076347a6aabfb37a0590f2f24"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pri-attribs" class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a722cc7cf2c3e4d15583601a48b09776f" id="r_a722cc7cf2c3e4d15583601a48b09776f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a722cc7cf2c3e4d15583601a48b09776f">label</a></td></tr>
<tr class="memdesc:a722cc7cf2c3e4d15583601a48b09776f"><td class="mdescLeft">&#160;</td><td class="mdescRight">utility member to assign labels in <a class="el" href="#a0579062b384e54b611b80c6337c7f2c8" title="Utility function to lable the nodes so that heavy chains have a contigous lable.">dfs_labels()</a> <br /></td></tr>
<tr class="separator:a722cc7cf2c3e4d15583601a48b09776f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa86a91ae0cd7898990a8170a2f2c9cda" id="r_aa86a91ae0cd7898990a8170a2f2c9cda"><td class="memItemLeft" align="right" valign="top">std::vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa86a91ae0cd7898990a8170a2f2c9cda">h_label</a></td></tr>
<tr class="memdesc:aa86a91ae0cd7898990a8170a2f2c9cda"><td class="mdescLeft">&#160;</td><td class="mdescRight">stores the label of a node <br /></td></tr>
<tr class="separator:aa86a91ae0cd7898990a8170a2f2c9cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84424f180f12b514eaab57a6aa20b104" id="r_a84424f180f12b514eaab57a6aa20b104"><td class="memItemLeft" align="right" valign="top">std::vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a84424f180f12b514eaab57a6aa20b104">h_heavychlid</a></td></tr>
<tr class="memdesc:a84424f180f12b514eaab57a6aa20b104"><td class="mdescLeft">&#160;</td><td class="mdescRight">stores the heavy child of a node <br /></td></tr>
<tr class="separator:a84424f180f12b514eaab57a6aa20b104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b336474d17eff1aa4be73d4068dc725" id="r_a1b336474d17eff1aa4be73d4068dc725"><td class="memItemLeft" align="right" valign="top">std::vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1b336474d17eff1aa4be73d4068dc725">h_parent</a></td></tr>
<tr class="memdesc:a1b336474d17eff1aa4be73d4068dc725"><td class="mdescLeft">&#160;</td><td class="mdescRight">stores the top of the heavy chain from a node <br /></td></tr>
<tr class="separator:a1b336474d17eff1aa4be73d4068dc725"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename X&gt;<br />
class range_queries::heavy_light_decomposition::HLD&lt; X &gt;</div><p>The Heavy-Light Decomposition class. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
@@ -224,7 +191,7 @@ class range_queries::heavy_light_decomposition::HLD&lt; X &gt;</div><p>The Heavy
</dl>
<p class="definition">Definition at line <a class="el" href="../../d2/de9/heavy__light__decomposition_8cpp_source.html#l00336">336</a> of file <a class="el" href="../../d2/de9/heavy__light__decomposition_8cpp_source.html">heavy_light_decomposition.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
</div><a name="doc-constructors" id="doc-constructors"></a><h2 id="header-doc-constructors" class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6e486767434e44076c1ac374a22da726" name="a6e486767434e44076c1ac374a22da726"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e486767434e44076c1ac374a22da726">&#9670;&#160;</a></span>HLD()</h2>
@@ -277,7 +244,7 @@ template&lt;typename X&gt; </div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Member Function Documentation</h2>
<a id="a7d5b40c076347a6aabfb37a0590f2f24" name="a7d5b40c076347a6aabfb37a0590f2f24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d5b40c076347a6aabfb37a0590f2f24">&#9670;&#160;</a></span>chain_query()</h2>
@@ -661,7 +628,7 @@ template&lt;typename X&gt; </div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a name="doc-variable-members" id="doc-variable-members"></a><h2 id="header-doc-variable-members" class="groupheader">Member Data Documentation</h2>
<a id="a84424f180f12b514eaab57a6aa20b104" name="a84424f180f12b514eaab57a6aa20b104"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84424f180f12b514eaab57a6aa20b104">&#9670;&#160;</a></span>h_heavychlid</h2>
@@ -779,11 +746,19 @@ template&lt;typename X&gt; </div>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dd/d69/namespacerange__queries.html">range_queries</a></li><li class="navelem"><b>heavy_light_decomposition</b></li><li class="navelem"><a class="el" href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html">HLD</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.13.2 </li>
<li class="navelem"><a href="../../dd/d69/namespacerange__queries.html">range_queries</a></li><li class="navelem"><b>heavy_light_decomposition</b></li><li class="navelem"><a href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html">HLD</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: greedy_algorithms Namespace Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d90/namespacegreedy__algorithms.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d90/namespacegreedy__algorithms.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,10 +113,6 @@ $(function(){initNavTree('d2/d90/namespacegreedy__algorithms.html','../../'); in
</div>
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">greedy_algorithms Namespace Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -132,35 +120,29 @@ $(function(){initNavTree('d2/d90/namespacegreedy__algorithms.html','../../'); in
<p>for string class
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
<tr class="heading"><td colspan="2"><h2 id="header-namespaces" class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html">dijkstra</a></td></tr>
<tr class="memitem:dijkstra" id="r_dijkstra"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html">dijkstra</a></td></tr>
<tr class="memdesc:d2/d2f/namespacegreedy__algorithms_1_1dijkstra"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions for the <a href="https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm" target="_blank">Dijkstra</a> algorithm implementation. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d9a/namespacegreedy__algorithms_1_1stable__matching.html">stable_matching</a></td></tr>
<tr class="memitem:stable_5Fmatching" id="r_stable_5Fmatching"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d9a/namespacegreedy__algorithms_1_1stable__matching.html">stable_matching</a></td></tr>
<tr class="memdesc:dd/d9a/namespacegreedy__algorithms_1_1stable__matching"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions for the Gale-Shapley Algorithm. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
<tr class="heading"><td colspan="2"><h2 id="header-nested-classes" 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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df6/classgreedy__algorithms_1_1_binary_addition.html">BinaryAddition</a></td></tr>
<tr class="memitem:BinaryAddition" id="r_BinaryAddition"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df6/classgreedy__algorithms_1_1_binary_addition.html">BinaryAddition</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A class to perform binary addition of two binary strings. <a href="../../de/df6/classgreedy__algorithms_1_1_binary_addition.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d49/classgreedy__algorithms_1_1_digit_separation.html">DigitSeparation</a></td></tr>
<tr class="memitem:DigitSeparation" id="r_DigitSeparation"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d49/classgreedy__algorithms_1_1_digit_separation.html">DigitSeparation</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A class that provides methods to separate the digits of a large positive number. <a href="../../da/d49/classgreedy__algorithms_1_1_digit_separation.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a33e3819aa9ffec0e380383c52603b502" id="r_a33e3819aa9ffec0e380383c52603b502"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a33e3819aa9ffec0e380383c52603b502">can_jump</a> (const std::vector&lt; int &gt; &amp;nums)</td></tr>
<tr class="memdesc:a33e3819aa9ffec0e380383c52603b502"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the given element (default is <code>1</code>) can jump to the last index. <br /></td></tr>
<tr class="separator:a33e3819aa9ffec0e380383c52603b502"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memdesc:a33e3819aa9ffec0e380383c52603b502"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the given element (default is <span class="tt">1</span>) can jump to the last index. <br /></td></tr>
<tr class="memitem:a349e4ab9a97532c3931a2bd2a19c0098" id="r_a349e4ab9a97532c3931a2bd2a19c0098"><td class="memTemplParams" colspan="2">template&lt;typename T, std::size_t N, std::size_t M&gt; </td></tr>
<tr class="memitem:a349e4ab9a97532c3931a2bd2a19c0098"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a349e4ab9a97532c3931a2bd2a19c0098">findMinimumEdge</a> (const T &amp;infinity, const std::array&lt; std::array&lt; T, N &gt;, M &gt; &amp;graph)</td></tr>
<tr class="memitem:a349e4ab9a97532c3931a2bd2a19c0098 template"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a349e4ab9a97532c3931a2bd2a19c0098">findMinimumEdge</a> (const T &amp;infinity, const std::array&lt; std::array&lt; T, N &gt;, M &gt; &amp;graph)</td></tr>
<tr class="memdesc:a349e4ab9a97532c3931a2bd2a19c0098"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the minimum edge of the given graph. <br /></td></tr>
<tr class="separator:a349e4ab9a97532c3931a2bd2a19c0098"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>for string class </p>
<p>for uint32_t</p>
<p>Greedy Algorithms.</p>
@@ -177,7 +159,7 @@ Functions</h2></td></tr>
<p>Greedy Algorithms</p>
<p>for array for IO operations for numeric limits</p>
<p>Greedy Algorithms </p>
</div><h2 class="groupheader">Function Documentation</h2>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="a33e3819aa9ffec0e380383c52603b502" name="a33e3819aa9ffec0e380383c52603b502"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33e3819aa9ffec0e380383c52603b502">&#9670;&#160;</a></span>can_jump()</h2>
@@ -193,7 +175,7 @@ Functions</h2></td></tr>
</table>
</div><div class="memdoc">
<p>Checks whether the given element (default is <code>1</code>) can jump to the last index. </p>
<p>Checks whether the given element (default is <span class="tt">1</span>) can jump to the last index. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">nums</td><td>array of numbers containing the maximum jump (in steps) from that index </td></tr>
@@ -274,11 +256,19 @@ template&lt;typename T, std::size_t N, std::size_t M&gt; </div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/d90/namespacegreedy__algorithms.html">greedy_algorithms</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.13.2 </li>
<li class="navelem"><a href="../../d2/d90/namespacegreedy__algorithms.html">greedy_algorithms</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,7 +1,7 @@
<map id="probability::windowed_median::WindowedMedian" name="probability::windowed_median::WindowedMedian">
<area shape="rect" id="Node000001" title="A class to calculate the median of a leading sliding window at the back of a stream of integer values..." alt="" coords="36,109,218,150"/>
<area shape="rect" id="Node000001" title="A class to calculate the median of a leading sliding window at the back of a stream of integer values..." alt="" coords="36,122,218,163"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,5,108,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="75,43,117,107,112,110,70,46"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="73,43,118,121,114,123,69,46"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="132,5,264,31"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="186,46,160,86,144,110,139,107,156,84,181,43"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="192,46,167,100,149,123,144,120,162,97,187,44"/>
</map>

View File

@@ -1 +1 @@
cdcabaec5eb705c1a021b743a5037fbf
993201adfcfe963750428f28e49d3d0f

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: probability::windowed_median::WindowedMedian Pages: 1 -->
<svg width="202pt" height="116pt"
viewBox="0.00 0.00 201.62 116.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="210pt" height="126pt"
viewBox="0.00 0.00 210.00 126.00" 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">
@@ -17,15 +17,15 @@
]]></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 112.25)">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 122.25)">
<title>probability::windowed_median::WindowedMedian</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A class to calculate the median of a leading sliding window at the back of a stream of integer values...">
<polygon fill="#999999" stroke="#666666" points="159.38,-30.5 23.38,-30.5 23.38,0 159.38,0 159.38,-30.5"/>
<text text-anchor="start" x="31.38" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">probability::windowed</text>
<text text-anchor="middle" x="91.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_median::WindowedMedian</text>
<text xml:space="preserve" text-anchor="start" x="31.38" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">probability::windowed</text>
<text xml:space="preserve" text-anchor="middle" x="91.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_median::WindowedMedian</text>
</a>
</g>
</g>
@@ -33,8 +33,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="76.75,-108.25 0,-108.25 0,-89 76.75,-89 76.75,-108.25"/>
<text text-anchor="middle" x="38.38" y="-94.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list&lt; int &gt;</text>
<polygon fill="white" stroke="#666666" points="76.75,-118.25 0,-118.25 0,-99 76.75,-99 76.75,-118.25"/>
<text xml:space="preserve" text-anchor="middle" x="38.38" y="-104.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list&lt; int &gt;</text>
</a>
</g>
</g>
@@ -42,18 +42,18 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node2&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M50.45,-79.09C59.99,-64.44 73.11,-44.29 81.9,-30.79"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="47.6,-77.05 45.08,-87.34 53.47,-80.87 47.6,-77.05"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M49.19,-88.98C59.19,-71.73 73.87,-46.44 83.01,-30.68"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="46.4,-86.81 44.41,-97.22 52.45,-90.33 46.4,-86.81"/>
</a>
</g>
<text text-anchor="middle" x="90.25" y="-55.88" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> _window</text>
<text xml:space="preserve" text-anchor="start" x="74.18" y="-60.88" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">_window</text>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="193.62,-108.25 95.12,-108.25 95.12,-89 193.62,-89 193.62,-108.25"/>
<text text-anchor="middle" x="144.38" y="-94.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::multiset&lt; int &gt;</text>
<polygon fill="white" stroke="#666666" points="193.62,-118.25 95.12,-118.25 95.12,-99 193.62,-99 193.62,-118.25"/>
<text xml:space="preserve" text-anchor="middle" x="144.38" y="-104.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::multiset&lt; int &gt;</text>
</a>
</g>
</g>
@@ -61,12 +61,12 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node3&#45;&gt;Node1</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M133.47,-79.07C127.91,-69.79 120.95,-58.45 114.38,-48.5 110.51,-42.65 106.07,-36.34 102.13,-30.87"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="130.36,-80.7 138.48,-87.51 136.38,-77.12 130.36,-80.7"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M137.94,-88.23C133.56,-76.31 127.16,-60.98 119.38,-48.5 115.53,-42.33 110.53,-36.16 105.81,-30.89"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="134.52,-89.07 141.12,-97.36 141.13,-86.76 134.52,-89.07"/>
</a>
</g>
<text text-anchor="middle" x="158.64" y="-61.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> _itMedian</text>
<text text-anchor="middle" x="158.64" y="-50.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">_sortedValues</text>
<text xml:space="preserve" text-anchor="start" x="137.7" y="-68.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">_itMedian</text>
<text xml:space="preserve" text-anchor="start" x="137.7" y="-53.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">_sortedValues</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -1,20 +1,20 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: probability::windowed_median::WindowedMedian Pages: 1 -->
<svg width="202pt" height="116pt"
viewBox="0.00 0.00 201.62 116.25" 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 112.25)">
<svg width="210pt" height="126pt"
viewBox="0.00 0.00 210.00 126.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 122.25)">
<title>probability::windowed_median::WindowedMedian</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A class to calculate the median of a leading sliding window at the back of a stream of integer values...">
<polygon fill="#999999" stroke="#666666" points="159.38,-30.5 23.38,-30.5 23.38,0 159.38,0 159.38,-30.5"/>
<text text-anchor="start" x="31.38" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">probability::windowed</text>
<text text-anchor="middle" x="91.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_median::WindowedMedian</text>
<text xml:space="preserve" text-anchor="start" x="31.38" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">probability::windowed</text>
<text xml:space="preserve" text-anchor="middle" x="91.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_median::WindowedMedian</text>
</a>
</g>
</g>
@@ -22,8 +22,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="76.75,-108.25 0,-108.25 0,-89 76.75,-89 76.75,-108.25"/>
<text text-anchor="middle" x="38.38" y="-94.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list&lt; int &gt;</text>
<polygon fill="white" stroke="#666666" points="76.75,-118.25 0,-118.25 0,-99 76.75,-99 76.75,-118.25"/>
<text xml:space="preserve" text-anchor="middle" x="38.38" y="-104.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list&lt; int &gt;</text>
</a>
</g>
</g>
@@ -31,18 +31,18 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node2&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M50.45,-79.09C59.99,-64.44 73.11,-44.29 81.9,-30.79"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="47.6,-77.05 45.08,-87.34 53.47,-80.87 47.6,-77.05"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M49.19,-88.98C59.19,-71.73 73.87,-46.44 83.01,-30.68"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="46.4,-86.81 44.41,-97.22 52.45,-90.33 46.4,-86.81"/>
</a>
</g>
<text text-anchor="middle" x="90.25" y="-55.88" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> _window</text>
<text xml:space="preserve" text-anchor="start" x="74.18" y="-60.88" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">_window</text>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="193.62,-108.25 95.12,-108.25 95.12,-89 193.62,-89 193.62,-108.25"/>
<text text-anchor="middle" x="144.38" y="-94.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::multiset&lt; int &gt;</text>
<polygon fill="white" stroke="#666666" points="193.62,-118.25 95.12,-118.25 95.12,-99 193.62,-99 193.62,-118.25"/>
<text xml:space="preserve" text-anchor="middle" x="144.38" y="-104.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::multiset&lt; int &gt;</text>
</a>
</g>
</g>
@@ -50,12 +50,12 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node3&#45;&gt;Node1</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M133.47,-79.07C127.91,-69.79 120.95,-58.45 114.38,-48.5 110.51,-42.65 106.07,-36.34 102.13,-30.87"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="130.36,-80.7 138.48,-87.51 136.38,-77.12 130.36,-80.7"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M137.94,-88.23C133.56,-76.31 127.16,-60.98 119.38,-48.5 115.53,-42.33 110.53,-36.16 105.81,-30.89"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="134.52,-89.07 141.12,-97.36 141.13,-86.76 134.52,-89.07"/>
</a>
</g>
<text text-anchor="middle" x="158.64" y="-61.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> _itMedian</text>
<text text-anchor="middle" x="158.64" y="-50.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">_sortedValues</text>
<text xml:space="preserve" text-anchor="start" x="137.7" y="-68.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">_itMedian</text>
<text xml:space="preserve" text-anchor="start" x="137.7" y="-53.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">_sortedValues</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: range_queries/sparse_table_range_queries.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d96/sparse__table__range__queries_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d96/sparse__table__range__queries_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -188,11 +180,12 @@ $(function(){initNavTree('d2/d96/sparse__table__range__queries_8cpp_source.html'
<div class="ttc" id="anamespacerange__queries_html"><div class="ttname"><a href="../../dd/d69/namespacerange__queries.html">range_queries</a></div><div class="ttdoc">for std::vector</div><div class="ttdef"><b>Definition</b> <a href="../../d6/d2e/fenwick__tree_8cpp_source.html#l00028">fenwick_tree.cpp:28</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_074119ce3a874b57120c49a0cc4bb5ad.html">range_queries</a></li><li class="navelem"><b>sparse_table_range_queries.cpp</b></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.13.2 </li>
<li class="navelem"><a href="../../dir_074119ce3a874b57120c49a0cc4bb5ad.html">range_queries</a></li><li class="navelem"><b>sparse_table_range_queries.cpp</b></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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: others::iterative_tree_traversals::Node Struct Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html','../../','d7/df9/structothers_1_1iterative__tree__traversals_1_1_node-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,9 +113,6 @@ $(function(){initNavTree('d2/d9a/structothers_1_1iterative__tree__traversals_1_1
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../d7/df9/structothers_1_1iterative__tree__traversals_1_1_node-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">others::iterative_tree_traversals::Node Struct Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -133,26 +122,23 @@ $(function(){initNavTree('d2/d9a/structothers_1_1iterative__tree__traversals_1_1
<div class="dynheader">
Collaboration diagram for others::iterative_tree_traversals::Node:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/d4c/structothers_1_1iterative__tree__traversals_1_1_node__coll__graph.svg" width="200" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d0/d4c/structothers_1_1iterative__tree__traversals_1_1_node__coll__graph.svg" width="208" height="55"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-attribs" class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ad443d44275337b9e361375ce66f1104f" id="r_ad443d44275337b9e361375ce66f1104f"><td class="memItemLeft" align="right" valign="top">int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad443d44275337b9e361375ce66f1104f">data</a> = 0</td></tr>
<tr class="memdesc:ad443d44275337b9e361375ce66f1104f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The value/key of the node. <br /></td></tr>
<tr class="separator:ad443d44275337b9e361375ce66f1104f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dbaeff928e469a05251879568515b8e" id="r_a1dbaeff928e469a05251879568515b8e"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1dbaeff928e469a05251879568515b8e">left</a> {}</td></tr>
<tr class="memdesc:a1dbaeff928e469a05251879568515b8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct pointer to left subtree. <br /></td></tr>
<tr class="separator:a1dbaeff928e469a05251879568515b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af19e39acfc18b823be9d4879a20e1143" id="r_af19e39acfc18b823be9d4879a20e1143"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="../../d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af19e39acfc18b823be9d4879a20e1143">right</a> {}</td></tr>
<tr class="memdesc:af19e39acfc18b823be9d4879a20e1143"><td class="mdescLeft">&#160;</td><td class="mdescRight">struct pointer to right subtree. <br /></td></tr>
<tr class="separator:af19e39acfc18b823be9d4879a20e1143"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>defines the structure of a node of the tree </p>
<p class="definition">Definition at line <a class="el" href="../../d8/d90/iterative__tree__traversals_8cpp_source.html#l00058">58</a> of file <a class="el" href="../../d8/d90/iterative__tree__traversals_8cpp_source.html">iterative_tree_traversals.cpp</a>.</p>
</div><h2 class="groupheader">Member Data Documentation</h2>
</div><a name="doc-variable-members" id="doc-variable-members"></a><h2 id="header-doc-variable-members" class="groupheader">Member Data Documentation</h2>
<a id="ad443d44275337b9e361375ce66f1104f" name="ad443d44275337b9e361375ce66f1104f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad443d44275337b9e361375ce66f1104f">&#9670;&#160;</a></span>data</h2>
@@ -214,11 +200,19 @@ Public Attributes</h2></td></tr>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d0/d6f/namespaceothers.html">others</a></li><li class="navelem"><b>iterative_tree_traversals</b></li><li class="navelem"><a class="el" href="../../d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html">Node</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.13.2 </li>
<li class="navelem"><a href="../../d0/d6f/namespaceothers.html">others</a></li><li class="navelem"><b>iterative_tree_traversals</b></li><li class="navelem"><a href="../../d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html">Node</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: dynamic_programming/matrix_chain_multiplication.cpp Source File</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/da2/matrix__chain__multiplication_8cpp_source.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/da2/matrix__chain__multiplication_8cpp_source.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -190,11 +182,12 @@ $(function(){initNavTree('d2/da2/matrix__chain__multiplication_8cpp_source.html'
<div class="ttc" id="anamespacedp_html"><div class="ttname"><a href="../../df/d88/namespacedp.html">dp</a></div><div class="ttdoc">for std::vector</div><div class="ttdef"><b>Definition</b> <a href="../../de/d8c/partition__problem_8cpp_source.html#l00039">partition_problem.cpp:39</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_8a20dd5bfd5341a725342bf72b6b686f.html">dynamic_programming</a></li><li class="navelem"><b>matrix_chain_multiplication.cpp</b></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.13.2 </li>
<li class="navelem"><a href="../../dir_8a20dd5bfd5341a725342bf72b6b686f.html">dynamic_programming</a></li><li class="navelem"><b>matrix_chain_multiplication.cpp</b></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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: find_non_repeating_integer Namespace Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/da7/namespacefind__non__repeating__integer.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/da7/namespacefind__non__repeating__integer.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -127,15 +119,23 @@ $(function(){initNavTree('d2/da7/namespacefind__non__repeating__integer.html','.
<p>Functions to find the non repeating integer in an array of repeating integers. <a href="https://leetcode.com/problems/single-number/" target="_blank">Single Number</a>
<a href="#details">More...</a></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Functions to find the non repeating integer in an array of repeating integers. <a href="https://leetcode.com/problems/single-number/" target="_blank">Single Number</a> </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/da7/namespacefind__non__repeating__integer.html">find_non_repeating_integer</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.13.2 </li>
<li class="navelem"><a href="../../d2/da7/namespacefind__non__repeating__integer.html">find_non_repeating_integer</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: greedy_algorithms::dijkstra::Graph Class Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.html','../../','d9/db6/classgreedy__algorithms_1_1dijkstra_1_1_graph-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,10 +113,6 @@ $(function(){initNavTree('d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.h
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../d9/db6/classgreedy__algorithms_1_1dijkstra_1_1_graph-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">greedy_algorithms::dijkstra::Graph Class Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -134,30 +122,26 @@ $(function(){initNavTree('d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.h
<div class="dynheader">
Collaboration diagram for greedy_algorithms::dijkstra::Graph:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/classgreedy__algorithms_1_1dijkstra_1_1_graph__coll__graph.svg" width="168" height="155"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../df/dce/classgreedy__algorithms_1_1dijkstra_1_1_graph__coll__graph.svg" width="168" height="163"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-methods" class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afefaeb247734a7c64bd04e68e3c1c4bc" id="r_afefaeb247734a7c64bd04e68e3c1c4bc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afefaeb247734a7c64bd04e68e3c1c4bc">Graph</a> (const int V)</td></tr>
<tr class="memdesc:afefaeb247734a7c64bd04e68e3c1c4bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a graph. <br /></td></tr>
<tr class="separator:afefaeb247734a7c64bd04e68e3c1c4bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a224b6efacbad55d59e11b046f792fe79" id="r_a224b6efacbad55d59e11b046f792fe79"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a224b6efacbad55d59e11b046f792fe79">add_edge</a> (int src, int dst, int weight)</td></tr>
<tr class="memdesc:a224b6efacbad55d59e11b046f792fe79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an edge to the graph. <br /></td></tr>
<tr class="separator:a224b6efacbad55d59e11b046f792fe79"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-attribs" class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a2b0f8f5d257613bb0c0cb470413964b1" id="r_a2b0f8f5d257613bb0c0cb470413964b1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2b0f8f5d257613bb0c0cb470413964b1">vertexNum</a> = 0</td></tr>
<tr class="separator:a2b0f8f5d257613bb0c0cb470413964b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42a583424fb3b90346f1564d737a0fff" id="r_a42a583424fb3b90346f1564d737a0fff"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; int &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a42a583424fb3b90346f1564d737a0fff">edges</a> {}</td></tr>
<tr class="separator:a42a583424fb3b90346f1564d737a0fff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wrapper class for storing a graph. </p>
<p class="definition">Definition at line <a class="el" href="../../da/de8/dijkstra__greedy_8cpp_source.html#l00035">35</a> of file <a class="el" href="../../da/de8/dijkstra__greedy_8cpp_source.html">dijkstra_greedy.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
</div><a name="doc-constructors" id="doc-constructors"></a><h2 id="header-doc-constructors" class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="afefaeb247734a7c64bd04e68e3c1c4bc" name="afefaeb247734a7c64bd04e68e3c1c4bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afefaeb247734a7c64bd04e68e3c1c4bc">&#9670;&#160;</a></span>Graph()</h2>
@@ -209,7 +193,7 @@ Public Attributes</h2></td></tr>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Member Function Documentation</h2>
<a id="a224b6efacbad55d59e11b046f792fe79" name="a224b6efacbad55d59e11b046f792fe79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a224b6efacbad55d59e11b046f792fe79">&#9670;&#160;</a></span>add_edge()</h2>
@@ -260,7 +244,7 @@ Public Attributes</h2></td></tr>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a name="doc-variable-members" id="doc-variable-members"></a><h2 id="header-doc-variable-members" class="groupheader">Member Data Documentation</h2>
<a id="a42a583424fb3b90346f1564d737a0fff" name="a42a583424fb3b90346f1564d737a0fff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42a583424fb3b90346f1564d737a0fff">&#9670;&#160;</a></span>edges</h2>
@@ -299,11 +283,19 @@ Public Attributes</h2></td></tr>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/d90/namespacegreedy__algorithms.html">greedy_algorithms</a></li><li class="navelem"><a class="el" href="../../d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html">dijkstra</a></li><li class="navelem"><a class="el" href="../../d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.html">Graph</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.13.2 </li>
<li class="navelem"><a href="../../d2/d90/namespacegreedy__algorithms.html">greedy_algorithms</a></li><li class="navelem"><a href="../../d2/d2f/namespacegreedy__algorithms_1_1dijkstra.html">dijkstra</a></li><li class="navelem"><a href="../../d2/daa/classgreedy__algorithms_1_1dijkstra_1_1_graph.html">Graph</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,4 +1,4 @@
<map id="operations_on_datastructures::inorder_traversal_of_bst::Node" name="operations_on_datastructures::inorder_traversal_of_bst::Node">
<area shape="rect" id="Node000001" title="A Node structure representing a single node in BST." alt="" coords="5,5,213,46"/>
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="229,19,239,26,231,32,214,35,213,30,229,27,234,26,227,23"/>
<area shape="rect" id="Node000001" title="A Node structure representing a single node in BST." alt="" coords="5,7,213,47"/>
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="229,20,239,27,231,34,214,36,213,31,229,29,234,27,227,25"/>
</map>

View File

@@ -1 +1 @@
1aec04fc07acea7423ae2cb4be8e65f6
bb793ad992050b86538a89b9d15ecb6a

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: operations_on_datastructures::inorder_traversal_of_bst::Node Pages: 1 -->
<svg width="200pt" height="39pt"
viewBox="0.00 0.00 200.25 38.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="206pt" height="41pt"
viewBox="0.00 0.00 206.00 41.00" 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">
@@ -17,15 +17,15 @@
]]></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 34.5)">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 36.5)">
<title>operations_on_datastructures::inorder_traversal_of_bst::Node</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A Node structure representing a single node in BST.">
<polygon fill="#999999" stroke="#666666" points="155.5,-30.5 0,-30.5 0,0 155.5,0 155.5,-30.5"/>
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">operations_on_datastructures</text>
<text text-anchor="middle" x="77.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::inorder_traversal_of_bst::Node</text>
<polygon fill="#999999" stroke="#666666" points="155.5,-31.5 0,-31.5 0,-1 155.5,-1 155.5,-31.5"/>
<text xml:space="preserve" text-anchor="start" x="8" y="-18" font-family="Helvetica,sans-Serif" font-size="10.00">operations_on_datastructures</text>
<text xml:space="preserve" text-anchor="middle" x="77.75" y="-6.75" font-family="Helvetica,sans-Serif" font-size="10.00">::inorder_traversal_of_bst::Node</text>
</a>
</g>
</g>
@@ -33,12 +33,12 @@
<g id="edge1_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M167.12,-18.8C171.15,-17.9 173.5,-16.71 173.5,-15.25 173.5,-12.72 166.46,-11.03 155.89,-10.18"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="166.83,-15.31 157.39,-20.12 167.77,-22.24 166.83,-15.31"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M167.12,-19.8C171.15,-18.9 173.5,-17.71 173.5,-16.25 173.5,-13.72 166.46,-12.03 155.89,-11.18"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="166.83,-16.31 157.39,-21.12 167.77,-23.24 166.83,-16.31"/>
</a>
</g>
<text text-anchor="middle" x="182.88" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> left</text>
<text text-anchor="middle" x="182.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">right</text>
<text xml:space="preserve" text-anchor="start" x="176.5" y="-20" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">left</text>
<text xml:space="preserve" text-anchor="start" x="176.5" y="-4.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">right</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -1,20 +1,20 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: operations_on_datastructures::inorder_traversal_of_bst::Node Pages: 1 -->
<svg width="200pt" height="39pt"
viewBox="0.00 0.00 200.25 38.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 34.5)">
<svg width="206pt" height="41pt"
viewBox="0.00 0.00 206.00 41.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 36.5)">
<title>operations_on_datastructures::inorder_traversal_of_bst::Node</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A Node structure representing a single node in BST.">
<polygon fill="#999999" stroke="#666666" points="155.5,-30.5 0,-30.5 0,0 155.5,0 155.5,-30.5"/>
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">operations_on_datastructures</text>
<text text-anchor="middle" x="77.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::inorder_traversal_of_bst::Node</text>
<polygon fill="#999999" stroke="#666666" points="155.5,-31.5 0,-31.5 0,-1 155.5,-1 155.5,-31.5"/>
<text xml:space="preserve" text-anchor="start" x="8" y="-18" font-family="Helvetica,sans-Serif" font-size="10.00">operations_on_datastructures</text>
<text xml:space="preserve" text-anchor="middle" x="77.75" y="-6.75" font-family="Helvetica,sans-Serif" font-size="10.00">::inorder_traversal_of_bst::Node</text>
</a>
</g>
</g>
@@ -22,12 +22,12 @@
<g id="edge1_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M167.12,-18.8C171.15,-17.9 173.5,-16.71 173.5,-15.25 173.5,-12.72 166.46,-11.03 155.89,-10.18"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="166.83,-15.31 157.39,-20.12 167.77,-22.24 166.83,-15.31"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M167.12,-19.8C171.15,-18.9 173.5,-17.71 173.5,-16.25 173.5,-13.72 166.46,-12.03 155.89,-11.18"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="166.83,-16.31 157.39,-21.12 167.77,-23.24 166.83,-16.31"/>
</a>
</g>
<text text-anchor="middle" x="182.88" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> left</text>
<text text-anchor="middle" x="182.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">right</text>
<text xml:space="preserve" text-anchor="start" x="176.5" y="-20" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">left</text>
<text xml:space="preserve" text-anchor="start" x="176.5" y="-4.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">right</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: sieve_of_eratosthenes Namespace Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/db0/namespacesieve__of__eratosthenes.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/db0/namespacesieve__of__eratosthenes.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -127,15 +119,23 @@ $(function(){initNavTree('d2/db0/namespacesieve__of__eratosthenes.html','../../'
<p>Functions for finding Prime Numbers using Sieve of Eratosthenes.
<a href="#details">More...</a></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Functions for finding Prime Numbers using Sieve of Eratosthenes. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/db0/namespacesieve__of__eratosthenes.html">sieve_of_eratosthenes</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.13.2 </li>
<li class="navelem"><a href="../../d2/db0/namespacesieve__of__eratosthenes.html">sieve_of_eratosthenes</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: Member List</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d7/dfc/classvector.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d7/dfc/classvector.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -130,10 +122,11 @@ $(function(){initNavTree('d7/dfc/classvector.html','../../'); initResizable(true
<tr class="even"><td class="entry"><a class="el" href="../../d7/dfc/classvector.html#a2396209900e8f592db1f0b2467f7d899">elements</a></td><td class="entry"><a class="el" href="../../d7/dfc/classvector.html">vector&lt; T &gt;</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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.13.2 </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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,7 +1,7 @@
<map id="data_structures::treap::Treap" name="data_structures::treap::Treap">
<area shape="rect" id="Node000001" title="Struct representation of the treap." alt="" coords="114,154,262,195"/>
<area shape="rect" id="Node000001" title="Struct representation of the treap." alt="" coords="114,178,262,219"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,13,184,38"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="113,50,178,152,173,155,108,53"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="111,51,180,176,175,179,106,53"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="207,5,358,46"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="264,60,203,155,198,152,260,57"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="268,61,217,155,203,179,198,176,212,153,263,59"/>
</map>

View File

@@ -1 +1 @@
c4fe396a269318ee0919570a882ed9b1
ae4807fb0584328130dff589844a2d9b

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: data_structures::treap::Treap Pages: 1 -->
<svg width="272pt" height="150pt"
viewBox="0.00 0.00 272.25 150.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="272pt" height="168pt"
viewBox="0.00 0.00 272.00 168.00" 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">
@@ -17,15 +17,15 @@
]]></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 146)">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 164)">
<title>data_structures::treap::Treap</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Struct representation of the treap.">
<polygon fill="#999999" stroke="#666666" points="192.5,-30.5 81.25,-30.5 81.25,0 192.5,0 192.5,-30.5"/>
<text text-anchor="start" x="89.25" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::treap</text>
<text text-anchor="middle" x="136.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Treap</text>
<text xml:space="preserve" text-anchor="start" x="89.25" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::treap</text>
<text xml:space="preserve" text-anchor="middle" x="136.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Treap</text>
</a>
</g>
</g>
@@ -33,8 +33,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="133.75,-136.38 0,-136.38 0,-117.12 133.75,-117.12 133.75,-136.38"/>
<text text-anchor="middle" x="66.88" y="-122.88" font-family="Helvetica,sans-Serif" font-size="10.00">std::array&lt; int, maxNode &gt;</text>
<polygon fill="white" stroke="#666666" points="133.75,-154.38 0,-154.38 0,-135.12 133.75,-135.12 133.75,-154.38"/>
<text xml:space="preserve" text-anchor="middle" x="66.88" y="-140.88" font-family="Helvetica,sans-Serif" font-size="10.00">std::array&lt; int, maxNode &gt;</text>
</a>
</g>
</g>
@@ -42,22 +42,22 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node2&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M78.76,-107.16C92.55,-85.59 114.99,-50.48 127.57,-30.8"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="75.86,-105.2 73.42,-115.51 81.75,-108.97 75.86,-105.2"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M77.14,-125.05C91.2,-99.44 116.17,-53.96 128.91,-30.75"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="74.16,-123.21 72.41,-133.66 80.3,-126.58 74.16,-123.21"/>
</a>
</g>
<text text-anchor="middle" x="130.82" y="-84" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> cnt</text>
<text text-anchor="middle" x="130.82" y="-72.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">key</text>
<text text-anchor="middle" x="130.82" y="-61.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">priority</text>
<text text-anchor="middle" x="130.82" y="-50.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">size</text>
<text xml:space="preserve" text-anchor="start" x="121.1" y="-99" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">cnt</text>
<text xml:space="preserve" text-anchor="start" x="121.1" y="-83.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">key</text>
<text xml:space="preserve" text-anchor="start" x="121.1" y="-68.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">priority</text>
<text xml:space="preserve" text-anchor="start" x="121.1" y="-53.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">size</text>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="264.25,-142 151.5,-142 151.5,-111.5 264.25,-111.5 264.25,-142"/>
<text text-anchor="start" x="159.5" y="-128.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::array&lt; std::array</text>
<text text-anchor="middle" x="207.88" y="-117.25" font-family="Helvetica,sans-Serif" font-size="10.00">&lt; int, 2 &gt;, maxNode &gt;</text>
<polygon fill="white" stroke="#666666" points="264.25,-160 151.5,-160 151.5,-129.5 264.25,-129.5 264.25,-160"/>
<text xml:space="preserve" text-anchor="start" x="159.5" y="-146.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::array&lt; std::array</text>
<text xml:space="preserve" text-anchor="middle" x="207.88" y="-135.25" font-family="Helvetica,sans-Serif" font-size="10.00">&lt; int, 2 &gt;, maxNode &gt;</text>
</a>
</g>
</g>
@@ -65,11 +65,11 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node3&#45;&gt;Node1</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M192.46,-101.97C178.43,-80.34 158.18,-49.11 146.39,-30.92"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="189.39,-103.68 197.77,-110.16 195.27,-99.87 189.39,-103.68"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M195.15,-118.96C185.08,-99.6 170.5,-72.11 156.88,-48.5 153.52,-42.68 149.66,-36.38 146.23,-30.9"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="191.98,-120.45 199.69,-127.72 198.2,-117.23 191.98,-120.45"/>
</a>
</g>
<text text-anchor="middle" x="201.15" y="-67.12" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> childs</text>
<text xml:space="preserve" text-anchor="start" x="193.19" y="-76.12" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">childs</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@@ -1,20 +1,20 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: data_structures::treap::Treap Pages: 1 -->
<svg width="272pt" height="150pt"
viewBox="0.00 0.00 272.25 150.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 146)">
<svg width="272pt" height="168pt"
viewBox="0.00 0.00 272.00 168.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 164)">
<title>data_structures::treap::Treap</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Struct representation of the treap.">
<polygon fill="#999999" stroke="#666666" points="192.5,-30.5 81.25,-30.5 81.25,0 192.5,0 192.5,-30.5"/>
<text text-anchor="start" x="89.25" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::treap</text>
<text text-anchor="middle" x="136.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Treap</text>
<text xml:space="preserve" text-anchor="start" x="89.25" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::treap</text>
<text xml:space="preserve" text-anchor="middle" x="136.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::Treap</text>
</a>
</g>
</g>
@@ -22,8 +22,8 @@
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="133.75,-136.38 0,-136.38 0,-117.12 133.75,-117.12 133.75,-136.38"/>
<text text-anchor="middle" x="66.88" y="-122.88" font-family="Helvetica,sans-Serif" font-size="10.00">std::array&lt; int, maxNode &gt;</text>
<polygon fill="white" stroke="#666666" points="133.75,-154.38 0,-154.38 0,-135.12 133.75,-135.12 133.75,-154.38"/>
<text xml:space="preserve" text-anchor="middle" x="66.88" y="-140.88" font-family="Helvetica,sans-Serif" font-size="10.00">std::array&lt; int, maxNode &gt;</text>
</a>
</g>
</g>
@@ -31,22 +31,22 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node2&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M78.76,-107.16C92.55,-85.59 114.99,-50.48 127.57,-30.8"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="75.86,-105.2 73.42,-115.51 81.75,-108.97 75.86,-105.2"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M77.14,-125.05C91.2,-99.44 116.17,-53.96 128.91,-30.75"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="74.16,-123.21 72.41,-133.66 80.3,-126.58 74.16,-123.21"/>
</a>
</g>
<text text-anchor="middle" x="130.82" y="-84" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> cnt</text>
<text text-anchor="middle" x="130.82" y="-72.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">key</text>
<text text-anchor="middle" x="130.82" y="-61.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">priority</text>
<text text-anchor="middle" x="130.82" y="-50.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">size</text>
<text xml:space="preserve" text-anchor="start" x="121.1" y="-99" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">cnt</text>
<text xml:space="preserve" text-anchor="start" x="121.1" y="-83.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">key</text>
<text xml:space="preserve" text-anchor="start" x="121.1" y="-68.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">priority</text>
<text xml:space="preserve" text-anchor="start" x="121.1" y="-53.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">size</text>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="white" stroke="#666666" points="264.25,-142 151.5,-142 151.5,-111.5 264.25,-111.5 264.25,-142"/>
<text text-anchor="start" x="159.5" y="-128.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::array&lt; std::array</text>
<text text-anchor="middle" x="207.88" y="-117.25" font-family="Helvetica,sans-Serif" font-size="10.00">&lt; int, 2 &gt;, maxNode &gt;</text>
<polygon fill="white" stroke="#666666" points="264.25,-160 151.5,-160 151.5,-129.5 264.25,-129.5 264.25,-160"/>
<text xml:space="preserve" text-anchor="start" x="159.5" y="-146.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::array&lt; std::array</text>
<text xml:space="preserve" text-anchor="middle" x="207.88" y="-135.25" font-family="Helvetica,sans-Serif" font-size="10.00">&lt; int, 2 &gt;, maxNode &gt;</text>
</a>
</g>
</g>
@@ -54,11 +54,11 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node3&#45;&gt;Node1</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M192.46,-101.97C178.43,-80.34 158.18,-49.11 146.39,-30.92"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="189.39,-103.68 197.77,-110.16 195.27,-99.87 189.39,-103.68"/>
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M195.15,-118.96C185.08,-99.6 170.5,-72.11 156.88,-48.5 153.52,-42.68 149.66,-36.38 146.23,-30.9"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="191.98,-120.45 199.69,-127.72 198.2,-117.23 191.98,-120.45"/>
</a>
</g>
<text text-anchor="middle" x="201.15" y="-67.12" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> childs</text>
<text xml:space="preserve" text-anchor="start" x="193.19" y="-76.12" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">childs</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp Pages: 1 -->
<!--zoomable 94 -->
@@ -60,8 +60,8 @@ var sectionId = 'dynsection-0';
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of SJF CPU scheduling algorithm.">
<polygon fill="#999999" stroke="#666666" points="355,-85.75 180.75,-85.75 180.75,-55.25 355,-55.25 355,-85.75"/>
<text text-anchor="start" x="188.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">cpu_scheduling_algorithms</text>
<text text-anchor="middle" x="267.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/non_preemptive_sjf_scheduling.cpp</text>
<text xml:space="preserve" text-anchor="start" x="188.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">cpu_scheduling_algorithms</text>
<text xml:space="preserve" text-anchor="middle" x="267.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/non_preemptive_sjf_scheduling.cpp</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@ var sectionId = 'dynsection-0';
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -88,7 +88,7 @@ var sectionId = 'dynsection-0';
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="122,-19.25 73.75,-19.25 73.75,0 122,0 122,-19.25"/>
<text text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -106,7 +106,7 @@ var sectionId = 'dynsection-0';
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="189.75,-19.25 140,-19.25 140,0 189.75,0 189.75,-19.25"/>
<text text-anchor="middle" x="164.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
<text xml:space="preserve" text-anchor="middle" x="164.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
</a>
</g>
</g>
@@ -124,7 +124,7 @@ var sectionId = 'dynsection-0';
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="261.62,-19.25 208.12,-19.25 208.12,0 261.62,0 261.62,-19.25"/>
<text text-anchor="middle" x="234.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="234.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -142,7 +142,7 @@ var sectionId = 'dynsection-0';
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="322,-19.25 279.75,-19.25 279.75,0 322,0 322,-19.25"/>
<text text-anchor="middle" x="300.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">queue</text>
<text xml:space="preserve" text-anchor="middle" x="300.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">queue</text>
</a>
</g>
</g>
@@ -160,7 +160,7 @@ var sectionId = 'dynsection-0';
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="388,-19.25 339.75,-19.25 339.75,0 388,0 388,-19.25"/>
<text text-anchor="middle" x="363.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
<text xml:space="preserve" text-anchor="middle" x="363.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
</a>
</g>
</g>
@@ -178,7 +178,7 @@ var sectionId = 'dynsection-0';
<title>Node8</title>
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="483.62,-19.25 406.12,-19.25 406.12,0 483.62,0 483.62,-19.25"/>
<text text-anchor="middle" x="444.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
<text xml:space="preserve" text-anchor="middle" x="444.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
</a>
</g>
</g>
@@ -196,7 +196,7 @@ var sectionId = 'dynsection-0';
<title>Node9</title>
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="544.38,-19.25 501.38,-19.25 501.38,0 544.38,0 544.38,-19.25"/>
<text text-anchor="middle" x="522.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="522.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp Pages: 1 -->
<svg width="552pt" height="94pt"
viewBox="0.00 0.00 552.38 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 552.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Implementation of SJF CPU scheduling algorithm.">
<polygon fill="#999999" stroke="#666666" points="355,-85.75 180.75,-85.75 180.75,-55.25 355,-55.25 355,-85.75"/>
<text text-anchor="start" x="188.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">cpu_scheduling_algorithms</text>
<text text-anchor="middle" x="267.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/non_preemptive_sjf_scheduling.cpp</text>
<text xml:space="preserve" text-anchor="start" x="188.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">cpu_scheduling_algorithms</text>
<text xml:space="preserve" text-anchor="middle" x="267.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/non_preemptive_sjf_scheduling.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="122,-19.25 73.75,-19.25 73.75,0 122,0 122,-19.25"/>
<text text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="97.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="189.75,-19.25 140,-19.25 140,0 189.75,0 189.75,-19.25"/>
<text text-anchor="middle" x="164.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
<text xml:space="preserve" text-anchor="middle" x="164.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
</a>
</g>
</g>
@@ -77,7 +77,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="261.62,-19.25 208.12,-19.25 208.12,0 261.62,0 261.62,-19.25"/>
<text text-anchor="middle" x="234.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="234.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -95,7 +95,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="322,-19.25 279.75,-19.25 279.75,0 322,0 322,-19.25"/>
<text text-anchor="middle" x="300.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">queue</text>
<text xml:space="preserve" text-anchor="middle" x="300.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">queue</text>
</a>
</g>
</g>
@@ -113,7 +113,7 @@
<title>Node7</title>
<g id="a_Node000007"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="388,-19.25 339.75,-19.25 339.75,0 388,0 388,-19.25"/>
<text text-anchor="middle" x="363.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
<text xml:space="preserve" text-anchor="middle" x="363.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
</a>
</g>
</g>
@@ -131,7 +131,7 @@
<title>Node8</title>
<g id="a_Node000008"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="483.62,-19.25 406.12,-19.25 406.12,0 483.62,0 483.62,-19.25"/>
<text text-anchor="middle" x="444.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
<text xml:space="preserve" text-anchor="middle" x="444.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
</a>
</g>
</g>
@@ -149,7 +149,7 @@
<title>Node9</title>
<g id="a_Node000009"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="544.38,-19.25 501.38,-19.25 501.38,0 544.38,0 544.38,-19.25"/>
<text text-anchor="middle" x="522.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="522.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: stack_linkedList Class Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/dc4/classstack__linked_list.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/dc4/classstack__linked_list.html','../../','d7/d21/classstack__linked_list-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,39 +113,30 @@ $(function(){initNavTree('d2/dc4/classstack__linked_list.html','../../'); initRe
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../d7/d21/classstack__linked_list-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">stack_linkedList Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for stack_linkedList:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d7f/classstack__linked_list__coll__graph.svg" width="158" height="140"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../dd/d7f/classstack__linked_list__coll__graph.svg" width="162" height="154"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-methods" class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1d32f339f2b90dea16f89282db7074e5" id="r_a1d32f339f2b90dea16f89282db7074e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1d32f339f2b90dea16f89282db7074e5">enqueue</a> (int)</td></tr>
<tr class="separator:a1d32f339f2b90dea16f89282db7074e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af12688f7e4d74a978c93d5b26199a208" id="r_af12688f7e4d74a978c93d5b26199a208"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af12688f7e4d74a978c93d5b26199a208">dequeue</a> ()</td></tr>
<tr class="separator:af12688f7e4d74a978c93d5b26199a208"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a565e79ec7a9d949664277afda874cf7c" id="r_a565e79ec7a9d949664277afda874cf7c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a565e79ec7a9d949664277afda874cf7c">display</a> ()</td></tr>
<tr class="separator:a565e79ec7a9d949664277afda874cf7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-attribs" class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a445c8ffd4a85bf74a5d5f7b7e716f06d" id="r_a445c8ffd4a85bf74a5d5f7b7e716f06d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/dff/structlinkedlist.html">linkedlist</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a445c8ffd4a85bf74a5d5f7b7e716f06d">front</a></td></tr>
<tr class="separator:a445c8ffd4a85bf74a5d5f7b7e716f06d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa34ec2024dcfe130e6458149093772b3" id="r_aa34ec2024dcfe130e6458149093772b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/dff/structlinkedlist.html">linkedlist</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa34ec2024dcfe130e6458149093772b3">rear</a></td></tr>
<tr class="separator:aa34ec2024dcfe130e6458149093772b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="../../de/d5b/queue__using__linkedlist_8cpp_source.html#l00010">10</a> of file <a class="el" href="../../de/d5b/queue__using__linkedlist_8cpp_source.html">queue_using_linkedlist.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
</div><a name="doc-constructors" id="doc-constructors"></a><h2 id="header-doc-constructors" class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a44c1c5a34c5fb553025a33abe4f2e819" name="a44c1c5a34c5fb553025a33abe4f2e819"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44c1c5a34c5fb553025a33abe4f2e819">&#9670;&#160;</a></span>stack_linkedList()</h2>
@@ -182,7 +165,7 @@ Public Attributes</h2></td></tr>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Member Function Documentation</h2>
<a id="af12688f7e4d74a978c93d5b26199a208" name="af12688f7e4d74a978c93d5b26199a208"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af12688f7e4d74a978c93d5b26199a208">&#9670;&#160;</a></span>dequeue()</h2>
@@ -280,7 +263,7 @@ Public Attributes</h2></td></tr>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a name="doc-variable-members" id="doc-variable-members"></a><h2 id="header-doc-variable-members" class="groupheader">Member Data Documentation</h2>
<a id="a445c8ffd4a85bf74a5d5f7b7e716f06d" name="a445c8ffd4a85bf74a5d5f7b7e716f06d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a445c8ffd4a85bf74a5d5f7b7e716f06d">&#9670;&#160;</a></span>front</h2>
@@ -318,11 +301,19 @@ Public Attributes</h2></td></tr>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/dc4/classstack__linked_list.html">stack_linkedList</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.13.2 </li>
<li class="navelem"><a href="../../d2/dc4/classstack__linked_list.html">stack_linkedList</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: dynamic_programming/armstrong_number_templated.cpp Pages: 1 -->
<svg width="189pt" height="94pt"
viewBox="0.00 0.00 188.88 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 189.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Checks whether a number is an Armstrong Number or not.">
<polygon fill="#999999" stroke="#666666" points="171.5,-85.75 4.75,-85.75 4.75,-55.25 171.5,-55.25 171.5,-85.75"/>
<text text-anchor="start" x="12.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text text-anchor="middle" x="88.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/armstrong_number_templated.cpp</text>
<text xml:space="preserve" text-anchor="start" x="12.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text xml:space="preserve" text-anchor="middle" x="88.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/armstrong_number_templated.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="109.62,-19.25 66.62,-19.25 66.62,0 109.62,0 109.62,-19.25"/>
<text text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
<text xml:space="preserve" text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="180.88,-19.25 127.38,-19.25 127.38,0 180.88,0 180.88,-19.25"/>
<text text-anchor="middle" x="154.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="154.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: dynamic_programming/armstrong_number_templated.cpp Pages: 1 -->
<svg width="189pt" height="94pt"
viewBox="0.00 0.00 188.88 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 189.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>dynamic_programming/armstrong_number_templated.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Checks whether a number is an Armstrong Number or not.">
<polygon fill="#999999" stroke="#666666" points="171.5,-85.75 4.75,-85.75 4.75,-55.25 171.5,-55.25 171.5,-85.75"/>
<text text-anchor="start" x="12.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text text-anchor="middle" x="88.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/armstrong_number_templated.cpp</text>
<text xml:space="preserve" text-anchor="start" x="12.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text xml:space="preserve" text-anchor="middle" x="88.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/armstrong_number_templated.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -41,7 +41,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="109.62,-19.25 66.62,-19.25 66.62,0 109.62,0 109.62,-19.25"/>
<text text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
<text xml:space="preserve" text-anchor="middle" x="88.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
</a>
</g>
</g>
@@ -59,7 +59,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="180.88,-19.25 127.38,-19.25 127.38,0 180.88,0 180.88,-19.25"/>
<text text-anchor="middle" x="154.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="154.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: data_structures::Stack&lt; T &gt; Class Template Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/dc8/classdata__structures_1_1_stack.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/dc8/classdata__structures_1_1_stack.html','../../','d3/d25/classdata__structures_1_1_stack-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,10 +113,6 @@ $(function(){initNavTree('d2/dc8/classdata__structures_1_1_stack.html','../../')
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="../../d3/d25/classdata__structures_1_1_stack-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">data_structures::Stack&lt; T &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -134,49 +122,38 @@ $(function(){initNavTree('d2/dc8/classdata__structures_1_1_stack.html','../../')
<div class="dynheader">
Collaboration diagram for data_structures::Stack&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/d11/classdata__structures_1_1_stack__coll__graph.svg" width="196" height="214"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d3/d11/classdata__structures_1_1_stack__coll__graph.svg" width="196" height="230"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pub-methods" class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8cb0602c8a9c1603d0315938177ecc6a" id="r_a8cb0602c8a9c1603d0315938177ecc6a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8cb0602c8a9c1603d0315938177ecc6a">Stack</a> (int size)</td></tr>
<tr class="memdesc:a8cb0602c8a9c1603d0315938177ecc6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new <a class="el" href="../../d2/dc8/classdata__structures_1_1_stack.html" title="Class representation of a stack.">Stack</a> object. <br /></td></tr>
<tr class="separator:a8cb0602c8a9c1603d0315938177ecc6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa753346c8ee5f21d4f4482398fe6d5c1" id="r_aa753346c8ee5f21d4f4482398fe6d5c1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa753346c8ee5f21d4f4482398fe6d5c1">full</a> () const</td></tr>
<tr class="memdesc:aa753346c8ee5f21d4f4482398fe6d5c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the stack is full. <br /></td></tr>
<tr class="separator:aa753346c8ee5f21d4f4482398fe6d5c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04e2e7cb58b2de6d3a15053bfaaf6080" id="r_a04e2e7cb58b2de6d3a15053bfaaf6080"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a04e2e7cb58b2de6d3a15053bfaaf6080">empty</a> () const</td></tr>
<tr class="memdesc:a04e2e7cb58b2de6d3a15053bfaaf6080"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the stack is empty. <br /></td></tr>
<tr class="separator:a04e2e7cb58b2de6d3a15053bfaaf6080"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9f9b087e9e7c00628e1289f0f1de3b2" id="r_aa9f9b087e9e7c00628e1289f0f1de3b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa9f9b087e9e7c00628e1289f0f1de3b2">push</a> (T element)</td></tr>
<tr class="memdesc:aa9f9b087e9e7c00628e1289f0f1de3b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pushes an element onto the stack. <br /></td></tr>
<tr class="separator:aa9f9b087e9e7c00628e1289f0f1de3b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac46842bdd9c655d84f865fa3a03da19b" id="r_ac46842bdd9c655d84f865fa3a03da19b"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac46842bdd9c655d84f865fa3a03da19b">pop</a> ()</td></tr>
<tr class="memdesc:ac46842bdd9c655d84f865fa3a03da19b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pops an element from the stack. <br /></td></tr>
<tr class="separator:ac46842bdd9c655d84f865fa3a03da19b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb86ed67d9d97112897a09cfb10ff586" id="r_abb86ed67d9d97112897a09cfb10ff586"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abb86ed67d9d97112897a09cfb10ff586">show</a> () const</td></tr>
<tr class="memdesc:abb86ed67d9d97112897a09cfb10ff586"><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays all elements in the stack. <br /></td></tr>
<tr class="separator:abb86ed67d9d97112897a09cfb10ff586"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61dc70e128ee64c9684f03a4c04818b0" id="r_a61dc70e128ee64c9684f03a4c04818b0"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a61dc70e128ee64c9684f03a4c04818b0">topmost</a> () const</td></tr>
<tr class="memdesc:a61dc70e128ee64c9684f03a4c04818b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays the topmost element of the stack. <br /></td></tr>
<tr class="separator:a61dc70e128ee64c9684f03a4c04818b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ac469fcc2229d273450e429139d90e6" id="r_a2ac469fcc2229d273450e429139d90e6"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2ac469fcc2229d273450e429139d90e6">bottom</a> () const</td></tr>
<tr class="memdesc:a2ac469fcc2229d273450e429139d90e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays the bottom element of the stack. <br /></td></tr>
<tr class="separator:a2ac469fcc2229d273450e429139d90e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
<tr class="heading"><td colspan="2"><h2 id="header-pri-attribs" class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a3f912a0e9bed5b24b206584e3010dce3" id="r_a3f912a0e9bed5b24b206584e3010dce3"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; T[]&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3f912a0e9bed5b24b206584e3010dce3">stack</a></td></tr>
<tr class="memdesc:a3f912a0e9bed5b24b206584e3010dce3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Smart pointer to the stack array. <br /></td></tr>
<tr class="separator:a3f912a0e9bed5b24b206584e3010dce3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88a10062c0662a385f172669f2f19b86" id="r_a88a10062c0662a385f172669f2f19b86"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a88a10062c0662a385f172669f2f19b86">stackSize</a></td></tr>
<tr class="memdesc:a88a10062c0662a385f172669f2f19b86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum size of the stack. <br /></td></tr>
<tr class="separator:a88a10062c0662a385f172669f2f19b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71afc94746d47fb2c0c4fa4b612edee6" id="r_a71afc94746d47fb2c0c4fa4b612edee6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a71afc94746d47fb2c0c4fa4b612edee6">stackIndex</a></td></tr>
<tr class="memdesc:a71afc94746d47fb2c0c4fa4b612edee6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index pointing to the top element of the stack. <br /></td></tr>
<tr class="separator:a71afc94746d47fb2c0c4fa4b612edee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename T&gt;<br />
class data_structures::Stack&lt; T &gt;</div><p>Class representation of a stack. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
@@ -187,7 +164,7 @@ class data_structures::Stack&lt; T &gt;</div><p>Class representation of a stack.
</dl>
<p class="definition">Definition at line <a class="el" href="../../d8/d96/stack__using__array_8cpp_source.html#l00016">16</a> of file <a class="el" href="../../d8/d96/stack__using__array_8cpp_source.html">stack_using_array.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
</div><a name="doc-constructors" id="doc-constructors"></a><h2 id="header-doc-constructors" class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8cb0602c8a9c1603d0315938177ecc6a" name="a8cb0602c8a9c1603d0315938177ecc6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cb0602c8a9c1603d0315938177ecc6a">&#9670;&#160;</a></span>Stack()</h2>
@@ -230,7 +207,7 @@ template&lt;typename T&gt; </div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Member Function Documentation</h2>
<a id="a2ac469fcc2229d273450e429139d90e6" name="a2ac469fcc2229d273450e429139d90e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ac469fcc2229d273450e429139d90e6">&#9670;&#160;</a></span>bottom()</h2>
@@ -511,7 +488,7 @@ template&lt;typename T&gt; </div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a name="doc-variable-members" id="doc-variable-members"></a><h2 id="header-doc-variable-members" class="groupheader">Member Data Documentation</h2>
<a id="a3f912a0e9bed5b24b206584e3010dce3" name="a3f912a0e9bed5b24b206584e3010dce3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f912a0e9bed5b24b206584e3010dce3">&#9670;&#160;</a></span>stack</h2>
@@ -601,11 +578,19 @@ template&lt;typename T&gt; </div>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d5/d3c/namespacedata__structures.html">data_structures</a></li><li class="navelem"><a class="el" href="../../d2/dc8/classdata__structures_1_1_stack.html">Stack</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.13.2 </li>
<li class="navelem"><a href="../../d5/d3c/namespacedata__structures.html">data_structures</a></li><li class="navelem"><a href="../../d2/dc8/classdata__structures_1_1_stack.html">Stack</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: Member List</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -133,10 +125,11 @@ $(function(){initNavTree('d9/d12/classothers_1_1iterative__tree__traversals_1_1_
<tr class="odd"><td class="entry"><a class="el" href="../../d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree.html#ad4c6a8e67fb8267a65439b035666b5ae">preOrderIterative</a>(Node *)</td><td class="entry"><a class="el" href="../../d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree.html">others::iterative_tree_traversals::BinaryTree</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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.13.2 </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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: statistics Namespace Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/dcf/namespacestatistics.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/dcf/namespacestatistics.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,8 +113,6 @@ $(function(){initNavTree('d2/dcf/namespacestatistics.html','../../'); initResiza
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> </div>
<div class="headertitle"><div class="title">statistics Namespace Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -130,22 +120,28 @@ $(function(){initNavTree('d2/dcf/namespacestatistics.html','../../'); initResiza
<p>Statistical algorithms.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
<tr class="heading"><td colspan="2"><h2 id="header-nested-classes" 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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7c/classstatistics_1_1stats__computer1.html">stats_computer1</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/dab/classstatistics_1_1stats__computer2.html">stats_computer2</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:stats_5Fcomputer1" id="r_stats_5Fcomputer1"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7c/classstatistics_1_1stats__computer1.html">stats_computer1</a></td></tr>
<tr class="memitem:stats_5Fcomputer2" id="r_stats_5Fcomputer2"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/dab/classstatistics_1_1stats__computer2.html">stats_computer2</a></td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Statistical algorithms. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/dcf/namespacestatistics.html">statistics</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.13.2 </li>
<li class="navelem"><a href="../../d2/dcf/namespacestatistics.html">statistics</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: std::is_integral&lt; uint128_t &gt; Struct Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -127,14 +119,14 @@ $(function(){initNavTree('d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.h
<div class="dynheader">
Inheritance diagram for std::is_integral&lt; uint128_t &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/df6/structstd_1_1is__integral_3_01uint128__t_01_4__inherit__graph.svg" width="195" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d6/df6/structstd_1_1is__integral_3_01uint128__t_01_4__inherit__graph.svg" width="195" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for std::is_integral&lt; uint128_t &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d1/db0/structstd_1_1is__integral_3_01uint128__t_01_4__coll__graph.svg" width="195" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="../../d1/db0/structstd_1_1is__integral_3_01uint128__t_01_4__coll__graph.svg" width="195" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="../../da/d41/uint128__t_8hpp_source.html#l00025">25</a> of file <a class="el" href="../../da/d41/uint128__t_8hpp_source.html">uint128_t.hpp</a>.</p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
@@ -142,11 +134,19 @@ Collaboration diagram for std::is_integral&lt; uint128_t &gt;:</div>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>std</b></li><li class="navelem"><a class="el" href="../../d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html">is_integral&lt; uint128_t &gt;</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.13.2 </li>
<li class="navelem"><b>std</b></li><li class="navelem"><a href="../../d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html">is_integral&lt; uint128_t &gt;</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: gcd_of_n_numbers Namespace Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/ddb/namespacegcd__of__n__numbers.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/ddb/namespacegcd__of__n__numbers.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -127,15 +119,23 @@ $(function(){initNavTree('d2/ddb/namespacegcd__of__n__numbers.html','../../'); i
<p>Compute GCD of numbers in an array.
<a href="#details">More...</a></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Compute GCD of numbers in an array. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/ddb/namespacegcd__of__n__numbers.html">gcd_of_n_numbers</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.13.2 </li>
<li class="navelem"><a href="../../d2/ddb/namespacegcd__of__n__numbers.html">gcd_of_n_numbers</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: numerical_methods/gaussian_elimination.cpp Pages: 1 -->
<svg width="151pt" height="94pt"
viewBox="0.00 0.00 150.75 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 151.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Gaussian elimination method">
<polygon fill="#999999" stroke="#666666" points="142.75,-85.75 0,-85.75 0,-55.25 142.75,-55.25 142.75,-85.75"/>
<text text-anchor="start" x="8" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">numerical_methods/gaussian</text>
<text text-anchor="middle" x="71.38" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_elimination.cpp</text>
<text xml:space="preserve" text-anchor="start" x="8" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">numerical_methods/gaussian</text>
<text xml:space="preserve" text-anchor="middle" x="71.38" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_elimination.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="98.12,-19.25 44.62,-19.25 44.62,0 98.12,0 98.12,-19.25"/>
<text text-anchor="middle" x="71.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="71.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: numerical_methods/gaussian_elimination.cpp Pages: 1 -->
<svg width="151pt" height="94pt"
viewBox="0.00 0.00 150.75 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 151.00 94.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.75)">
<title>numerical_methods/gaussian_elimination.cpp</title>
<!-- Node1 -->
@@ -13,8 +13,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Gaussian elimination method">
<polygon fill="#999999" stroke="#666666" points="142.75,-85.75 0,-85.75 0,-55.25 142.75,-55.25 142.75,-85.75"/>
<text text-anchor="start" x="8" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">numerical_methods/gaussian</text>
<text text-anchor="middle" x="71.38" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_elimination.cpp</text>
<text xml:space="preserve" text-anchor="start" x="8" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">numerical_methods/gaussian</text>
<text xml:space="preserve" text-anchor="middle" x="71.38" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_elimination.cpp</text>
</a>
</g>
</g>
@@ -23,7 +23,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="98.12,-19.25 44.62,-19.25 44.62,0 98.12,0 98.12,-19.25"/>
<text text-anchor="middle" x="71.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="71.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: house_robber Namespace Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('d2/de1/namespacehouse__robber.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d2/de1/namespacehouse__robber.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -127,15 +119,23 @@ $(function(){initNavTree('d2/de1/namespacehouse__robber.html','../../'); initRes
<p>Functions for the <a href="https://labuladong.gitbook.io/algo-en/i.-dynamic-programming/houserobber" target="_blank">House Robber</a> algorithm.
<a href="#details">More...</a></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Functions for the <a href="https://labuladong.gitbook.io/algo-en/i.-dynamic-programming/houserobber" target="_blank">House Robber</a> algorithm. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d2/de1/namespacehouse__robber.html">house_robber</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.13.2 </li>
<li class="navelem"><a href="../../d2/de1/namespacehouse__robber.html">house_robber</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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: Member List</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -19,7 +19,6 @@
<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>
@@ -60,26 +59,20 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
$(function() { codefold.init(); });
</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&amp;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 -->
@@ -94,10 +87,9 @@ $(function() {
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('db/d19/structlinear__probing_1_1_entry.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('db/d19/structlinear__probing_1_1_entry.html','../../',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -131,10 +123,11 @@ $(function(){initNavTree('db/d19/structlinear__probing_1_1_entry.html','../../')
<tr class="odd"><td class="entry"><a class="el" href="../../db/d19/structlinear__probing_1_1_entry.html#a4d84e90b73022083761f85f8586c4c2a">key</a></td><td class="entry"><a class="el" href="../../db/d19/structlinear__probing_1_1_entry.html">linear_probing::Entry</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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.13.2 </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.14.0 </li>
</ul>
</div>
</body>

View File

@@ -1,11 +1,11 @@
<?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.2.1 (20241206.2353)
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
-->
<!-- Title: dynamic_programming/maximum_circular_subarray.cpp Pages: 1 -->
<svg width="189pt" height="94pt"
viewBox="0.00 0.00 188.62 93.75" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 189.00 94.00" 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">
@@ -24,8 +24,8 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="C++ program for maximum contiguous circular sum problem using Kadane&#39;s Algorithm">
<polygon fill="#999999" stroke="#666666" points="172.38,-85.75 13.88,-85.75 13.88,-55.25 172.38,-55.25 172.38,-85.75"/>
<text text-anchor="start" x="21.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/maximum_circular_subarray.cpp</text>
<text xml:space="preserve" text-anchor="start" x="21.88" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">/maximum_circular_subarray.cpp</text>
</a>
</g>
</g>
@@ -34,7 +34,7 @@
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
<text text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
</a>
</g>
</g>
@@ -52,7 +52,7 @@
<title>Node3</title>
<g id="a_Node000003"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="119.88,-19.25 66.38,-19.25 66.38,0 119.88,0 119.88,-19.25"/>
<text text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
<text xml:space="preserve" text-anchor="middle" x="93.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
</a>
</g>
</g>
@@ -70,7 +70,7 @@
<title>Node4</title>
<g id="a_Node000004"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="180.62,-19.25 137.62,-19.25 137.62,0 180.62,0 180.62,-19.25"/>
<text text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
<text xml:space="preserve" text-anchor="middle" x="159.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Some files were not shown because too many files have changed in this diff Show More