Skip to content

Commit

Permalink
Added sharpening filter + documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Jul 4, 2024
1 parent 7f17d18 commit df5f0e6
Show file tree
Hide file tree
Showing 132 changed files with 4,957 additions and 3,532 deletions.
526 changes: 285 additions & 241 deletions docs/html/avl__tree_8h_source.html

Large diffs are not rendered by default.

451 changes: 248 additions & 203 deletions docs/html/bst_8h_source.html

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/html/classavl__tree-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
<tr class="even"><td class="entry"><a class="el" href="classavl__tree.html#a015ac0902d879a52fd7a8940ab36ab7a">end</a>()</td><td class="entry"><a class="el" href="classavl__tree.html">avl_tree&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classavl__tree.html#aef655e5753555d705e58d39bd094c55a">inorder</a>()</td><td class="entry"><a class="el" href="classavl__tree.html">avl_tree&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classavl__tree.html#acdeb1d0610c350618d64fdb69f50ab08">insert</a>(T key)</td><td class="entry"><a class="el" href="classavl__tree.html">avl_tree&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classavl__tree.html#ab139b35985a741d7834ef1e356c5f18f">level_order</a>()</td><td class="entry"><a class="el" href="classavl__tree.html">avl_tree&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classavl__tree.html#abe65b6fb7200651bba6f6bfe22f62b58">operator&lt;&lt;</a></td><td class="entry"><a class="el" href="classavl__tree.html">avl_tree&lt; T &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classavl__tree.html#a7170cb4310ced0ab7d002efba16fc32f">operator=</a>(const avl_tree &amp;a)</td><td class="entry"><a class="el" href="classavl__tree.html">avl_tree&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classavl__tree.html#a82a19335d79d5f6928369635278c1c24">postorder</a>()</td><td class="entry"><a class="el" href="classavl__tree.html">avl_tree&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classavl__tree.html#a8b6368356a04a58f29b1f56f835b7548">preorder</a>()</td><td class="entry"><a class="el" href="classavl__tree.html">avl_tree&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
Expand Down
41 changes: 41 additions & 0 deletions docs/html/classavl__tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classavl__tree-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">avl_tree&lt; T &gt; Class Template Reference</div></div>
</div><!--header-->
Expand Down Expand Up @@ -137,9 +138,19 @@
<tr class="memitem:a82a19335d79d5f6928369635278c1c24" id="r_a82a19335d79d5f6928369635278c1c24"><td class="memItemLeft" align="right" valign="top">std::vector&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a82a19335d79d5f6928369635278c1c24">postorder</a> ()</td></tr>
<tr class="memdesc:a82a19335d79d5f6928369635278c1c24"><td class="mdescLeft">&#160;</td><td class="mdescRight">postorder function. <br /></td></tr>
<tr class="separator:a82a19335d79d5f6928369635278c1c24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab139b35985a741d7834ef1e356c5f18f" id="r_ab139b35985a741d7834ef1e356c5f18f"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; T &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab139b35985a741d7834ef1e356c5f18f">level_order</a> ()</td></tr>
<tr class="memdesc:ab139b35985a741d7834ef1e356c5f18f"><td class="mdescLeft">&#160;</td><td class="mdescRight">level order function. <br /></td></tr>
<tr class="separator:ab139b35985a741d7834ef1e356c5f18f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a517f38f7f770647b80322fc7cd1192af" id="r_a517f38f7f770647b80322fc7cd1192af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a517f38f7f770647b80322fc7cd1192af">visualize</a> ()</td></tr>
<tr class="memdesc:a517f38f7f770647b80322fc7cd1192af"><td class="mdescLeft">&#160;</td><td class="mdescRight">visualize function <br /></td></tr>
<tr class="separator:a517f38f7f770647b80322fc7cd1192af"><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>
Friends</h2></td></tr>
<tr class="memitem:abe65b6fb7200651bba6f6bfe22f62b58" id="r_abe65b6fb7200651bba6f6bfe22f62b58"><td class="memItemLeft" align="right" valign="top"><a id="abe65b6fb7200651bba6f6bfe22f62b58" name="abe65b6fb7200651bba6f6bfe22f62b58"></a>
ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (ostream &amp;out, <a class="el" href="classavl__tree.html">avl_tree</a>&lt; T &gt; &amp;t)</td></tr>
<tr class="memdesc:abe65b6fb7200651bba6f6bfe22f62b58"><td class="mdescLeft">&#160;</td><td class="mdescRight">operator &lt;&lt; for <a class="el" href="classavl__tree.html" title="Class for AVL tree.">avl_tree</a> class <br /></td></tr>
<tr class="separator:abe65b6fb7200651bba6f6bfe22f62b58"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename T&gt;<br />
Expand Down Expand Up @@ -339,6 +350,36 @@ <h2 class="memtitle"><span class="permalink"><a href="#acdeb1d0610c350618d64fdb6
</dd>
</dl>

</div>
</div>
<a id="ab139b35985a741d7834ef1e356c5f18f" name="ab139b35985a741d7834ef1e356c5f18f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab139b35985a741d7834ef1e356c5f18f">&#9670;&#160;</a></span>level_order()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt; std::vector&lt; T &gt; &gt; <a class="el" href="classavl__tree.html">avl_tree</a>&lt; T &gt;::level_order </td>
<td>(</td>
<td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">

<p>level order function. </p>
<dl class="section return"><dt>Returns</dt><dd>vector&lt;T&gt;, the level order traversal of the tree </dd></dl>

</div>
</div>
<a id="a7170cb4310ced0ab7d002efba16fc32f" name="a7170cb4310ced0ab7d002efba16fc32f"></a>
Expand Down
2 changes: 2 additions & 0 deletions docs/html/classbst-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
<tr class="even"><td class="entry"><a class="el" href="classbst.html#aa3db0ba407a005ce61feb9c605bbb187">end</a>()</td><td class="entry"><a class="el" href="classbst.html">bst&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classbst.html#ab9d984aab9247a36c78b115484ccb623">inorder</a>()</td><td class="entry"><a class="el" href="classbst.html">bst&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classbst.html#ad7def8a09da61a43c7033365ea226d06">insert</a>(T key)</td><td class="entry"><a class="el" href="classbst.html">bst&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classbst.html#ab9768cfd3f234e31558ccc1a283a1ed4">level_order</a>()</td><td class="entry"><a class="el" href="classbst.html">bst&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classbst.html#a2366bf064084a61835ca523cd0b7ff4e">operator&lt;&lt;</a></td><td class="entry"><a class="el" href="classbst.html">bst&lt; T &gt;</a></td><td class="entry"><span class="mlabel">friend</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classbst.html#a8d1fb0829946f59b93a261ffdb8d044d">operator=</a>(const bst &amp;b)</td><td class="entry"><a class="el" href="classbst.html">bst&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classbst.html#a60575db4d925e7f08202549df73d0d9b">postorder</a>()</td><td class="entry"><a class="el" href="classbst.html">bst&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="classbst.html#a4c3359b500e074fce8d1f3eae21dfdca">preorder</a>()</td><td class="entry"><a class="el" href="classbst.html">bst&lt; T &gt;</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
Expand Down
41 changes: 41 additions & 0 deletions docs/html/classbst.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classbst-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">bst&lt; T &gt; Class Template Reference</div></div>
</div><!--header-->
Expand Down Expand Up @@ -133,9 +134,19 @@
<tr class="memitem:a60575db4d925e7f08202549df73d0d9b" id="r_a60575db4d925e7f08202549df73d0d9b"><td class="memItemLeft" align="right" valign="top">std::vector&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a60575db4d925e7f08202549df73d0d9b">postorder</a> ()</td></tr>
<tr class="memdesc:a60575db4d925e7f08202549df73d0d9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">postorder function. <br /></td></tr>
<tr class="separator:a60575db4d925e7f08202549df73d0d9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9768cfd3f234e31558ccc1a283a1ed4" id="r_ab9768cfd3f234e31558ccc1a283a1ed4"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; T &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab9768cfd3f234e31558ccc1a283a1ed4">level_order</a> ()</td></tr>
<tr class="memdesc:ab9768cfd3f234e31558ccc1a283a1ed4"><td class="mdescLeft">&#160;</td><td class="mdescRight">level order function <br /></td></tr>
<tr class="separator:ab9768cfd3f234e31558ccc1a283a1ed4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0198118bc2eb3d58607ce6acadb770a6" id="r_a0198118bc2eb3d58607ce6acadb770a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0198118bc2eb3d58607ce6acadb770a6">visualize</a> ()</td></tr>
<tr class="memdesc:a0198118bc2eb3d58607ce6acadb770a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">visualize function <br /></td></tr>
<tr class="separator:a0198118bc2eb3d58607ce6acadb770a6"><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>
Friends</h2></td></tr>
<tr class="memitem:a2366bf064084a61835ca523cd0b7ff4e" id="r_a2366bf064084a61835ca523cd0b7ff4e"><td class="memItemLeft" align="right" valign="top"><a id="a2366bf064084a61835ca523cd0b7ff4e" name="a2366bf064084a61835ca523cd0b7ff4e"></a>
ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (ostream &amp;out, <a class="el" href="classbst.html">bst</a>&lt; T &gt; &amp;t)</td></tr>
<tr class="memdesc:a2366bf064084a61835ca523cd0b7ff4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">operator &lt;&lt; for bst class <br /></td></tr>
<tr class="separator:a2366bf064084a61835ca523cd0b7ff4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename T&gt;<br />
Expand Down Expand Up @@ -335,6 +346,36 @@ <h2 class="memtitle"><span class="permalink"><a href="#ad7def8a09da61a43c7033365
</dd>
</dl>

</div>
</div>
<a id="ab9768cfd3f234e31558ccc1a283a1ed4" name="ab9768cfd3f234e31558ccc1a283a1ed4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9768cfd3f234e31558ccc1a283a1ed4">&#9670;&#160;</a></span>level_order()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::vector&lt; std::vector&lt; T &gt; &gt; <a class="el" href="classbst.html">bst</a>&lt; T &gt;::level_order </td>
<td>(</td>
<td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">

<p>level order function </p>
<dl class="section return"><dt>Returns</dt><dd>vector&lt;vector&lt;T&gt;&gt;, the level order traversal of the tree </dd></dl>

</div>
</div>
<a id="a8d1fb0829946f59b93a261ffdb8d044d" name="a8d1fb0829946f59b93a261ffdb8d044d"></a>
Expand Down
Loading

0 comments on commit df5f0e6

Please sign in to comment.