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++: data_structures::queue_using_array::Queue_Array 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('d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html','../../'); initResizable(true); });
/* @license-end */
$(function(){initNavTree('d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html','../../','d8/dba/classdata__structures_1_1queue__using__array_1_1_queue___array-members'); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -121,10 +113,6 @@ $(function(){initNavTree('d6/d04/classdata__structures_1_1queue__using__array_1_
</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="../../d8/dba/classdata__structures_1_1queue__using__array_1_1_queue___array-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">data_structures::queue_using_array::Queue_Array Class Reference</div></div>
</div><!--header-->
<div class="contents">
@@ -134,38 +122,32 @@ $(function(){initNavTree('d6/d04/classdata__structures_1_1queue__using__array_1_
<div class="dynheader">
Collaboration diagram for data_structures::queue_using_array::Queue_Array:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../db/d0f/classdata__structures_1_1queue__using__array_1_1_queue___array__coll__graph.svg" width="191" 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="../../db/d0f/classdata__structures_1_1queue__using__array_1_1_queue___array__coll__graph.svg" width="191" 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:a4dc64488c36f84d927365fa8d1933663" id="r_a4dc64488c36f84d927365fa8d1933663"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4dc64488c36f84d927365fa8d1933663">enqueue</a> (const int16_t &amp;)</td></tr>
<tr class="memdesc:a4dc64488c36f84d927365fa8d1933663"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add element to the first of the queue. <br /></td></tr>
<tr class="separator:a4dc64488c36f84d927365fa8d1933663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aaf88c9954ef3ab686f8e4bfbd87622" id="r_a2aaf88c9954ef3ab686f8e4bfbd87622"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2aaf88c9954ef3ab686f8e4bfbd87622">dequeue</a> ()</td></tr>
<tr class="memdesc:a2aaf88c9954ef3ab686f8e4bfbd87622"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete element from back of the queue. <br /></td></tr>
<tr class="separator:a2aaf88c9954ef3ab686f8e4bfbd87622"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a688b7ea064739ea9fa66bf64bf4ae631" id="r_a688b7ea064739ea9fa66bf64bf4ae631"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a688b7ea064739ea9fa66bf64bf4ae631">display</a> () const</td></tr>
<tr class="memdesc:a688b7ea064739ea9fa66bf64bf4ae631"><td class="mdescLeft">&#160;</td><td class="mdescRight">Show all saved data. <br /></td></tr>
<tr class="separator:a688b7ea064739ea9fa66bf64bf4ae631"><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:a2f676f2f249eb36dfd49711a03e9e67e" id="r_a2f676f2f249eb36dfd49711a03e9e67e"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2f676f2f249eb36dfd49711a03e9e67e">front</a> {-1}</td></tr>
<tr class="memdesc:a2f676f2f249eb36dfd49711a03e9e67e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index of head of the array. <br /></td></tr>
<tr class="separator:a2f676f2f249eb36dfd49711a03e9e67e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9883dfcceede9a42227d2d313ae86f85" id="r_a9883dfcceede9a42227d2d313ae86f85"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9883dfcceede9a42227d2d313ae86f85">rear</a> {-1}</td></tr>
<tr class="memdesc:a9883dfcceede9a42227d2d313ae86f85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index of tail of the array. <br /></td></tr>
<tr class="separator:a9883dfcceede9a42227d2d313ae86f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae69a0bf6c9921b37c516c8a4d2fb904d" id="r_ae69a0bf6c9921b37c516c8a4d2fb904d"><td class="memItemLeft" align="right" valign="top">std::array&lt; int16_t, <a class="el" href="../../d8/df0/queue__using__array_8cpp.html#a2d49e79bd164c298912db252970520d8">max_size</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae69a0bf6c9921b37c516c8a4d2fb904d">arr</a> {}</td></tr>
<tr class="memdesc:ae69a0bf6c9921b37c516c8a4d2fb904d"><td class="mdescLeft">&#160;</td><td class="mdescRight">All stored data. <br /></td></tr>
<tr class="separator:ae69a0bf6c9921b37c516c8a4d2fb904d"><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="el" href="../../d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html" title="Queue_Array class containing the main data and also index of head and tail of the array.">Queue_Array</a> class containing the main data and also index of head and tail of the array. </p>
<p class="definition">Definition at line <a class="el" href="../../d8/df0/queue__using__array_8cpp_source.html#l00044">44</a> of file <a class="el" href="../../d8/df0/queue__using__array_8cpp_source.html">queue_using_array.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="a2aaf88c9954ef3ab686f8e4bfbd87622" name="a2aaf88c9954ef3ab686f8e4bfbd87622"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aaf88c9954ef3ab686f8e4bfbd87622">&#9670;&#160;</a></span>dequeue()</h2>
@@ -275,7 +257,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="ae69a0bf6c9921b37c516c8a4d2fb904d" name="ae69a0bf6c9921b37c516c8a4d2fb904d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae69a0bf6c9921b37c516c8a4d2fb904d">&#9670;&#160;</a></span>arr</h2>
@@ -362,11 +344,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="../../d5/d3c/namespacedata__structures.html">data_structures</a></li><li class="navelem"><b>queue_using_array</b></li><li class="navelem"><a class="el" href="../../d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html">Queue_Array</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"><b>queue_using_array</b></li><li class="navelem"><a href="../../d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html">Queue_Array</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: search/longest_increasing_subsequence_using_binary_search.cpp Pages: 1 -->
<svg width="326pt" height="105pt"
viewBox="0.00 0.00 325.75 105.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 326.00 105.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,9 +24,9 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="find the length of the Longest Increasing Subsequence (LIS) using Binary Search">
<polygon fill="#999999" stroke="#666666" points="228.62,-97 89.62,-97 89.62,-55.25 228.62,-55.25 228.62,-97"/>
<text text-anchor="start" x="97.62" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">search/longest_increasing</text>
<text text-anchor="start" x="97.62" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">_subsequence_using_binary</text>
<text text-anchor="middle" x="159.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_search.cpp</text>
<text xml:space="preserve" text-anchor="start" x="97.62" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">search/longest_increasing</text>
<text xml:space="preserve" text-anchor="start" x="97.62" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">_subsequence_using_binary</text>
<text xml:space="preserve" text-anchor="middle" x="159.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_search.cpp</text>
</a>
</g>
</g>
@@ -35,7 +35,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>
@@ -53,7 +53,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>
@@ -71,7 +71,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>
@@ -89,7 +89,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="254,-19.25 198.25,-19.25 198.25,0 254,0 254,-19.25"/>
<text text-anchor="middle" x="226.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="226.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -107,7 +107,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="317.75,-19.25 272.5,-19.25 272.5,0 317.75,0 317.75,-19.25"/>
<text text-anchor="middle" x="295.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
<text xml:space="preserve" text-anchor="middle" x="295.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.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: search/longest_increasing_subsequence_using_binary_search.cpp Pages: 1 -->
<svg width="326pt" height="105pt"
viewBox="0.00 0.00 325.75 105.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
viewBox="0.00 0.00 326.00 105.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 101)">
<title>search/longest_increasing_subsequence_using_binary_search.cpp</title>
<!-- Node1 -->
@@ -13,9 +13,9 @@
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="find the length of the Longest Increasing Subsequence (LIS) using Binary Search">
<polygon fill="#999999" stroke="#666666" points="228.62,-97 89.62,-97 89.62,-55.25 228.62,-55.25 228.62,-97"/>
<text text-anchor="start" x="97.62" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">search/longest_increasing</text>
<text text-anchor="start" x="97.62" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">_subsequence_using_binary</text>
<text text-anchor="middle" x="159.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_search.cpp</text>
<text xml:space="preserve" text-anchor="start" x="97.62" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">search/longest_increasing</text>
<text xml:space="preserve" text-anchor="start" x="97.62" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">_subsequence_using_binary</text>
<text xml:space="preserve" text-anchor="middle" x="159.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_search.cpp</text>
</a>
</g>
</g>
@@ -24,7 +24,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>
@@ -42,7 +42,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>
@@ -60,7 +60,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>
@@ -78,7 +78,7 @@
<title>Node5</title>
<g id="a_Node000005"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="254,-19.25 198.25,-19.25 198.25,0 254,0 254,-19.25"/>
<text text-anchor="middle" x="226.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
<text xml:space="preserve" text-anchor="middle" x="226.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
</a>
</g>
</g>
@@ -96,7 +96,7 @@
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="317.75,-19.25 272.5,-19.25 272.5,0 317.75,0 317.75,-19.25"/>
<text text-anchor="middle" x="295.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
<text xml:space="preserve" text-anchor="middle" x="295.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB