Documentation for 6376bf46af

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

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: sorting/wiggle_sort.cpp File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -119,26 +119,26 @@ Include dependency graph for wiggle_sort.cpp:</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d5/d91/namespacesorting"><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:d5/d91/namespacesorting" id="r_d5/d91/namespacesorting"><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:d0/d52/namespacewiggle__sort"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/namespacewiggle__sort.html">wiggle_sort</a></td></tr>
<tr class="memitem:d0/d52/namespacewiggle__sort" id="r_d0/d52/namespacewiggle__sort"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d52/namespacewiggle__sort.html">wiggle_sort</a></td></tr>
<tr class="memdesc:d0/d52/namespacewiggle__sort"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions for <a href="https://leetcode.com/problems/wiggle-sort-ii/" target="_blank">Wiggle Sort</a> 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>
Functions</h2></td></tr>
<tr class="memitem:a99eeded693ac073717282fae365957a1"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a99eeded693ac073717282fae365957a1" id="r_a99eeded693ac073717282fae365957a1"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a99eeded693ac073717282fae365957a1"><td class="memTemplItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; T &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d1/dcc/wiggle__sort_8cpp.html#a99eeded693ac073717282fae365957a1">sorting::wiggle_sort::wiggleSort</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; T &gt; &amp;arr)</td></tr>
<tr class="memdesc:a99eeded693ac073717282fae365957a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function used for sorting the elements in wave form. <br /></td></tr>
<tr class="separator:a99eeded693ac073717282fae365957a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga135e4c638e3bcf548bd122b5f49a3e72"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga135e4c638e3bcf548bd122b5f49a3e72" id="r_ga135e4c638e3bcf548bd122b5f49a3e72"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:ga135e4c638e3bcf548bd122b5f49a3e72"><td class="memTemplItemLeft" align="right" valign="top">static void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#ga135e4c638e3bcf548bd122b5f49a3e72">displayElements</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; T &gt; &amp;arr)</td></tr>
<tr class="memdesc:ga135e4c638e3bcf548bd122b5f49a3e72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility function used for printing the elements. Prints elements of the array after they're sorted using wiggle sort algorithm. <br /></td></tr>
<tr class="separator:ga135e4c638e3bcf548bd122b5f49a3e72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gaa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
<tr class="memitem:gaa8dca7b867074164d5f45b0f3851269d" id="r_gaa8dca7b867074164d5f45b0f3851269d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gaa8dca7b867074164d5f45b0f3851269d">test</a> ()</td></tr>
<tr class="separator:gaa8dca7b867074164d5f45b0f3851269d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memitem:gae66f6b31b5ad750f1fe042a706a4e3d4" id="r_gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d4c/group__sorting.html#gae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="separator:gae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
@@ -210,7 +210,7 @@ Here is the call graph for this function:</div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_bb1b521853a9c46347182a9d10420771.html">sorting</a></li><li class="navelem"><a class="el" href="../../d1/dcc/wiggle__sort_8cpp.html">wiggle_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.9.7 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
</ul>
</div>
</body>

View File

@@ -1,8 +1,8 @@
<map id="sorting::wiggle_sort::wiggleSort" name="sorting::wiggle_sort::wiggleSort">
<area shape="rect" id="Node000001" title="Function used for sorting the elements in wave form." alt="" coords="5,29,140,70"/>
<area shape="poly" id="edge3_Node000001_Node000001" title=" " alt="" coords="39,29,38,19,43,10,55,5,73,3,92,5,103,12,101,16,90,10,72,8,56,10,47,14,43,20,44,28"/>
<area shape="poly" id="edge3_Node000001_Node000001" title=" " alt="" coords="39,29,38,19,43,10,55,5,73,3,92,5,103,11,100,16,90,10,72,8,56,10,47,14,43,20,44,28"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="188,12,303,37"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="140,37,172,32,173,38,141,42"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="140,37,171,32,172,38,141,42"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="206,61,285,87"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="140,56,192,64,191,69,140,62"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="140,56,191,64,191,69,140,62"/>
</map>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: sorting::wiggle_sort::wiggleSort Pages: 1 -->
<svg width="231pt" height="69pt"
@@ -32,8 +32,8 @@
<g id="edge3_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge3_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M27.41,-43.36C22.72,-52.43 30.37,-60.88 50.38,-60.88 61.63,-60.88 68.97,-58.2 72.41,-54.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="75.98,-54.62 73.34,-44.36 69,-54.02 75.98,-54.62"/>
<path fill="none" stroke="#63b8ff" d="M27.41,-43.36C22.72,-52.43 30.37,-60.88 50.38,-60.88 61.31,-60.88 68.56,-58.35 72.11,-54.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="75.57,-55.19 73.18,-44.87 68.61,-54.42 75.57,-55.19"/>
</a>
</g>
</g>
@@ -50,8 +50,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M101.08,-35.03C109.07,-36.21 117.37,-37.45 125.44,-38.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.86,-42.25 135.26,-40.26 125.89,-35.33 124.86,-42.25"/>
<path fill="none" stroke="#63b8ff" d="M101.08,-35.03C108.89,-36.19 116.99,-37.39 124.89,-38.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.36,-42.03 134.76,-40.04 125.39,-35.11 124.36,-42.03"/>
</a>
</g>
</g>
@@ -68,8 +68,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M101.08,-20.61C113.84,-18.82 127.38,-16.91 139.54,-15.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.84,-18.54 149.25,-13.68 138.86,-11.61 139.84,-18.54"/>
<path fill="none" stroke="#63b8ff" d="M101.08,-20.61C113.71,-18.83 127.11,-16.94 139.17,-15.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.34,-18.75 148.75,-13.89 138.36,-11.82 139.34,-18.75"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 8.1.0 (20230707.0739)
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
-->
<!-- Title: sorting::wiggle_sort::wiggleSort Pages: 1 -->
<svg width="231pt" height="69pt"
@@ -22,8 +22,8 @@
<g id="edge3_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge3_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M27.41,-43.36C22.72,-52.43 30.37,-60.88 50.38,-60.88 61.63,-60.88 68.97,-58.2 72.41,-54.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="75.98,-54.62 73.34,-44.36 69,-54.02 75.98,-54.62"/>
<path fill="none" stroke="#63b8ff" d="M27.41,-43.36C22.72,-52.43 30.37,-60.88 50.38,-60.88 61.31,-60.88 68.56,-58.35 72.11,-54.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="75.57,-55.19 73.18,-44.87 68.61,-54.42 75.57,-55.19"/>
</a>
</g>
</g>
@@ -40,8 +40,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M101.08,-35.03C109.07,-36.21 117.37,-37.45 125.44,-38.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.86,-42.25 135.26,-40.26 125.89,-35.33 124.86,-42.25"/>
<path fill="none" stroke="#63b8ff" d="M101.08,-35.03C108.89,-36.19 116.99,-37.39 124.89,-38.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.36,-42.03 134.76,-40.04 125.39,-35.11 124.36,-42.03"/>
</a>
</g>
</g>
@@ -58,8 +58,8 @@
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M101.08,-20.61C113.84,-18.82 127.38,-16.91 139.54,-15.19"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.84,-18.54 149.25,-13.68 138.86,-11.61 139.84,-18.54"/>
<path fill="none" stroke="#63b8ff" d="M101.08,-20.61C113.71,-18.83 127.11,-16.94 139.17,-15.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.34,-18.75 148.75,-13.89 138.36,-11.82 139.34,-18.75"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB