Documentation for 0953376d31

This commit is contained in:
github-actions
2023-06-16 21:18:14 +00:00
parent 26f1eee566
commit 14deeecd50
7241 changed files with 234176 additions and 54779 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.6"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<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.6 -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -110,8 +110,7 @@ $(document).ready(function(){initNavTree('d6/dae/classothers_1_1lru__cache_1_1_l
<div class="dynheader">
Collaboration diagram for others::lru_cache::LRUCache:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/da6/classothers_1_1lru__cache_1_1_l_r_u_cache__coll__graph.svg" width="100%" height="376"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/da6/classothers_1_1lru__cache_1_1_l_r_u_cache__coll__graph.svg" width="100%" height="376"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></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>
@@ -187,7 +186,7 @@ uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>pageFrame</b></td
</dd>
</dl>
<div class="fragment"><div class="line"><span class="lineno"> 84</span>{ <a class="code hl_variable" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">pageFrame</a> = pf; }</div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a1aafd0444b410e0fcb66287e9954c893"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">others::lru_cache::LRUCache::pageFrame</a></div><div class="ttdeci">uint64_t pageFrame</div><div class="ttdoc">Page frame, or total size of the cache.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:68</div></div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a1aafd0444b410e0fcb66287e9954c893"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">others::lru_cache::LRUCache::pageFrame</a></div><div class="ttdeci">uint64_t pageFrame</div><div class="ttdoc">Page frame, or total size of the cache.</div><div class="ttdef"><b>Definition</b> lru_cache.cpp:68</div></div>
</div><!-- fragment -->
</div>
</div>
@@ -224,13 +223,12 @@ uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>pageFrame</b></td
<div class="line"><span class="lineno"> 124</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
<div class="line"><span class="lineno"> 125</span> }</div>
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a3ee3560a6b90e6f50f6e063d690ba8e8"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">others::lru_cache::LRUCache::cache</a></div><div class="ttdeci">std::list&lt; uint64_t &gt; cache</div><div class="ttdoc">Cache linked list (using the STL)</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:69</div></div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a3ee3560a6b90e6f50f6e063d690ba8e8"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">others::lru_cache::LRUCache::cache</a></div><div class="ttdeci">std::list&lt; uint64_t &gt; cache</div><div class="ttdoc">Cache linked list (using the STL)</div><div class="ttdef"><b>Definition</b> lru_cache.cpp:69</div></div>
<div class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache_aad506b1c1a3cd5b93cc7e497626bfb53_cgraph.svg" width="266" height="52"><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" frameborder="0" src="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache_aad506b1c1a3cd5b93cc7e497626bfb53_cgraph.svg" width="266" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -261,7 +259,7 @@ Here is the call graph for this function:</div>
<p>A function to get page hits. </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
<div class="fragment"><div class="line"><span class="lineno"> 130</span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">hits</a>; }</div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a5f33913e7ddfbb38062362e7bd859154"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">others::lru_cache::LRUCache::hits</a></div><div class="ttdeci">uint64_t hits</div><div class="ttdoc">was found in cache.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:73</div></div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a5f33913e7ddfbb38062362e7bd859154"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">others::lru_cache::LRUCache::hits</a></div><div class="ttdeci">uint64_t hits</div><div class="ttdoc">was found in cache.</div><div class="ttdef"><b>Definition</b> lru_cache.cpp:73</div></div>
</div><!-- fragment -->
</div>
</div>
@@ -291,7 +289,7 @@ Here is the call graph for this function:</div>
<p>A function to get page fault. </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
<div class="fragment"><div class="line"><span class="lineno"> 135</span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">pageFault</a>; }</div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a09cbe562b0c396329607f5d388d57c9c"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">others::lru_cache::LRUCache::pageFault</a></div><div class="ttdeci">uint64_t pageFault</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:76</div></div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a09cbe562b0c396329607f5d388d57c9c"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">others::lru_cache::LRUCache::pageFault</a></div><div class="ttdeci">uint64_t pageFault</div><div class="ttdef"><b>Definition</b> lru_cache.cpp:76</div></div>
</div><!-- fragment -->
</div>
</div>
@@ -354,7 +352,7 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 114</span> }</div>
<div class="ttc" id="aback_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/list/back.html">std::list::back</a></div><div class="ttdeci">T back(T... args)</div></div>
<div class="ttc" id="abegin_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/list/begin.html">std::list::begin</a></div><div class="ttdeci">T begin(T... args)</div></div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_aa4d6db56109af196ffc7e5f72bc9907c"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">others::lru_cache::LRUCache::pageMap</a></div><div class="ttdeci">std::unordered_map&lt; uint64_t, std::list&lt; uint64_t &gt;::iterator &gt; pageMap</div><div class="ttdoc">Hash map containing pages and their addresses.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:71</div></div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_aa4d6db56109af196ffc7e5f72bc9907c"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">others::lru_cache::LRUCache::pageMap</a></div><div class="ttdeci">std::unordered_map&lt; uint64_t, std::list&lt; uint64_t &gt;::iterator &gt; pageMap</div><div class="ttdoc">Hash map containing pages and their addresses.</div><div class="ttdef"><b>Definition</b> lru_cache.cpp:71</div></div>
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html">std::unordered_map::end</a></div><div class="ttdeci">T end(T... args)</div></div>
<div class="ttc" id="aerase_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html">std::unordered_map::erase</a></div><div class="ttdeci">T erase(T... args)</div></div>
<div class="ttc" id="afind_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html">std::unordered_map::find</a></div><div class="ttdeci">T find(T... args)</div></div>
@@ -364,8 +362,7 @@ Here is the call graph for this function:</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache_a7dbf04bf7e1472c48639694f0b110602_cgraph.svg" width="354" height="463"><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" frameborder="0" src="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache_a7dbf04bf7e1472c48639694f0b110602_cgraph.svg" width="354" height="463"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -430,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.6 </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>
</ul>
</div>
</body>

View File

@@ -1,12 +1,21 @@
<map id="others::lru_cache::LRUCache::refer" name="others::lru_cache::LRUCache::refer">
<area shape="rect" id="node1" title="Refer to a page, or request a page from memory." alt="" coords="5,211,135,252"/>
<area shape="rect" id="node2" 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="rect" id="node3" 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="rect" id="node4" 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="rect" id="node5" 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="rect" id="node6" 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="rect" id="node7" 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="rect" id="node8" 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="rect" id="node9" 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="rect" id="node10" 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="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="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="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="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="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="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"/>
</map>

View File

@@ -1 +1 @@
89e1218ffd491bd391d824983ae2ed36
771836e4216f7e4ab2c1d9428a884178

View File

@@ -6,12 +6,22 @@
<!-- Title: others::lru_cache::LRUCache::refer Pages: 1 -->
<svg width="265pt" height="347pt"
viewBox="0.00 0.00 265.00 347.25" 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" onload="init(evt)">
<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 343.25)">
<title>others::lru_cache::LRUCache::refer</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Refer to a page, or request a page from memory.">
<g id="a_Node000001"><a xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="#999999" stroke="#666666" points="97,-184.88 0,-184.88 0,-154.38 97,-154.38 97,-184.88"/>
<text text-anchor="start" x="8" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="48.5" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
@@ -19,54 +29,63 @@
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="232.62,-339.25 157.38,-339.25 157.38,-320 232.62,-320 232.62,-339.25"/>
<text text-anchor="middle" x="195" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<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"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="233.75,-302.25 156.25,-302.25 156.25,-283 233.75,-283 233.75,-302.25"/>
<text text-anchor="middle" x="195" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<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"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="257,-265.25 133,-265.25 133,-246 257,-246 257,-265.25"/>
<text text-anchor="middle" x="195" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<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"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="246.12,-227.88 143.88,-227.88 143.88,-197.38 246.12,-197.38 246.12,-227.88"/>
<text text-anchor="start" x="151.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="195" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
@@ -74,30 +93,36 @@
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<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"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="234.12,-179.25 155.88,-179.25 155.88,-160 234.12,-160 234.12,-179.25"/>
<text text-anchor="middle" x="195" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<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"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="246.12,-141.88 143.88,-141.88 143.88,-111.38 246.12,-111.38 246.12,-141.88"/>
<text text-anchor="start" x="151.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="195" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
@@ -105,55 +130,82 @@
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<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"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="243.12,-93.25 146.88,-93.25 146.88,-74 243.12,-74 243.12,-93.25"/>
<text text-anchor="middle" x="195" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<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"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="245,-56.25 145,-56.25 145,-37 245,-37 245,-56.25"/>
<text text-anchor="middle" x="195" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<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"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="231.12,-19.25 158.88,-19.25 158.88,0 231.12,0 231.12,-19.25"/>
<text text-anchor="middle" x="195" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<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"/>
</a>
</g>
</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>

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@@ -0,0 +1,186 @@
<?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.0.5 (20230430.1635)
-->
<!-- Title: others::lru_cache::LRUCache::refer Pages: 1 -->
<svg width="265pt" height="347pt"
viewBox="0.00 0.00 265.00 347.25" 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 343.25)">
<title>others::lru_cache::LRUCache::refer</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="#999999" stroke="#666666" points="97,-184.88 0,-184.88 0,-154.38 97,-154.38 97,-184.88"/>
<text text-anchor="start" x="8" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="48.5" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="232.62,-339.25 157.38,-339.25 157.38,-320 232.62,-320 232.62,-339.25"/>
<text text-anchor="middle" x="195" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<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"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="233.75,-302.25 156.25,-302.25 156.25,-283 233.75,-283 233.75,-302.25"/>
<text text-anchor="middle" x="195" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<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"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="257,-265.25 133,-265.25 133,-246 257,-246 257,-265.25"/>
<text text-anchor="middle" x="195" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<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"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="246.12,-227.88 143.88,-227.88 143.88,-197.38 246.12,-197.38 246.12,-227.88"/>
<text text-anchor="start" x="151.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="195" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<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"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="234.12,-179.25 155.88,-179.25 155.88,-160 234.12,-160 234.12,-179.25"/>
<text text-anchor="middle" x="195" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<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"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="246.12,-141.88 143.88,-141.88 143.88,-111.38 246.12,-111.38 246.12,-141.88"/>
<text text-anchor="start" x="151.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="195" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<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"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="243.12,-93.25 146.88,-93.25 146.88,-74 243.12,-74 243.12,-93.25"/>
<text text-anchor="middle" x="195" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<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"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="245,-56.25 145,-56.25 145,-37 245,-37 245,-56.25"/>
<text text-anchor="middle" x="195" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<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"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="231.12,-19.25 158.88,-19.25 158.88,0 231.12,0 231.12,-19.25"/>
<text text-anchor="middle" x="195" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node10 -->
<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"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@@ -1,4 +1,5 @@
<map id="others::lru_cache::LRUCache::display" name="others::lru_cache::LRUCache::display">
<area shape="rect" id="node1" title="A function to display the current cache." alt="" coords="5,5,141,46"/>
<area shape="rect" id="node2" 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="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"/>
</map>

View File

@@ -1 +1 @@
cafa82d33c0913e72ccb7f19c4d375b9
aacae8045e9b08b2917d2655f49834fe

View File

@@ -6,12 +6,22 @@
<!-- Title: others::lru_cache::LRUCache::display Pages: 1 -->
<svg width="199pt" height="39pt"
viewBox="0.00 0.00 199.00 38.50" 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" onload="init(evt)">
<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 34.5)">
<title>others::lru_cache::LRUCache::display</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="A function to display the current cache.">
<g id="a_Node000001"><a xlink:title="A function to display the current cache.">
<polygon fill="#999999" stroke="#666666" points="101.5,-30.5 0,-30.5 0,0 101.5,0 101.5,-30.5"/>
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="50.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::display</text>
@@ -19,19 +29,37 @@
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="191,-24.88 137.5,-24.88 137.5,-5.63 191,-5.63 191,-24.88"/>
<text text-anchor="middle" x="164.25" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<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"/>
</a>
</g>
</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>

Before

Width:  |  Height:  |  Size: 1.7 KiB

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 8.0.5 (20230430.1635)
-->
<!-- Title: others::lru_cache::LRUCache::display Pages: 1 -->
<svg width="199pt" height="39pt"
viewBox="0.00 0.00 199.00 38.50" 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 34.5)">
<title>others::lru_cache::LRUCache::display</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A function to display the current cache.">
<polygon fill="#999999" stroke="#666666" points="101.5,-30.5 0,-30.5 0,0 101.5,0 101.5,-30.5"/>
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="50.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::display</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="191,-24.88 137.5,-24.88 137.5,-5.63 191,-5.63 191,-24.88"/>
<text text-anchor="middle" x="164.25" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<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"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB