Skip to content

Commit

Permalink
Doxygen docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Oct 21, 2024
1 parent b77f4f2 commit 4ee12a1
Show file tree
Hide file tree
Showing 1,639 changed files with 104,040 additions and 27,557 deletions.
33 changes: 21 additions & 12 deletions docs/html/234__tree_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
<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.10.0"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AlgoPlus: /Users/spirosmag/Documents/AlgoPlus/src/classes/tree/234_tree.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<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>
Expand All @@ -32,26 +34,31 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<!-- Generated by Doxygen 1.12.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(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
initMenu('',true,false,'search.php','Search',false);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
Expand Down Expand Up @@ -80,6 +87,7 @@
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_018e9aafb459e6e1a4953404cb0c0b1d.html">classes</a></li><li class="navelem"><a class="el" href="dir_24df5e2fac661b3b598a416a7e1a5129.html">tree</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="headertitle"><div class="title">234_tree.h</div></div>
</div><!--header-->
Expand Down Expand Up @@ -114,19 +122,19 @@
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00043" data-start="{" data-end="}">
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="classttf__tree.html#a0f5ec1919b33be4c98c2277bcab76a67"> 43</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classttf__tree.html#a0f5ec1919b33be4c98c2277bcab76a67">ttf_tree</a>(<span class="keyword">const</span> std::vector&lt;T&gt; &amp;elements = {}) { </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="classttf__tree.html#a0f5ec1919b33be4c98c2277bcab76a67"> 43</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classttf__tree.html#a0f5ec1919b33be4c98c2277bcab76a67">ttf_tree</a>(<span class="keyword">const</span> std::vector&lt;T&gt; &amp;elements = {}) {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordflow">if</span>(!elements.empty()){</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keywordflow">for</span>(<span class="keyword">const</span> T &amp; x: elements){</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> this-&gt;<a class="code hl_function" href="classttf__tree.html#ac7e6f658a9edd15ccf8b8c859838cda4">insert</a>(x);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> } </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> }</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> }</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> }</div>
</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classttf__tree.html#a69ff2b7fbe7bf6f87c8a55f6a47d02f2">search</a>(<span class="keyword">const</span> T &amp;key) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classttf__tree.html#ac7e6f658a9edd15ccf8b8c859838cda4">insert</a>(<span class="keyword">const</span> T &amp;key);</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> std::vector&lt;std::vector&lt;std::vector&lt;T&gt; &gt; &gt; <a class="code hl_function" href="classttf__tree.html#ae9f816d0c9bc69b48eb927ce5a2525d6">level_order</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="foldopen" id="foldopen00074" data-start="{" data-end="};">
Expand Down Expand Up @@ -155,9 +163,9 @@
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00095" data-start="{" data-end="}">
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="classttf__tree.html#ac7e6f658a9edd15ccf8b8c859838cda4"> 95</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="classttf__tree.html#ac7e6f658a9edd15ccf8b8c859838cda4">ttf_tree&lt;T&gt;::insert</a>(<span class="keyword">const</span> T &amp;key) {</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> std::vector&lt;std::shared_ptr&lt;node&gt; &gt; null_children(4, <span class="keyword">nullptr</span>); </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> std::vector&lt;std::shared_ptr&lt;node&gt; &gt; null_children(4, <span class="keyword">nullptr</span>);</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordflow">if</span>(root == <span class="keyword">nullptr</span>){</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> std::vector&lt;int&gt; keys = {key}; </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> std::vector&lt;int&gt; keys = {key};</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> root = std::make_shared&lt;node&gt;(keys, null_children, 2);</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> root-&gt;index = 0;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> parent[root] = <span class="keyword">nullptr</span>;</div>
Expand Down Expand Up @@ -343,7 +351,8 @@
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
Loading

0 comments on commit 4ee12a1

Please sign in to comment.