Documentation for 821d20c33a

This commit is contained in:
realstealthninja
2024-10-07 13:34:57 +00:00
parent e37aaa437e
commit 969f0dcb73
244 changed files with 6091 additions and 1978 deletions

View File

@@ -0,0 +1,197 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<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.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: others::Cache::D_Node&lt; T &gt; Class Template Reference</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="../../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>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Algorithms_in_C++<span id="projectnumber">&#160;1.0.0</span>
</div>
<div id="projectbrief">Set of algorithms implemented in C++.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- 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(1); });
/* @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',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('de/d21/classothers_1_1_cache_1_1_d___node.html','../../'); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</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="../../d5/ddb/classothers_1_1_cache_1_1_d___node-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">others::Cache::D_Node&lt; T &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="../../db/d8b/struct_node.html">Node</a> for a doubly linked list with data, prev and next pointers.
<a href="#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for others::Cache::D_Node&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/d6f/classothers_1_1_cache_1_1_d___node__coll__graph.svg" width="203" height="126"><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>
Public Member Functions</h2></td></tr>
<tr class="memitem:adf7731f7bbf68c38e7188d7fd773e83f" id="r_adf7731f7bbf68c38e7188d7fd773e83f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adf7731f7bbf68c38e7188d7fd773e83f">D_Node</a> (T <a class="el" href="#a8902e7ff872fa3c80fe6ce5f5cf5cc75">data</a>)</td></tr>
<tr class="separator:adf7731f7bbf68c38e7188d7fd773e83f"><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>
Public Attributes</h2></td></tr>
<tr class="memitem:a8902e7ff872fa3c80fe6ce5f5cf5cc75" id="r_a8902e7ff872fa3c80fe6ce5f5cf5cc75"><td class="memItemLeft" align="right" valign="top"><a id="a8902e7ff872fa3c80fe6ce5f5cf5cc75" name="a8902e7ff872fa3c80fe6ce5f5cf5cc75"></a>
T&#160;</td><td class="memItemRight" valign="bottom"><b>data</b></td></tr>
<tr class="memdesc:a8902e7ff872fa3c80fe6ce5f5cf5cc75"><td class="mdescLeft">&#160;</td><td class="mdescRight">data of the node <br /></td></tr>
<tr class="separator:a8902e7ff872fa3c80fe6ce5f5cf5cc75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c5295011209f1241fa0aac827129414" id="r_a1c5295011209f1241fa0aac827129414"><td class="memItemLeft" align="right" valign="top"><a id="a1c5295011209f1241fa0aac827129414" name="a1c5295011209f1241fa0aac827129414"></a>
<a class="el" href="../../de/d21/classothers_1_1_cache_1_1_d___node.html">D_Node</a>&lt; T &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>prev</b></td></tr>
<tr class="memdesc:a1c5295011209f1241fa0aac827129414"><td class="mdescLeft">&#160;</td><td class="mdescRight">previous node in the doubly linked list <br /></td></tr>
<tr class="separator:a1c5295011209f1241fa0aac827129414"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99420ff7864ecea51429fe61f9c6cb14" id="r_a99420ff7864ecea51429fe61f9c6cb14"><td class="memItemLeft" align="right" valign="top"><a id="a99420ff7864ecea51429fe61f9c6cb14" name="a99420ff7864ecea51429fe61f9c6cb14"></a>
<a class="el" href="../../de/d21/classothers_1_1_cache_1_1_d___node.html">D_Node</a>&lt; T &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>next</b></td></tr>
<tr class="memdesc:a99420ff7864ecea51429fe61f9c6cb14"><td class="mdescLeft">&#160;</td><td class="mdescRight">next node in the doubly linked list <br /></td></tr>
<tr class="separator:a99420ff7864ecea51429fe61f9c6cb14"><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 />
class others::Cache::D_Node&lt; T &gt;</div><p><a class="el" href="../../db/d8b/struct_node.html">Node</a> for a doubly linked list with data, prev and next pointers. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
<tr><td class="paramname">T</td><td>type of the data of the node </td></tr>
</table>
</dd>
</dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="adf7731f7bbf68c38e7188d7fd773e83f" name="adf7731f7bbf68c38e7188d7fd773e83f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf7731f7bbf68c38e7188d7fd773e83f">&#9670;&#160;</a></span>D_Node()</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"><a class="el" href="../../de/d21/classothers_1_1_cache_1_1_d___node.html">others::Cache::D_Node</a>&lt; T &gt;::D_Node </td>
<td>(</td>
<td class="paramtype">T</td> <td class="paramname"><span class="paramname"><em>data</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<div class="fragment"><div class="line"><span class="lineno"> 51</span>: <a class="code hl_variable" href="#a8902e7ff872fa3c80fe6ce5f5cf5cc75">data</a>(<a class="code hl_variable" href="#a8902e7ff872fa3c80fe6ce5f5cf5cc75">data</a>), <a class="code hl_variable" href="#a1c5295011209f1241fa0aac827129414">prev</a>(<span class="keyword">nullptr</span>), <a class="code hl_variable" href="#a99420ff7864ecea51429fe61f9c6cb14">next</a>(<span class="keyword">nullptr</span>) {}</div>
<div class="ttc" id="aclassothers_1_1_cache_1_1_d___node_html_a1c5295011209f1241fa0aac827129414"><div class="ttname"><a href="#a1c5295011209f1241fa0aac827129414">others::Cache::D_Node::prev</a></div><div class="ttdeci">D_Node&lt; T &gt; * prev</div><div class="ttdoc">previous node in the doubly linked list</div><div class="ttdef"><b>Definition</b> lfu_cache.cpp:48</div></div>
<div class="ttc" id="aclassothers_1_1_cache_1_1_d___node_html_a8902e7ff872fa3c80fe6ce5f5cf5cc75"><div class="ttname"><a href="#a8902e7ff872fa3c80fe6ce5f5cf5cc75">others::Cache::D_Node::data</a></div><div class="ttdeci">T data</div><div class="ttdoc">data of the node</div><div class="ttdef"><b>Definition</b> lfu_cache.cpp:47</div></div>
<div class="ttc" id="aclassothers_1_1_cache_1_1_d___node_html_a99420ff7864ecea51429fe61f9c6cb14"><div class="ttname"><a href="#a99420ff7864ecea51429fe61f9c6cb14">others::Cache::D_Node::next</a></div><div class="ttdeci">D_Node&lt; T &gt; * next</div><div class="ttdoc">next node in the doubly linked list</div><div class="ttdef"><b>Definition</b> lfu_cache.cpp:49</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>others/<a class="el" href="../../d9/d65/lfu__cache_8cpp.html">lfu_cache.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- 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"><a class="el" href="../../db/dde/namespaceothers_1_1_cache.html">Cache</a></li><li class="navelem"><a class="el" href="../../de/d21/classothers_1_1_cache_1_1_d___node.html">D_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.12.0 </li>
</ul>
</div>
</body>
</html>

View File

@@ -0,0 +1,6 @@
var classothers_1_1_cache_1_1_d___node =
[
[ "data", "de/d21/classothers_1_1_cache_1_1_d___node.html#a8902e7ff872fa3c80fe6ce5f5cf5cc75", null ],
[ "next", "de/d21/classothers_1_1_cache_1_1_d___node.html#a99420ff7864ecea51429fe61f9c6cb14", null ],
[ "prev", "de/d21/classothers_1_1_cache_1_1_d___node.html#a1c5295011209f1241fa0aac827129414", null ]
];

View File

@@ -0,0 +1,5 @@
<map id="others::Cache::D_Node&lt; T &gt;" name="others::Cache::D_Node&lt; T &gt;">
<area shape="rect" id="Node000001" title="Node for a doubly linked list with data, prev and next pointers." alt="" coords="5,94,197,120"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="82,5,120,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="104,47,104,94,98,94,98,47"/>
</map>

View File

@@ -0,0 +1 @@
63edbfb406bc0ef38cc4583da9998fb4

View File

@@ -0,0 +1,66 @@
<?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.1.1 (20240910.0053)
-->
<!-- Title: others::Cache::D_Node&lt; T &gt; Pages: 1 -->
<svg width="152pt" height="94pt"
viewBox="0.00 0.00 151.50 93.75" 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">
<style type="text/css"><![CDATA[
.node, .edge {opacity: 0.7;}
.node.selected, .edge.selected {opacity: 1;}
.edge:hover path { stroke: red; }
.edge:hover polygon { stroke: red; fill: red; }
]]></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)">
<title>others::Cache::D_Node&lt; T &gt;</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Node for a doubly linked list with data, prev and next pointers.">
<polygon fill="#999999" stroke="#666666" points="143.5,-19.25 0,-19.25 0,0 143.5,0 143.5,-19.25"/>
<text text-anchor="middle" x="71.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">others::Cache::D_Node&lt; T &gt;</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#bfbfbf" points="86.15,-85.75 57.35,-85.75 57.35,-66.5 86.15,-66.5 86.15,-85.75"/>
<text text-anchor="middle" x="71.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">T</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node1 -->
<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="M71.75,-54.65C71.75,-42.82 71.75,-28.54 71.75,-19.52"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="68.25,-54.64 71.75,-64.64 75.25,-54.64 68.25,-54.64"/>
</a>
</g>
<text text-anchor="middle" x="82.62" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> data</text>
</g>
</g>
</svg>
</svg>
<style type='text/css'>
<![CDATA[
[data-mouse-over-selected='false'] { opacity: 0.7; }
[data-mouse-over-selected='true'] { opacity: 1.0; }
]]>
</style>
<script type="application/ecmascript"><![CDATA[
document.addEventListener('DOMContentLoaded', (event) => {
highlightEdges();
highlightAdjacentNodes();
});
]]></script>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,40 @@
<?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.1.1 (20240910.0053)
-->
<!-- Title: others::Cache::D_Node&lt; T &gt; Pages: 1 -->
<svg width="152pt" height="94pt"
viewBox="0.00 0.00 151.50 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)">
<title>others::Cache::D_Node&lt; T &gt;</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Node for a doubly linked list with data, prev and next pointers.">
<polygon fill="#999999" stroke="#666666" points="143.5,-19.25 0,-19.25 0,0 143.5,0 143.5,-19.25"/>
<text text-anchor="middle" x="71.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">others::Cache::D_Node&lt; T &gt;</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:title=" ">
<polygon fill="white" stroke="#bfbfbf" points="86.15,-85.75 57.35,-85.75 57.35,-66.5 86.15,-66.5 86.15,-85.75"/>
<text text-anchor="middle" x="71.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">T</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node1 -->
<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="M71.75,-54.65C71.75,-42.82 71.75,-28.54 71.75,-19.52"/>
<polygon fill="#9a32cd" stroke="#9a32cd" points="68.25,-54.64 71.75,-64.64 75.25,-54.64 68.25,-54.64"/>
</a>
</g>
<text text-anchor="middle" x="82.62" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> data</text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB