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++: others::lru_cache::LRUCache Class 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');
@@ -115,40 +115,40 @@ Collaboration diagram for others::lru_cache::LRUCache:</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:a41c9b6f1693b8a316cc4a2d8c9149ba4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a41c9b6f1693b8a316cc4a2d8c9149ba4">LRUCache</a> (uint64_t pf)</td></tr>
<tr class="memitem:a41c9b6f1693b8a316cc4a2d8c9149ba4" id="r_a41c9b6f1693b8a316cc4a2d8c9149ba4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a41c9b6f1693b8a316cc4a2d8c9149ba4">LRUCache</a> (uint64_t pf)</td></tr>
<tr class="memdesc:a41c9b6f1693b8a316cc4a2d8c9149ba4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor, Initialize thee LRU class with page frame. <br /></td></tr>
<tr class="separator:a41c9b6f1693b8a316cc4a2d8c9149ba4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dbf04bf7e1472c48639694f0b110602"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602">refer</a> (uint64_t page)</td></tr>
<tr class="memitem:a7dbf04bf7e1472c48639694f0b110602" id="r_a7dbf04bf7e1472c48639694f0b110602"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602">refer</a> (uint64_t page)</td></tr>
<tr class="memdesc:a7dbf04bf7e1472c48639694f0b110602"><td class="mdescLeft">&#160;</td><td class="mdescRight">Refer to a page, or request a page from memory. <br /></td></tr>
<tr class="separator:a7dbf04bf7e1472c48639694f0b110602"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad506b1c1a3cd5b93cc7e497626bfb53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53">display</a> ()</td></tr>
<tr class="memitem:aad506b1c1a3cd5b93cc7e497626bfb53" id="r_aad506b1c1a3cd5b93cc7e497626bfb53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53">display</a> ()</td></tr>
<tr class="memdesc:aad506b1c1a3cd5b93cc7e497626bfb53"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function to display the current cache. <br /></td></tr>
<tr class="separator:aad506b1c1a3cd5b93cc7e497626bfb53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa24a141455b9fbcbec22392c28d04933"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933">getHits</a> () const</td></tr>
<tr class="memitem:aa24a141455b9fbcbec22392c28d04933" id="r_aa24a141455b9fbcbec22392c28d04933"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933">getHits</a> () const</td></tr>
<tr class="memdesc:aa24a141455b9fbcbec22392c28d04933"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function to get page hits. <br /></td></tr>
<tr class="separator:aa24a141455b9fbcbec22392c28d04933"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78be932dac71c90f485a67d4fda877e2"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2">getPageFault</a> () const</td></tr>
<tr class="memitem:a78be932dac71c90f485a67d4fda877e2" id="r_a78be932dac71c90f485a67d4fda877e2"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2">getPageFault</a> () const</td></tr>
<tr class="memdesc:a78be932dac71c90f485a67d4fda877e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">A function to get page fault. <br /></td></tr>
<tr class="separator:a78be932dac71c90f485a67d4fda877e2"><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>
Private Attributes</h2></td></tr>
<tr class="memitem:a1aafd0444b410e0fcb66287e9954c893"><td class="memItemLeft" align="right" valign="top"><a id="a1aafd0444b410e0fcb66287e9954c893" name="a1aafd0444b410e0fcb66287e9954c893"></a>
<tr class="memitem:a1aafd0444b410e0fcb66287e9954c893" id="r_a1aafd0444b410e0fcb66287e9954c893"><td class="memItemLeft" align="right" valign="top"><a id="a1aafd0444b410e0fcb66287e9954c893" name="a1aafd0444b410e0fcb66287e9954c893"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>pageFrame</b></td></tr>
<tr class="memdesc:a1aafd0444b410e0fcb66287e9954c893"><td class="mdescLeft">&#160;</td><td class="mdescRight">Page frame, or total size of the cache. <br /></td></tr>
<tr class="separator:a1aafd0444b410e0fcb66287e9954c893"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ee3560a6b90e6f50f6e063d690ba8e8"><td class="memItemLeft" align="right" valign="top"><a id="a3ee3560a6b90e6f50f6e063d690ba8e8" name="a3ee3560a6b90e6f50f6e063d690ba8e8"></a>
<tr class="memitem:a3ee3560a6b90e6f50f6e063d690ba8e8" id="r_a3ee3560a6b90e6f50f6e063d690ba8e8"><td class="memItemLeft" align="right" valign="top"><a id="a3ee3560a6b90e6f50f6e063d690ba8e8" name="a3ee3560a6b90e6f50f6e063d690ba8e8"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list.html">std::list</a>&lt; uint64_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>cache</b></td></tr>
<tr class="memdesc:a3ee3560a6b90e6f50f6e063d690ba8e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cache linked list (using the STL) <br /></td></tr>
<tr class="separator:a3ee3560a6b90e6f50f6e063d690ba8e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4d6db56109af196ffc7e5f72bc9907c"><td class="memItemLeft" align="right" valign="top"><a id="aa4d6db56109af196ffc7e5f72bc9907c" name="aa4d6db56109af196ffc7e5f72bc9907c"></a>
<tr class="memitem:aa4d6db56109af196ffc7e5f72bc9907c" id="r_aa4d6db56109af196ffc7e5f72bc9907c"><td class="memItemLeft" align="right" valign="top"><a id="aa4d6db56109af196ffc7e5f72bc9907c" name="aa4d6db56109af196ffc7e5f72bc9907c"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a>&lt; uint64_t, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list.html">std::list</a>&lt; uint64_t &gt;::iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>pageMap</b></td></tr>
<tr class="memdesc:aa4d6db56109af196ffc7e5f72bc9907c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hash map containing pages and their addresses. <br /></td></tr>
<tr class="separator:aa4d6db56109af196ffc7e5f72bc9907c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f33913e7ddfbb38062362e7bd859154"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">hits</a></td></tr>
<tr class="memitem:a5f33913e7ddfbb38062362e7bd859154" id="r_a5f33913e7ddfbb38062362e7bd859154"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">hits</a></td></tr>
<tr class="memdesc:a5f33913e7ddfbb38062362e7bd859154"><td class="mdescLeft">&#160;</td><td class="mdescRight">was found in cache. <br /></td></tr>
<tr class="separator:a5f33913e7ddfbb38062362e7bd859154"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09cbe562b0c396329607f5d388d57c9c"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">pageFault</a> = 0</td></tr>
<tr class="memitem:a09cbe562b0c396329607f5d388d57c9c" id="r_a09cbe562b0c396329607f5d388d57c9c"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">pageFault</a> = 0</td></tr>
<tr class="separator:a09cbe562b0c396329607f5d388d57c9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
@@ -427,7 +427,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="../../d0/d6f/namespaceothers.html">others</a></li><li class="navelem"><b>lru_cache</b></li><li class="navelem"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">LRUCache</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,21 +1,21 @@
<map id="others::lru_cache::LRUCache::refer" name="others::lru_cache::LRUCache::refer">
<area shape="rect" id="Node000001" title="Refer to a page, or request a page from memory." alt="" coords="5,211,135,252"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="215,5,316,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="75,210,89,174,111,128,142,81,181,40,200,29,202,34,184,44,146,84,116,130,94,176,80,212"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="75,210,89,174,111,128,142,81,181,40,199,29,202,34,184,44,146,84,116,130,94,176,80,212"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="214,55,317,80"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="80,209,119,150,148,117,181,89,199,80,201,85,184,94,152,121,124,153,85,212"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="80,209,119,150,148,117,181,89,198,80,201,85,184,94,152,121,124,153,85,212"/>
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/end.html#" title=" " alt="" coords="183,104,348,130"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="90,209,131,174,181,140,196,133,198,138,184,144,134,178,94,213"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/erase.html#" title=" " alt="" coords="197,154,334,195"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="134,210,182,196,184,201,136,215"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="134,210,182,196,183,201,136,215"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="213,219,318,244"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="135,229,198,229,198,234,135,234"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/find.html#" title=" " alt="" coords="197,269,334,309"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="136,248,184,262,182,267,134,253"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="136,248,183,262,182,267,134,253"/>
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/pop_back.html#" title=" " alt="" coords="201,333,330,359"/>
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="94,250,134,285,184,319,198,325,196,330,181,323,131,289,90,254"/>
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/push_front.html#" title=" " alt="" coords="199,383,332,408"/>
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="85,251,124,310,152,342,184,369,191,374,189,378,181,374,148,346,119,313,80,254"/>
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="85,251,124,310,152,342,184,369,191,373,188,378,181,374,148,346,119,313,80,254"/>
<area shape="rect" id="Node000010" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="217,432,314,458"/>
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="80,251,94,287,116,333,146,379,184,419,205,430,202,435,181,423,142,382,111,335,89,289,75,253"/>
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="80,251,94,287,116,333,146,379,184,419,204,430,201,435,181,423,142,382,111,335,89,289,75,253"/>
</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: others::lru_cache::LRUCache::refer Pages: 1 -->
<svg width="265pt" height="347pt"
@@ -41,8 +41,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="M54.28,-185.02C64.13,-214.19 89.5,-277.65 133,-311.62 137.13,-314.85 141.83,-317.5 146.75,-319.68"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.43,-323.29 156.02,-323.51 147.87,-316.74 145.43,-323.29"/>
<path fill="none" stroke="#63b8ff" d="M54.28,-185.02C64.13,-214.19 89.5,-277.65 133,-311.62 137.02,-314.77 141.59,-317.36 146.36,-319.51"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.01,-322.74 155.6,-322.98 147.47,-316.19 145.01,-322.74"/>
</a>
</g>
</g>
@@ -59,8 +59,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="M57.8,-185.32C70.77,-208.33 98.04,-251.07 133,-274.62 136.97,-277.3 141.35,-279.59 145.87,-281.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.35,-285.08 154.94,-285.29 146.79,-278.52 144.35,-285.08"/>
<path fill="none" stroke="#63b8ff" d="M57.8,-185.32C70.77,-208.33 98.04,-251.07 133,-274.62 136.86,-277.23 141.11,-279.46 145.51,-281.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="143.93,-284.52 154.52,-284.76 146.39,-277.97 143.93,-284.52"/>
</a>
</g>
</g>
@@ -77,8 +77,8 @@
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M65.14,-185.21C81.02,-200.26 106.91,-222.74 133,-236.62 136.49,-238.48 140.18,-240.19 143.96,-241.75"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="142.48,-245.31 153.08,-245.56 144.95,-238.76 142.48,-245.31"/>
<path fill="none" stroke="#63b8ff" d="M65.14,-185.21C81.02,-200.26 106.91,-222.74 133,-236.62 136.38,-238.43 139.96,-240.09 143.63,-241.61"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="142.07,-244.76 152.66,-245.02 144.54,-238.22 142.07,-244.76"/>
</a>
</g>
</g>
@@ -96,8 +96,8 @@
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M97.22,-183.82C108.79,-187.27 121.31,-190.99 133.39,-194.59"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.27,-198.21 142.86,-197.7 134.27,-191.5 132.27,-198.21"/>
<path fill="none" stroke="#63b8ff" d="M97.22,-183.82C108.67,-187.23 121.06,-190.92 133.02,-194.48"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.82,-197.77 142.4,-197.27 133.82,-191.06 131.82,-197.77"/>
</a>
</g>
</g>
@@ -114,8 +114,8 @@
<g id="edge5_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M97.22,-169.62C112.43,-169.62 129.29,-169.62 144.62,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.47,-173.13 154.47,-169.62 144.47,-166.13 144.47,-173.13"/>
<path fill="none" stroke="#63b8ff" d="M97.22,-169.62C112.28,-169.62 128.96,-169.62 144.17,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="143.95,-173.13 153.95,-169.63 143.95,-166.13 143.95,-173.13"/>
</a>
</g>
</g>
@@ -133,8 +133,8 @@
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M97.22,-155.43C108.79,-151.98 121.31,-148.26 133.39,-144.66"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.27,-147.75 142.86,-141.55 132.27,-141.04 134.27,-147.75"/>
<path fill="none" stroke="#63b8ff" d="M97.22,-155.43C108.67,-152.02 121.06,-148.33 133.02,-144.77"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="133.82,-148.19 142.4,-141.98 131.82,-141.48 133.82,-148.19"/>
</a>
</g>
</g>
@@ -151,8 +151,8 @@
<g id="edge7_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M65.14,-154.04C81.02,-138.99 106.91,-116.51 133,-102.62 136.49,-100.77 140.18,-99.06 143.96,-97.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.95,-100.49 153.08,-93.69 142.48,-93.94 144.95,-100.49"/>
<path fill="none" stroke="#63b8ff" d="M65.14,-154.04C81.02,-138.99 106.91,-116.51 133,-102.62 136.38,-100.82 139.96,-99.16 143.63,-97.64"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.54,-101.03 152.66,-94.23 142.07,-94.49 144.54,-101.03"/>
</a>
</g>
</g>
@@ -169,8 +169,8 @@
<g id="edge8_Node000001_Node000009" class="edge">
<title>Node1&#45;&gt;Node9</title>
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M57.8,-153.93C70.77,-130.92 98.04,-88.18 133,-64.62 134.75,-63.44 136.58,-62.34 138.47,-61.31"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.71,-64.12 147.28,-56.71 136.74,-57.78 139.71,-64.12"/>
<path fill="none" stroke="#63b8ff" d="M57.8,-153.93C70.77,-130.92 98.04,-88.18 133,-64.62 134.61,-63.54 136.28,-62.53 138,-61.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.36,-64.79 146.91,-57.36 136.38,-58.46 139.36,-64.79"/>
</a>
</g>
</g>
@@ -187,8 +187,8 @@
<g id="edge9_Node000001_Node000010" class="edge">
<title>Node1&#45;&gt;Node10</title>
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M54.28,-154.23C64.13,-125.06 89.5,-61.6 133,-27.62 137.62,-24.01 142.95,-21.13 148.5,-18.82"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.34,-21.88 157.61,-15.26 147.01,-15.28 149.34,-21.88"/>
<path fill="none" stroke="#63b8ff" d="M54.28,-154.23C64.13,-125.06 89.5,-61.6 133,-27.62 137.51,-24.1 142.69,-21.27 148.08,-18.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.93,-22.41 157.18,-15.76 146.59,-15.81 148.93,-22.41"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 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: others::lru_cache::LRUCache::refer Pages: 1 -->
<svg width="265pt" height="347pt"
@@ -31,8 +31,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="M54.28,-185.02C64.13,-214.19 89.5,-277.65 133,-311.62 137.13,-314.85 141.83,-317.5 146.75,-319.68"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.43,-323.29 156.02,-323.51 147.87,-316.74 145.43,-323.29"/>
<path fill="none" stroke="#63b8ff" d="M54.28,-185.02C64.13,-214.19 89.5,-277.65 133,-311.62 137.02,-314.77 141.59,-317.36 146.36,-319.51"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="145.01,-322.74 155.6,-322.98 147.47,-316.19 145.01,-322.74"/>
</a>
</g>
</g>
@@ -49,8 +49,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="M57.8,-185.32C70.77,-208.33 98.04,-251.07 133,-274.62 136.97,-277.3 141.35,-279.59 145.87,-281.54"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.35,-285.08 154.94,-285.29 146.79,-278.52 144.35,-285.08"/>
<path fill="none" stroke="#63b8ff" d="M57.8,-185.32C70.77,-208.33 98.04,-251.07 133,-274.62 136.86,-277.23 141.11,-279.46 145.51,-281.38"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="143.93,-284.52 154.52,-284.76 146.39,-277.97 143.93,-284.52"/>
</a>
</g>
</g>
@@ -67,8 +67,8 @@
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M65.14,-185.21C81.02,-200.26 106.91,-222.74 133,-236.62 136.49,-238.48 140.18,-240.19 143.96,-241.75"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="142.48,-245.31 153.08,-245.56 144.95,-238.76 142.48,-245.31"/>
<path fill="none" stroke="#63b8ff" d="M65.14,-185.21C81.02,-200.26 106.91,-222.74 133,-236.62 136.38,-238.43 139.96,-240.09 143.63,-241.61"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="142.07,-244.76 152.66,-245.02 144.54,-238.22 142.07,-244.76"/>
</a>
</g>
</g>
@@ -86,8 +86,8 @@
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M97.22,-183.82C108.79,-187.27 121.31,-190.99 133.39,-194.59"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="132.27,-198.21 142.86,-197.7 134.27,-191.5 132.27,-198.21"/>
<path fill="none" stroke="#63b8ff" d="M97.22,-183.82C108.67,-187.23 121.06,-190.92 133.02,-194.48"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.82,-197.77 142.4,-197.27 133.82,-191.06 131.82,-197.77"/>
</a>
</g>
</g>
@@ -104,8 +104,8 @@
<g id="edge5_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M97.22,-169.62C112.43,-169.62 129.29,-169.62 144.62,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.47,-173.13 154.47,-169.62 144.47,-166.13 144.47,-173.13"/>
<path fill="none" stroke="#63b8ff" d="M97.22,-169.62C112.28,-169.62 128.96,-169.62 144.17,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="143.95,-173.13 153.95,-169.63 143.95,-166.13 143.95,-173.13"/>
</a>
</g>
</g>
@@ -123,8 +123,8 @@
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M97.22,-155.43C108.79,-151.98 121.31,-148.26 133.39,-144.66"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.27,-147.75 142.86,-141.55 132.27,-141.04 134.27,-147.75"/>
<path fill="none" stroke="#63b8ff" d="M97.22,-155.43C108.67,-152.02 121.06,-148.33 133.02,-144.77"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="133.82,-148.19 142.4,-141.98 131.82,-141.48 133.82,-148.19"/>
</a>
</g>
</g>
@@ -141,8 +141,8 @@
<g id="edge7_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M65.14,-154.04C81.02,-138.99 106.91,-116.51 133,-102.62 136.49,-100.77 140.18,-99.06 143.96,-97.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.95,-100.49 153.08,-93.69 142.48,-93.94 144.95,-100.49"/>
<path fill="none" stroke="#63b8ff" d="M65.14,-154.04C81.02,-138.99 106.91,-116.51 133,-102.62 136.38,-100.82 139.96,-99.16 143.63,-97.64"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="144.54,-101.03 152.66,-94.23 142.07,-94.49 144.54,-101.03"/>
</a>
</g>
</g>
@@ -159,8 +159,8 @@
<g id="edge8_Node000001_Node000009" class="edge">
<title>Node1&#45;&gt;Node9</title>
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M57.8,-153.93C70.77,-130.92 98.04,-88.18 133,-64.62 134.75,-63.44 136.58,-62.34 138.47,-61.31"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.71,-64.12 147.28,-56.71 136.74,-57.78 139.71,-64.12"/>
<path fill="none" stroke="#63b8ff" d="M57.8,-153.93C70.77,-130.92 98.04,-88.18 133,-64.62 134.61,-63.54 136.28,-62.53 138,-61.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="139.36,-64.79 146.91,-57.36 136.38,-58.46 139.36,-64.79"/>
</a>
</g>
</g>
@@ -177,8 +177,8 @@
<g id="edge9_Node000001_Node000010" class="edge">
<title>Node1&#45;&gt;Node10</title>
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M54.28,-154.23C64.13,-125.06 89.5,-61.6 133,-27.62 137.62,-24.01 142.95,-21.13 148.5,-18.82"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="149.34,-21.88 157.61,-15.26 147.01,-15.28 149.34,-21.88"/>
<path fill="none" stroke="#63b8ff" d="M54.28,-154.23C64.13,-125.06 89.5,-61.6 133,-27.62 137.51,-24.1 142.69,-21.27 148.08,-18.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.93,-22.41 157.18,-15.76 146.59,-15.81 148.93,-22.41"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@@ -1,5 +1,5 @@
<map id="others::lru_cache::LRUCache::display" name="others::lru_cache::LRUCache::display">
<area shape="rect" id="Node000001" title="A function to display the current cache." alt="" coords="5,5,141,46"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="189,13,260,39"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="141,23,174,23,174,28,141,28"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="141,23,173,23,173,28,141,28"/>
</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: others::lru_cache::LRUCache::display Pages: 1 -->
<svg width="199pt" height="39pt"
@@ -41,8 +41,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.95,-15.25C110.11,-15.25 118.43,-15.25 126.19,-15.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="126.1,-18.75 136.1,-15.25 126.1,-11.75 126.1,-18.75"/>
<path fill="none" stroke="#63b8ff" d="M101.95,-15.25C109.92,-15.25 118.04,-15.25 125.65,-15.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="125.59,-18.75 135.59,-15.25 125.59,-11.75 125.59,-18.75"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 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: others::lru_cache::LRUCache::display Pages: 1 -->
<svg width="199pt" height="39pt"
@@ -31,8 +31,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.95,-15.25C110.11,-15.25 118.43,-15.25 126.19,-15.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="126.1,-18.75 136.1,-15.25 126.1,-11.75 126.1,-18.75"/>
<path fill="none" stroke="#63b8ff" d="M101.95,-15.25C109.92,-15.25 118.04,-15.25 125.65,-15.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="125.59,-18.75 135.59,-15.25 125.59,-11.75 125.59,-18.75"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB