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.cpp File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.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');
@@ -114,8 +114,7 @@ $(document).ready(function(){initNavTree('d3/db3/lru__cache_8cpp.html','../../')
</div><div class="textblock"><div class="dynheader">
Include dependency graph for lru_cache.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d1/d6d/lru__cache_8cpp__incl.svg" width="368" height="111"><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="../../d1/d6d/lru__cache_8cpp__incl.svg" width="368" height="111"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
@@ -223,8 +222,7 @@ template&lt;typename T &gt; </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="../../d3/db3/lru__cache_8cpp_a24d21a345ed06f7fba6919718cf3e058_cgraph.svg" width="227" height="36"><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="../../d3/db3/lru__cache_8cpp_a24d21a345ed06f7fba6919718cf3e058_cgraph.svg" width="227" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -265,13 +263,12 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 266</span> &lt;&lt; <span class="stringliteral">&quot; Miss: &quot;</span> &lt;&lt; cache.getPageFault() &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"> 267</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><span class="lineno"> 268</span>}</div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></div><div class="ttdoc">LRU cache class.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:67</div></div>
<div class="ttc" id="alru__cache_8cpp_html_a6a3be6d8871b1f5dc03688da8f3ee9e6"><div class="ttname"><a href="../../d3/db3/lru__cache_8cpp.html#a6a3be6d8871b1f5dc03688da8f3ee9e6">lru_tests::run_tests</a></div><div class="ttdeci">static void run_tests()</div><div class="ttdoc">A function to invoke all test cases.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:238</div></div>
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></div><div class="ttdoc">LRU cache class.</div><div class="ttdef"><b>Definition</b> lru_cache.cpp:67</div></div>
<div class="ttc" id="alru__cache_8cpp_html_a6a3be6d8871b1f5dc03688da8f3ee9e6"><div class="ttname"><a href="../../d3/db3/lru__cache_8cpp.html#a6a3be6d8871b1f5dc03688da8f3ee9e6">lru_tests::run_tests</a></div><div class="ttdeci">static void run_tests()</div><div class="ttdoc">A function to invoke all test cases.</div><div class="ttdef"><b>Definition</b> lru_cache.cpp:238</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="../../d3/db3/lru__cache_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="494" height="520"><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="../../d3/db3/lru__cache_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="494" height="520"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -308,15 +305,14 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 242</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><span class="lineno"> 243</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">&quot;TESTS COMPLETED!&quot;</span>);</div>
<div class="line"><span class="lineno"> 244</span>}</div>
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a34b8683a2b429de5cce57e6d733ec817"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a></div><div class="ttdeci">static void test_1()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:505</div></div>
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a458410412185a5f09199deaff7157a8d"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a></div><div class="ttdeci">static void test_2()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:549</div></div>
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_af31ec5409537703d9c8a47350386b32a"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a></div><div class="ttdeci">static void test_3()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:592</div></div>
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a34b8683a2b429de5cce57e6d733ec817"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a></div><div class="ttdeci">static void test_1()</div><div class="ttdef"><b>Definition</b> heavy_light_decomposition.cpp:505</div></div>
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a458410412185a5f09199deaff7157a8d"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a></div><div class="ttdeci">static void test_2()</div><div class="ttdef"><b>Definition</b> heavy_light_decomposition.cpp:549</div></div>
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_af31ec5409537703d9c8a47350386b32a"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a></div><div class="ttdeci">static void test_3()</div><div class="ttdef"><b>Definition</b> heavy_light_decomposition.cpp:592</div></div>
<div class="ttc" id="alog_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/math/log.html">std::log</a></div><div class="ttdeci">T log(T... args)</div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d3/db3/lru__cache_8cpp_a6a3be6d8871b1f5dc03688da8f3ee9e6_cgraph.svg" width="100%" height="600"><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="../../d3/db3/lru__cache_8cpp_a6a3be6d8871b1f5dc03688da8f3ee9e6_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
</div>
@@ -369,8 +365,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="../../d3/db3/lru__cache_8cpp_a6401e8f2d41d8cc9cd0e52ab381608d4_cgraph.svg" width="559" 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="../../d3/db3/lru__cache_8cpp_a6401e8f2d41d8cc9cd0e52ab381608d4_cgraph.svg" width="559" 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>
@@ -423,8 +418,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="../../d3/db3/lru__cache_8cpp_a4b02e288a407876a8d6024f98a2a25ec_cgraph.svg" width="559" 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="../../d3/db3/lru__cache_8cpp_a4b02e288a407876a8d6024f98a2a25ec_cgraph.svg" width="559" 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>
@@ -477,8 +471,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="../../d3/db3/lru__cache_8cpp_a01ec21fc91ddafd964ae2035ba7892c0_cgraph.svg" width="559" 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="../../d3/db3/lru__cache_8cpp_a01ec21fc91ddafd964ae2035ba7892c0_cgraph.svg" width="559" 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>
@@ -489,7 +482,7 @@ Here is the call graph for this function:</div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_9510827d0b234b3cc54b29892f217477.html">others</a></li><li class="navelem"><a class="el" href="../../d3/db3/lru__cache_8cpp.html">lru_cache.cpp</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.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,15 +1,28 @@
<map id="lru_tests::test_3" name="lru_tests::test_3">
<area shape="rect" id="node1" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="5,153,121,179"/>
<area shape="rect" id="node2" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="186,81,323,121"/>
<area shape="rect" id="node3" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,146,340,187"/>
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,211,319,252"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="421,5,521,31"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="419,55,522,80"/>
<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/end.html#" title=" " alt="" coords="388,104,553,130"/>
<area shape="rect" id="node8" 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="403,154,539,195"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="419,219,523,244"/>
<area shape="rect" id="node10" 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="403,269,539,309"/>
<area shape="rect" id="node11" 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="407,333,535,359"/>
<area shape="rect" id="node12" 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="404,383,537,408"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="423,432,519,458"/>
<area shape="rect" id="Node000001" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="5,153,121,179"/>
<area shape="poly" id="edge13_Node000001_Node000001" title=" " alt="" coords="31,154,25,145,28,135,42,129,63,127,88,130,99,137,96,142,86,135,63,132,43,134,32,139,30,144,35,151"/>
<area shape="rect" id="Node000002" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="186,81,323,121"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="102,150,178,124,180,129,104,155"/>
<area shape="rect" id="Node000003" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,146,340,187"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="121,164,154,164,154,169,121,169"/>
<area shape="rect" id="Node000004" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,211,319,252"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="104,177,180,203,178,208,102,182"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="421,5,521,31"/>
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="318,212,338,196,352,177,358,158,360,119,363,80,371,60,386,40,405,27,408,32,390,44,375,63,368,81,366,119,364,159,356,179,342,200,321,216"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="419,55,522,80"/>
<area shape="poly" id="edge5_Node000004_Node000006" title=" " alt="" coords="318,211,338,196,349,183,355,170,361,144,367,117,374,103,386,89,404,78,407,83,390,94,378,106,372,118,366,145,360,172,353,186,342,200,321,215"/>
<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/end.html#" title=" " alt="" coords="388,104,553,130"/>
<area shape="poly" id="edge6_Node000004_Node000007" title=" " alt="" coords="317,208,338,196,353,182,361,168,371,154,386,140,397,134,400,138,390,144,375,158,366,171,357,186,342,200,320,213"/>
<area shape="rect" id="Node000008" 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="403,154,539,195"/>
<area shape="poly" id="edge7_Node000004_Node000008" title=" " alt="" coords="319,212,387,193,389,199,320,217"/>
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="419,219,523,244"/>
<area shape="poly" id="edge8_Node000004_Node000009" title=" " alt="" coords="319,229,403,229,403,234,319,234"/>
<area shape="rect" id="Node000010" 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="403,269,539,309"/>
<area shape="poly" id="edge9_Node000004_Node000010" title=" " alt="" coords="320,246,389,264,387,270,319,251"/>
<area shape="rect" id="Node000011" 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="407,333,535,359"/>
<area shape="poly" id="edge10_Node000004_Node000011" title=" " alt="" coords="283,250,331,285,389,318,406,326,404,330,387,323,328,289,280,255"/>
<area shape="rect" id="Node000012" 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="404,383,537,408"/>
<area shape="poly" id="edge11_Node000004_Node000012" title=" " alt="" coords="272,251,320,310,353,342,389,369,398,374,395,379,387,374,349,346,316,313,268,254"/>
<area shape="rect" id="Node000013" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="423,432,519,458"/>
<area shape="poly" id="edge12_Node000004_Node000013" title=" " alt="" coords="267,251,285,287,311,333,347,379,390,419,410,430,407,434,386,423,343,383,307,336,280,290,262,253"/>
</map>

View File

@@ -1 +1 @@
fa6af4d31c496b0646d7f4fc366a0d3f
eb15a44a0d043cdd07e22bcd260c4c10

View File

@@ -6,27 +6,40 @@
<!-- Title: lru_tests::test_3 Pages: 1 -->
<svg width="419pt" height="347pt"
viewBox="0.00 0.00 419.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>lru_tests::test_3</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<g id="a_Node000001"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="#999999" stroke="#666666" points="86.5,-228.25 0,-228.25 0,-209 86.5,-209 86.5,-228.25"/>
<text text-anchor="middle" x="43.25" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_3</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge13" class="edge">
<g id="edge13_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge13_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.78,-228.54C10.54,-237.15 18.03,-246.25 43.25,-246.25 58.23,-246.25 66.95,-243.04 69.42,-238.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.45,-237.72 65.72,-229.54 65.88,-240.13 72.45,-237.72"/>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<g id="a_Node000002"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="237.88,-282.88 135.62,-282.88 135.62,-252.38 237.88,-252.38 237.88,-282.88"/>
<text text-anchor="start" x="143.62" y="-269.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-258.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
@@ -34,15 +47,18 @@
</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="M73.23,-228.66C89.61,-234.33 110.64,-241.62 130.08,-248.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="128.78,-251.95 139.37,-251.91 131.07,-245.33 128.78,-251.95"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<g id="a_Node000003"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="251,-233.88 122.5,-233.88 122.5,-203.38 251,-203.38 251,-233.88"/>
<text text-anchor="start" x="130.5" y="-220.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-209.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
@@ -50,15 +66,18 @@
</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="M86.7,-218.62C94.55,-218.62 102.94,-218.62 111.41,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="111.13,-222.13 121.13,-218.62 111.13,-215.13 111.13,-222.13"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="235.25,-184.88 138.25,-184.88 138.25,-154.38 235.25,-154.38 235.25,-184.88"/>
<text text-anchor="start" x="146.25" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
@@ -66,60 +85,72 @@
</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="M73.23,-208.59C89.61,-202.92 110.64,-195.63 130.08,-188.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.07,-191.92 139.37,-185.34 128.78,-185.3 131.07,-191.92"/>
</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/list/back.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="386.62,-339.25 311.38,-339.25 311.38,-320 386.62,-320 386.62,-339.25"/>
<text text-anchor="middle" x="349" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.66,-183.01C241.35,-186.13 246.67,-189.94 251,-194.62 287.94,-234.56 248.31,-273.38 287,-311.62 290.97,-315.55 295.76,-318.63 300.87,-321.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="299.42,-324.61 310.01,-324.9 301.91,-318.07 299.42,-324.61"/>
</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/begin.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="387.75,-302.25 310.25,-302.25 310.25,-283 387.75,-283 387.75,-302.25"/>
<text text-anchor="middle" x="349" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<g id="edge5_Node000004_Node000006" class="edge">
<title>Node4&#45;&gt;Node6</title>
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.45,-183.7C241.11,-186.7 246.47,-190.3 251,-194.62 279.2,-221.55 257.62,-248.99 287,-274.62 290.85,-277.99 295.31,-280.72 300.02,-282.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.36,-286.45 308.95,-286.83 300.91,-279.93 298.36,-286.45"/>
</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/end.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="411,-265.25 287,-265.25 287,-246 411,-246 411,-265.25"/>
<text text-anchor="middle" x="349" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<g id="edge6_Node000004_Node000007" class="edge">
<title>Node4&#45;&gt;Node7</title>
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.04,-185.32C240.64,-188.03 246.1,-191.13 251,-194.62 271.02,-208.9 266.46,-223.11 287,-236.62 289.56,-238.31 292.28,-239.86 295.1,-241.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="293.37,-244.77 303.94,-245.58 296.18,-238.36 293.37,-244.77"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-227.88 297.88,-227.88 297.88,-197.38 400.12,-197.38 400.12,-227.88"/>
<text text-anchor="start" x="305.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
@@ -127,30 +158,36 @@
</g>
</g>
<!-- Node4&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<g id="edge7_Node000004_Node000008" class="edge">
<title>Node4&#45;&gt;Node8</title>
<g id="a_edge7_Node000004_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-182.41C251.59,-186.76 269.92,-191.67 287.02,-196.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.91,-199.86 296.47,-199.07 287.72,-193.09 285.91,-199.86"/>
</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/erase.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.12,-179.25 309.88,-179.25 309.88,-160 388.12,-160 388.12,-179.25"/>
<text text-anchor="middle" x="349" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<g id="edge8_Node000004_Node000009" class="edge">
<title>Node4&#45;&gt;Node9</title>
<g id="a_edge8_Node000004_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-169.62C255.32,-169.62 278.48,-169.62 298.59,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.41,-173.13 308.41,-169.62 298.41,-166.13 298.41,-173.13"/>
</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/unordered_map/find.html#" xlink:title=" ">
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-141.88 297.88,-141.88 297.88,-111.38 400.12,-111.38 400.12,-141.88"/>
<text text-anchor="start" x="305.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
@@ -158,55 +195,82 @@
</g>
</g>
<!-- Node4&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<g id="edge9_Node000004_Node000010" class="edge">
<title>Node4&#45;&gt;Node10</title>
<g id="a_edge9_Node000004_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-156.84C251.59,-152.49 269.92,-147.58 287.02,-142.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="287.72,-146.16 296.47,-140.18 285.91,-139.39 287.72,-146.16"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="397.12,-93.25 300.88,-93.25 300.88,-74 397.12,-74 397.12,-93.25"/>
<text text-anchor="middle" x="349" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<g id="edge10_Node000004_Node000011" class="edge">
<title>Node4&#45;&gt;Node11</title>
<g id="a_edge10_Node000004_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M207.23,-153.94C226.53,-139.04 257.39,-116.85 287,-102.62 290.99,-100.71 295.22,-98.92 299.52,-97.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.34,-100.35 308.6,-93.71 298,-93.75 300.34,-100.35"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="399,-56.25 299,-56.25 299,-37 399,-37 399,-56.25"/>
<text text-anchor="middle" x="349" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node12 -->
<g id="edge11" class="edge">
<g id="edge11_Node000004_Node000012" class="edge">
<title>Node4&#45;&gt;Node12</title>
<g id="a_edge11_Node000004_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M198.35,-153.98C214.71,-131.02 248.3,-88.37 287,-64.62 289.06,-63.36 291.22,-62.18 293.45,-61.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.7,-63.91 302.49,-56.74 291.92,-57.49 294.7,-63.91"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="385.12,-19.25 312.88,-19.25 312.88,0 385.12,0 385.12,-19.25"/>
<text text-anchor="middle" x="349" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node13 -->
<g id="edge12" class="edge">
<g id="edge12_Node000004_Node000013" class="edge">
<title>Node4&#45;&gt;Node13</title>
<g id="a_edge12_Node000004_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M194.26,-154.22C207.4,-125.02 239.89,-61.54 287,-27.62 291.7,-24.24 297.05,-21.48 302.56,-19.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.3,-22.35 311.59,-15.75 300.99,-15.74 303.3,-22.35"/>
</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: 11 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,251 @@
<?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: lru_tests::test_3 Pages: 1 -->
<svg width="419pt" height="347pt"
viewBox="0.00 0.00 419.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>lru_tests::test_3</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="#999999" stroke="#666666" points="86.5,-228.25 0,-228.25 0,-209 86.5,-209 86.5,-228.25"/>
<text text-anchor="middle" x="43.25" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_3</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge13_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge13_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.78,-228.54C10.54,-237.15 18.03,-246.25 43.25,-246.25 58.23,-246.25 66.95,-243.04 69.42,-238.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.45,-237.72 65.72,-229.54 65.88,-240.13 72.45,-237.72"/>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="237.88,-282.88 135.62,-282.88 135.62,-252.38 237.88,-252.38 237.88,-282.88"/>
<text text-anchor="start" x="143.62" y="-269.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-258.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</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="M73.23,-228.66C89.61,-234.33 110.64,-241.62 130.08,-248.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="128.78,-251.95 139.37,-251.91 131.07,-245.33 128.78,-251.95"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="251,-233.88 122.5,-233.88 122.5,-203.38 251,-203.38 251,-233.88"/>
<text text-anchor="start" x="130.5" y="-220.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-209.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</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="M86.7,-218.62C94.55,-218.62 102.94,-218.62 111.41,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="111.13,-222.13 121.13,-218.62 111.13,-215.13 111.13,-222.13"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="235.25,-184.88 138.25,-184.88 138.25,-154.38 235.25,-154.38 235.25,-184.88"/>
<text text-anchor="start" x="146.25" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</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="M73.23,-208.59C89.61,-202.92 110.64,-195.63 130.08,-188.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.07,-191.92 139.37,-185.34 128.78,-185.3 131.07,-191.92"/>
</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/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="386.62,-339.25 311.38,-339.25 311.38,-320 386.62,-320 386.62,-339.25"/>
<text text-anchor="middle" x="349" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.66,-183.01C241.35,-186.13 246.67,-189.94 251,-194.62 287.94,-234.56 248.31,-273.38 287,-311.62 290.97,-315.55 295.76,-318.63 300.87,-321.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="299.42,-324.61 310.01,-324.9 301.91,-318.07 299.42,-324.61"/>
</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/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="387.75,-302.25 310.25,-302.25 310.25,-283 387.75,-283 387.75,-302.25"/>
<text text-anchor="middle" x="349" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node6 -->
<g id="edge5_Node000004_Node000006" class="edge">
<title>Node4&#45;&gt;Node6</title>
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.45,-183.7C241.11,-186.7 246.47,-190.3 251,-194.62 279.2,-221.55 257.62,-248.99 287,-274.62 290.85,-277.99 295.31,-280.72 300.02,-282.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.36,-286.45 308.95,-286.83 300.91,-279.93 298.36,-286.45"/>
</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/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="411,-265.25 287,-265.25 287,-246 411,-246 411,-265.25"/>
<text text-anchor="middle" x="349" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node7 -->
<g id="edge6_Node000004_Node000007" class="edge">
<title>Node4&#45;&gt;Node7</title>
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.04,-185.32C240.64,-188.03 246.1,-191.13 251,-194.62 271.02,-208.9 266.46,-223.11 287,-236.62 289.56,-238.31 292.28,-239.86 295.1,-241.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="293.37,-244.77 303.94,-245.58 296.18,-238.36 293.37,-244.77"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-227.88 297.88,-227.88 297.88,-197.38 400.12,-197.38 400.12,-227.88"/>
<text text-anchor="start" x="305.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node8 -->
<g id="edge7_Node000004_Node000008" class="edge">
<title>Node4&#45;&gt;Node8</title>
<g id="a_edge7_Node000004_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-182.41C251.59,-186.76 269.92,-191.67 287.02,-196.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.91,-199.86 296.47,-199.07 287.72,-193.09 285.91,-199.86"/>
</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/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.12,-179.25 309.88,-179.25 309.88,-160 388.12,-160 388.12,-179.25"/>
<text text-anchor="middle" x="349" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node9 -->
<g id="edge8_Node000004_Node000009" class="edge">
<title>Node4&#45;&gt;Node9</title>
<g id="a_edge8_Node000004_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-169.62C255.32,-169.62 278.48,-169.62 298.59,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.41,-173.13 308.41,-169.62 298.41,-166.13 298.41,-173.13"/>
</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/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-141.88 297.88,-141.88 297.88,-111.38 400.12,-111.38 400.12,-141.88"/>
<text text-anchor="start" x="305.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node10 -->
<g id="edge9_Node000004_Node000010" class="edge">
<title>Node4&#45;&gt;Node10</title>
<g id="a_edge9_Node000004_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-156.84C251.59,-152.49 269.92,-147.58 287.02,-142.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="287.72,-146.16 296.47,-140.18 285.91,-139.39 287.72,-146.16"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="397.12,-93.25 300.88,-93.25 300.88,-74 397.12,-74 397.12,-93.25"/>
<text text-anchor="middle" x="349" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node11 -->
<g id="edge10_Node000004_Node000011" class="edge">
<title>Node4&#45;&gt;Node11</title>
<g id="a_edge10_Node000004_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M207.23,-153.94C226.53,-139.04 257.39,-116.85 287,-102.62 290.99,-100.71 295.22,-98.92 299.52,-97.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.34,-100.35 308.6,-93.71 298,-93.75 300.34,-100.35"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="399,-56.25 299,-56.25 299,-37 399,-37 399,-56.25"/>
<text text-anchor="middle" x="349" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node12 -->
<g id="edge11_Node000004_Node000012" class="edge">
<title>Node4&#45;&gt;Node12</title>
<g id="a_edge11_Node000004_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M198.35,-153.98C214.71,-131.02 248.3,-88.37 287,-64.62 289.06,-63.36 291.22,-62.18 293.45,-61.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.7,-63.91 302.49,-56.74 291.92,-57.49 294.7,-63.91"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="385.12,-19.25 312.88,-19.25 312.88,0 385.12,0 385.12,-19.25"/>
<text text-anchor="middle" x="349" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node13 -->
<g id="edge12_Node000004_Node000013" class="edge">
<title>Node4&#45;&gt;Node13</title>
<g id="a_edge12_Node000004_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M194.26,-154.22C207.4,-125.02 239.89,-61.54 287,-27.62 291.7,-24.24 297.05,-21.48 302.56,-19.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.3,-22.35 311.59,-15.75 300.99,-15.74 303.3,-22.35"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,4 +1,5 @@
<map id="lru_tests::log" name="lru_tests::log">
<area shape="rect" id="node1" title="A function to print given message on console." alt="" coords="5,5,102,31"/>
<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="150,5,221,31"/>
<area shape="rect" id="Node000001" title="A function to print given message on console." alt="" coords="5,5,102,31"/>
<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="150,5,221,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="102,16,135,16,135,21,102,21"/>
</map>

View File

@@ -1 +1 @@
0c9edb8d12f9f19ed1de5433e350e88a
eadd85c01f2fe8faa30c9106ea5fecdd

View File

@@ -6,31 +6,59 @@
<!-- Title: lru_tests::log Pages: 1 -->
<svg width="170pt" height="27pt"
viewBox="0.00 0.00 169.75 27.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 23.25)">
<title>lru_tests::log</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 print given message on console.">
<g id="a_Node000001"><a xlink:title="A function to print given message on console.">
<polygon fill="#999999" stroke="#666666" points="72.25,-19.25 0,-19.25 0,0 72.25,0 72.25,-19.25"/>
<text text-anchor="middle" x="36.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::log</text>
</a>
</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="161.75,-19.25 108.25,-19.25 108.25,0 161.75,0 161.75,-19.25"/>
<text text-anchor="middle" x="135" y="-5.75" 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="M72.65,-9.62C80.58,-9.62 89,-9.62 96.99,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="96.89,-13.13 106.89,-9.62 96.89,-6.13 96.89,-13.13"/>
</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.6 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,39 @@
<?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: lru_tests::log Pages: 1 -->
<svg width="170pt" height="27pt"
viewBox="0.00 0.00 169.75 27.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 23.25)">
<title>lru_tests::log</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A function to print given message on console.">
<polygon fill="#999999" stroke="#666666" points="72.25,-19.25 0,-19.25 0,0 72.25,0 72.25,-19.25"/>
<text text-anchor="middle" x="36.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::log</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="161.75,-19.25 108.25,-19.25 108.25,0 161.75,0 161.75,-19.25"/>
<text text-anchor="middle" x="135" y="-5.75" 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="M72.65,-9.62C80.58,-9.62 89,-9.62 96.99,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="96.89,-13.13 106.89,-9.62 96.89,-6.13 96.89,-13.13"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -1,15 +1,28 @@
<map id="lru_tests::test_2" name="lru_tests::test_2">
<area shape="rect" id="node1" title="A test case contains hits more than cache size The assert statement will check expected hist and miss..." alt="" coords="5,153,121,179"/>
<area shape="rect" id="node2" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="186,81,323,121"/>
<area shape="rect" id="node3" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,146,340,187"/>
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,211,319,252"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="421,5,521,31"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="419,55,522,80"/>
<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/end.html#" title=" " alt="" coords="388,104,553,130"/>
<area shape="rect" id="node8" 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="403,154,539,195"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="419,219,523,244"/>
<area shape="rect" id="node10" 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="403,269,539,309"/>
<area shape="rect" id="node11" 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="407,333,535,359"/>
<area shape="rect" id="node12" 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="404,383,537,408"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="423,432,519,458"/>
<area shape="rect" id="Node000001" title="A test case contains hits more than cache size The assert statement will check expected hist and miss..." alt="" coords="5,153,121,179"/>
<area shape="poly" id="edge13_Node000001_Node000001" title=" " alt="" coords="31,154,25,145,28,135,42,129,63,127,88,130,99,137,96,142,86,135,63,132,43,134,32,139,30,144,35,151"/>
<area shape="rect" id="Node000002" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="186,81,323,121"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="102,150,178,124,180,129,104,155"/>
<area shape="rect" id="Node000003" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,146,340,187"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="121,164,154,164,154,169,121,169"/>
<area shape="rect" id="Node000004" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,211,319,252"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="104,177,180,203,178,208,102,182"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="421,5,521,31"/>
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="318,212,338,196,352,177,358,158,360,119,363,80,371,60,386,40,405,27,408,32,390,44,375,63,368,81,366,119,364,159,356,179,342,200,321,216"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="419,55,522,80"/>
<area shape="poly" id="edge5_Node000004_Node000006" title=" " alt="" coords="318,211,338,196,349,183,355,170,361,144,367,117,374,103,386,89,404,78,407,83,390,94,378,106,372,118,366,145,360,172,353,186,342,200,321,215"/>
<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/end.html#" title=" " alt="" coords="388,104,553,130"/>
<area shape="poly" id="edge6_Node000004_Node000007" title=" " alt="" coords="317,208,338,196,353,182,361,168,371,154,386,140,397,134,400,138,390,144,375,158,366,171,357,186,342,200,320,213"/>
<area shape="rect" id="Node000008" 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="403,154,539,195"/>
<area shape="poly" id="edge7_Node000004_Node000008" title=" " alt="" coords="319,212,387,193,389,199,320,217"/>
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="419,219,523,244"/>
<area shape="poly" id="edge8_Node000004_Node000009" title=" " alt="" coords="319,229,403,229,403,234,319,234"/>
<area shape="rect" id="Node000010" 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="403,269,539,309"/>
<area shape="poly" id="edge9_Node000004_Node000010" title=" " alt="" coords="320,246,389,264,387,270,319,251"/>
<area shape="rect" id="Node000011" 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="407,333,535,359"/>
<area shape="poly" id="edge10_Node000004_Node000011" title=" " alt="" coords="283,250,331,285,389,318,406,326,404,330,387,323,328,289,280,255"/>
<area shape="rect" id="Node000012" 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="404,383,537,408"/>
<area shape="poly" id="edge11_Node000004_Node000012" title=" " alt="" coords="272,251,320,310,353,342,389,369,398,374,395,379,387,374,349,346,316,313,268,254"/>
<area shape="rect" id="Node000013" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="423,432,519,458"/>
<area shape="poly" id="edge12_Node000004_Node000013" title=" " alt="" coords="267,251,285,287,311,333,347,379,390,419,410,430,407,434,386,423,343,383,307,336,280,290,262,253"/>
</map>

View File

@@ -1 +1 @@
8c39d4c581038a9905d944ed8328cd0a
13ef1e24027fba3e94f0e0d1e2d63dba

View File

@@ -6,27 +6,40 @@
<!-- Title: lru_tests::test_2 Pages: 1 -->
<svg width="419pt" height="347pt"
viewBox="0.00 0.00 419.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>lru_tests::test_2</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
<g id="a_Node000001"><a xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
<polygon fill="#999999" stroke="#666666" points="86.5,-228.25 0,-228.25 0,-209 86.5,-209 86.5,-228.25"/>
<text text-anchor="middle" x="43.25" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_2</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge13" class="edge">
<g id="edge13_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge13_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.78,-228.54C10.54,-237.15 18.03,-246.25 43.25,-246.25 58.23,-246.25 66.95,-243.04 69.42,-238.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.45,-237.72 65.72,-229.54 65.88,-240.13 72.45,-237.72"/>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<g id="a_Node000002"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="237.88,-282.88 135.62,-282.88 135.62,-252.38 237.88,-252.38 237.88,-282.88"/>
<text text-anchor="start" x="143.62" y="-269.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-258.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
@@ -34,15 +47,18 @@
</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="M73.23,-228.66C89.61,-234.33 110.64,-241.62 130.08,-248.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="128.78,-251.95 139.37,-251.91 131.07,-245.33 128.78,-251.95"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<g id="a_Node000003"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="251,-233.88 122.5,-233.88 122.5,-203.38 251,-203.38 251,-233.88"/>
<text text-anchor="start" x="130.5" y="-220.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-209.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
@@ -50,15 +66,18 @@
</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="M86.7,-218.62C94.55,-218.62 102.94,-218.62 111.41,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="111.13,-222.13 121.13,-218.62 111.13,-215.13 111.13,-222.13"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="235.25,-184.88 138.25,-184.88 138.25,-154.38 235.25,-154.38 235.25,-184.88"/>
<text text-anchor="start" x="146.25" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
@@ -66,60 +85,72 @@
</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="M73.23,-208.59C89.61,-202.92 110.64,-195.63 130.08,-188.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.07,-191.92 139.37,-185.34 128.78,-185.3 131.07,-191.92"/>
</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/list/back.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="386.62,-339.25 311.38,-339.25 311.38,-320 386.62,-320 386.62,-339.25"/>
<text text-anchor="middle" x="349" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.66,-183.01C241.35,-186.13 246.67,-189.94 251,-194.62 287.94,-234.56 248.31,-273.38 287,-311.62 290.97,-315.55 295.76,-318.63 300.87,-321.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="299.42,-324.61 310.01,-324.9 301.91,-318.07 299.42,-324.61"/>
</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/begin.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="387.75,-302.25 310.25,-302.25 310.25,-283 387.75,-283 387.75,-302.25"/>
<text text-anchor="middle" x="349" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<g id="edge5_Node000004_Node000006" class="edge">
<title>Node4&#45;&gt;Node6</title>
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.45,-183.7C241.11,-186.7 246.47,-190.3 251,-194.62 279.2,-221.55 257.62,-248.99 287,-274.62 290.85,-277.99 295.31,-280.72 300.02,-282.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.36,-286.45 308.95,-286.83 300.91,-279.93 298.36,-286.45"/>
</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/end.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="411,-265.25 287,-265.25 287,-246 411,-246 411,-265.25"/>
<text text-anchor="middle" x="349" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<g id="edge6_Node000004_Node000007" class="edge">
<title>Node4&#45;&gt;Node7</title>
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.04,-185.32C240.64,-188.03 246.1,-191.13 251,-194.62 271.02,-208.9 266.46,-223.11 287,-236.62 289.56,-238.31 292.28,-239.86 295.1,-241.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="293.37,-244.77 303.94,-245.58 296.18,-238.36 293.37,-244.77"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-227.88 297.88,-227.88 297.88,-197.38 400.12,-197.38 400.12,-227.88"/>
<text text-anchor="start" x="305.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
@@ -127,30 +158,36 @@
</g>
</g>
<!-- Node4&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<g id="edge7_Node000004_Node000008" class="edge">
<title>Node4&#45;&gt;Node8</title>
<g id="a_edge7_Node000004_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-182.41C251.59,-186.76 269.92,-191.67 287.02,-196.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.91,-199.86 296.47,-199.07 287.72,-193.09 285.91,-199.86"/>
</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/erase.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.12,-179.25 309.88,-179.25 309.88,-160 388.12,-160 388.12,-179.25"/>
<text text-anchor="middle" x="349" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<g id="edge8_Node000004_Node000009" class="edge">
<title>Node4&#45;&gt;Node9</title>
<g id="a_edge8_Node000004_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-169.62C255.32,-169.62 278.48,-169.62 298.59,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.41,-173.13 308.41,-169.62 298.41,-166.13 298.41,-173.13"/>
</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/unordered_map/find.html#" xlink:title=" ">
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-141.88 297.88,-141.88 297.88,-111.38 400.12,-111.38 400.12,-141.88"/>
<text text-anchor="start" x="305.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
@@ -158,55 +195,82 @@
</g>
</g>
<!-- Node4&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<g id="edge9_Node000004_Node000010" class="edge">
<title>Node4&#45;&gt;Node10</title>
<g id="a_edge9_Node000004_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-156.84C251.59,-152.49 269.92,-147.58 287.02,-142.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="287.72,-146.16 296.47,-140.18 285.91,-139.39 287.72,-146.16"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="397.12,-93.25 300.88,-93.25 300.88,-74 397.12,-74 397.12,-93.25"/>
<text text-anchor="middle" x="349" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<g id="edge10_Node000004_Node000011" class="edge">
<title>Node4&#45;&gt;Node11</title>
<g id="a_edge10_Node000004_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M207.23,-153.94C226.53,-139.04 257.39,-116.85 287,-102.62 290.99,-100.71 295.22,-98.92 299.52,-97.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.34,-100.35 308.6,-93.71 298,-93.75 300.34,-100.35"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="399,-56.25 299,-56.25 299,-37 399,-37 399,-56.25"/>
<text text-anchor="middle" x="349" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node12 -->
<g id="edge11" class="edge">
<g id="edge11_Node000004_Node000012" class="edge">
<title>Node4&#45;&gt;Node12</title>
<g id="a_edge11_Node000004_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M198.35,-153.98C214.71,-131.02 248.3,-88.37 287,-64.62 289.06,-63.36 291.22,-62.18 293.45,-61.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.7,-63.91 302.49,-56.74 291.92,-57.49 294.7,-63.91"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="385.12,-19.25 312.88,-19.25 312.88,0 385.12,0 385.12,-19.25"/>
<text text-anchor="middle" x="349" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node13 -->
<g id="edge12" class="edge">
<g id="edge12_Node000004_Node000013" class="edge">
<title>Node4&#45;&gt;Node13</title>
<g id="a_edge12_Node000004_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M194.26,-154.22C207.4,-125.02 239.89,-61.54 287,-27.62 291.7,-24.24 297.05,-21.48 302.56,-19.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.3,-22.35 311.59,-15.75 300.99,-15.74 303.3,-22.35"/>
</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: 11 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,251 @@
<?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: lru_tests::test_2 Pages: 1 -->
<svg width="419pt" height="347pt"
viewBox="0.00 0.00 419.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>lru_tests::test_2</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
<polygon fill="#999999" stroke="#666666" points="86.5,-228.25 0,-228.25 0,-209 86.5,-209 86.5,-228.25"/>
<text text-anchor="middle" x="43.25" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_2</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge13_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge13_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.78,-228.54C10.54,-237.15 18.03,-246.25 43.25,-246.25 58.23,-246.25 66.95,-243.04 69.42,-238.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.45,-237.72 65.72,-229.54 65.88,-240.13 72.45,-237.72"/>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="237.88,-282.88 135.62,-282.88 135.62,-252.38 237.88,-252.38 237.88,-282.88"/>
<text text-anchor="start" x="143.62" y="-269.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-258.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</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="M73.23,-228.66C89.61,-234.33 110.64,-241.62 130.08,-248.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="128.78,-251.95 139.37,-251.91 131.07,-245.33 128.78,-251.95"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="251,-233.88 122.5,-233.88 122.5,-203.38 251,-203.38 251,-233.88"/>
<text text-anchor="start" x="130.5" y="-220.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-209.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</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="M86.7,-218.62C94.55,-218.62 102.94,-218.62 111.41,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="111.13,-222.13 121.13,-218.62 111.13,-215.13 111.13,-222.13"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="235.25,-184.88 138.25,-184.88 138.25,-154.38 235.25,-154.38 235.25,-184.88"/>
<text text-anchor="start" x="146.25" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</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="M73.23,-208.59C89.61,-202.92 110.64,-195.63 130.08,-188.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.07,-191.92 139.37,-185.34 128.78,-185.3 131.07,-191.92"/>
</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/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="386.62,-339.25 311.38,-339.25 311.38,-320 386.62,-320 386.62,-339.25"/>
<text text-anchor="middle" x="349" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.66,-183.01C241.35,-186.13 246.67,-189.94 251,-194.62 287.94,-234.56 248.31,-273.38 287,-311.62 290.97,-315.55 295.76,-318.63 300.87,-321.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="299.42,-324.61 310.01,-324.9 301.91,-318.07 299.42,-324.61"/>
</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/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="387.75,-302.25 310.25,-302.25 310.25,-283 387.75,-283 387.75,-302.25"/>
<text text-anchor="middle" x="349" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node6 -->
<g id="edge5_Node000004_Node000006" class="edge">
<title>Node4&#45;&gt;Node6</title>
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.45,-183.7C241.11,-186.7 246.47,-190.3 251,-194.62 279.2,-221.55 257.62,-248.99 287,-274.62 290.85,-277.99 295.31,-280.72 300.02,-282.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.36,-286.45 308.95,-286.83 300.91,-279.93 298.36,-286.45"/>
</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/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="411,-265.25 287,-265.25 287,-246 411,-246 411,-265.25"/>
<text text-anchor="middle" x="349" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node7 -->
<g id="edge6_Node000004_Node000007" class="edge">
<title>Node4&#45;&gt;Node7</title>
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.04,-185.32C240.64,-188.03 246.1,-191.13 251,-194.62 271.02,-208.9 266.46,-223.11 287,-236.62 289.56,-238.31 292.28,-239.86 295.1,-241.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="293.37,-244.77 303.94,-245.58 296.18,-238.36 293.37,-244.77"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-227.88 297.88,-227.88 297.88,-197.38 400.12,-197.38 400.12,-227.88"/>
<text text-anchor="start" x="305.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node8 -->
<g id="edge7_Node000004_Node000008" class="edge">
<title>Node4&#45;&gt;Node8</title>
<g id="a_edge7_Node000004_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-182.41C251.59,-186.76 269.92,-191.67 287.02,-196.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.91,-199.86 296.47,-199.07 287.72,-193.09 285.91,-199.86"/>
</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/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.12,-179.25 309.88,-179.25 309.88,-160 388.12,-160 388.12,-179.25"/>
<text text-anchor="middle" x="349" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node9 -->
<g id="edge8_Node000004_Node000009" class="edge">
<title>Node4&#45;&gt;Node9</title>
<g id="a_edge8_Node000004_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-169.62C255.32,-169.62 278.48,-169.62 298.59,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.41,-173.13 308.41,-169.62 298.41,-166.13 298.41,-173.13"/>
</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/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-141.88 297.88,-141.88 297.88,-111.38 400.12,-111.38 400.12,-141.88"/>
<text text-anchor="start" x="305.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node10 -->
<g id="edge9_Node000004_Node000010" class="edge">
<title>Node4&#45;&gt;Node10</title>
<g id="a_edge9_Node000004_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-156.84C251.59,-152.49 269.92,-147.58 287.02,-142.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="287.72,-146.16 296.47,-140.18 285.91,-139.39 287.72,-146.16"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="397.12,-93.25 300.88,-93.25 300.88,-74 397.12,-74 397.12,-93.25"/>
<text text-anchor="middle" x="349" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node11 -->
<g id="edge10_Node000004_Node000011" class="edge">
<title>Node4&#45;&gt;Node11</title>
<g id="a_edge10_Node000004_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M207.23,-153.94C226.53,-139.04 257.39,-116.85 287,-102.62 290.99,-100.71 295.22,-98.92 299.52,-97.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.34,-100.35 308.6,-93.71 298,-93.75 300.34,-100.35"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="399,-56.25 299,-56.25 299,-37 399,-37 399,-56.25"/>
<text text-anchor="middle" x="349" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node12 -->
<g id="edge11_Node000004_Node000012" class="edge">
<title>Node4&#45;&gt;Node12</title>
<g id="a_edge11_Node000004_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M198.35,-153.98C214.71,-131.02 248.3,-88.37 287,-64.62 289.06,-63.36 291.22,-62.18 293.45,-61.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.7,-63.91 302.49,-56.74 291.92,-57.49 294.7,-63.91"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="385.12,-19.25 312.88,-19.25 312.88,0 385.12,0 385.12,-19.25"/>
<text text-anchor="middle" x="349" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node13 -->
<g id="edge12_Node000004_Node000013" class="edge">
<title>Node4&#45;&gt;Node13</title>
<g id="a_edge12_Node000004_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M194.26,-154.22C207.4,-125.02 239.89,-61.54 287,-27.62 291.7,-24.24 297.05,-21.48 302.56,-19.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.3,-22.35 311.59,-15.75 300.99,-15.74 303.3,-22.35"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,15 +1,28 @@
<map id="lru_tests::test_1" name="lru_tests::test_1">
<area shape="rect" id="node1" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="5,153,121,179"/>
<area shape="rect" id="node2" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="186,81,323,121"/>
<area shape="rect" id="node3" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,146,340,187"/>
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,211,319,252"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="421,5,521,31"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="419,55,522,80"/>
<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/end.html#" title=" " alt="" coords="388,104,553,130"/>
<area shape="rect" id="node8" 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="403,154,539,195"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="419,219,523,244"/>
<area shape="rect" id="node10" 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="403,269,539,309"/>
<area shape="rect" id="node11" 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="407,333,535,359"/>
<area shape="rect" id="node12" 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="404,383,537,408"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="423,432,519,458"/>
<area shape="rect" id="Node000001" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="5,153,121,179"/>
<area shape="poly" id="edge13_Node000001_Node000001" title=" " alt="" coords="31,154,25,145,28,135,42,129,63,127,88,130,99,137,96,142,86,135,63,132,43,134,32,139,30,144,35,151"/>
<area shape="rect" id="Node000002" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="186,81,323,121"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="102,150,178,124,180,129,104,155"/>
<area shape="rect" id="Node000003" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,146,340,187"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="121,164,154,164,154,169,121,169"/>
<area shape="rect" id="Node000004" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,211,319,252"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="104,177,180,203,178,208,102,182"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="421,5,521,31"/>
<area shape="poly" id="edge4_Node000004_Node000005" title=" " alt="" coords="318,212,338,196,352,177,358,158,360,119,363,80,371,60,386,40,405,27,408,32,390,44,375,63,368,81,366,119,364,159,356,179,342,200,321,216"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="419,55,522,80"/>
<area shape="poly" id="edge5_Node000004_Node000006" title=" " alt="" coords="318,211,338,196,349,183,355,170,361,144,367,117,374,103,386,89,404,78,407,83,390,94,378,106,372,118,366,145,360,172,353,186,342,200,321,215"/>
<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/end.html#" title=" " alt="" coords="388,104,553,130"/>
<area shape="poly" id="edge6_Node000004_Node000007" title=" " alt="" coords="317,208,338,196,353,182,361,168,371,154,386,140,397,134,400,138,390,144,375,158,366,171,357,186,342,200,320,213"/>
<area shape="rect" id="Node000008" 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="403,154,539,195"/>
<area shape="poly" id="edge7_Node000004_Node000008" title=" " alt="" coords="319,212,387,193,389,199,320,217"/>
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="419,219,523,244"/>
<area shape="poly" id="edge8_Node000004_Node000009" title=" " alt="" coords="319,229,403,229,403,234,319,234"/>
<area shape="rect" id="Node000010" 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="403,269,539,309"/>
<area shape="poly" id="edge9_Node000004_Node000010" title=" " alt="" coords="320,246,389,264,387,270,319,251"/>
<area shape="rect" id="Node000011" 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="407,333,535,359"/>
<area shape="poly" id="edge10_Node000004_Node000011" title=" " alt="" coords="283,250,331,285,389,318,406,326,404,330,387,323,328,289,280,255"/>
<area shape="rect" id="Node000012" 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="404,383,537,408"/>
<area shape="poly" id="edge11_Node000004_Node000012" title=" " alt="" coords="272,251,320,310,353,342,389,369,398,374,395,379,387,374,349,346,316,313,268,254"/>
<area shape="rect" id="Node000013" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="423,432,519,458"/>
<area shape="poly" id="edge12_Node000004_Node000013" title=" " alt="" coords="267,251,285,287,311,333,347,379,390,419,410,430,407,434,386,423,343,383,307,336,280,290,262,253"/>
</map>

View File

@@ -1 +1 @@
185402c3f30b46cedd5d9126070b75cc
0e421e8b571997f3dd7856594328aa4d

View File

@@ -6,27 +6,40 @@
<!-- Title: lru_tests::test_1 Pages: 1 -->
<svg width="419pt" height="347pt"
viewBox="0.00 0.00 419.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>lru_tests::test_1</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<g id="a_Node000001"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="#999999" stroke="#666666" points="86.5,-228.25 0,-228.25 0,-209 86.5,-209 86.5,-228.25"/>
<text text-anchor="middle" x="43.25" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_1</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge13" class="edge">
<g id="edge13_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge13_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.78,-228.54C10.54,-237.15 18.03,-246.25 43.25,-246.25 58.23,-246.25 66.95,-243.04 69.42,-238.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.45,-237.72 65.72,-229.54 65.88,-240.13 72.45,-237.72"/>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<g id="a_Node000002"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="237.88,-282.88 135.62,-282.88 135.62,-252.38 237.88,-252.38 237.88,-282.88"/>
<text text-anchor="start" x="143.62" y="-269.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-258.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
@@ -34,15 +47,18 @@
</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="M73.23,-228.66C89.61,-234.33 110.64,-241.62 130.08,-248.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="128.78,-251.95 139.37,-251.91 131.07,-245.33 128.78,-251.95"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<g id="a_Node000003"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="251,-233.88 122.5,-233.88 122.5,-203.38 251,-203.38 251,-233.88"/>
<text text-anchor="start" x="130.5" y="-220.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-209.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
@@ -50,15 +66,18 @@
</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="M86.7,-218.62C94.55,-218.62 102.94,-218.62 111.41,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="111.13,-222.13 121.13,-218.62 111.13,-215.13 111.13,-222.13"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="235.25,-184.88 138.25,-184.88 138.25,-154.38 235.25,-154.38 235.25,-184.88"/>
<text text-anchor="start" x="146.25" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
@@ -66,60 +85,72 @@
</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="M73.23,-208.59C89.61,-202.92 110.64,-195.63 130.08,-188.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.07,-191.92 139.37,-185.34 128.78,-185.3 131.07,-191.92"/>
</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/list/back.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="386.62,-339.25 311.38,-339.25 311.38,-320 386.62,-320 386.62,-339.25"/>
<text text-anchor="middle" x="349" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.66,-183.01C241.35,-186.13 246.67,-189.94 251,-194.62 287.94,-234.56 248.31,-273.38 287,-311.62 290.97,-315.55 295.76,-318.63 300.87,-321.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="299.42,-324.61 310.01,-324.9 301.91,-318.07 299.42,-324.61"/>
</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/begin.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="387.75,-302.25 310.25,-302.25 310.25,-283 387.75,-283 387.75,-302.25"/>
<text text-anchor="middle" x="349" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<g id="edge5_Node000004_Node000006" class="edge">
<title>Node4&#45;&gt;Node6</title>
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.45,-183.7C241.11,-186.7 246.47,-190.3 251,-194.62 279.2,-221.55 257.62,-248.99 287,-274.62 290.85,-277.99 295.31,-280.72 300.02,-282.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.36,-286.45 308.95,-286.83 300.91,-279.93 298.36,-286.45"/>
</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/end.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="411,-265.25 287,-265.25 287,-246 411,-246 411,-265.25"/>
<text text-anchor="middle" x="349" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<g id="edge6_Node000004_Node000007" class="edge">
<title>Node4&#45;&gt;Node7</title>
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.04,-185.32C240.64,-188.03 246.1,-191.13 251,-194.62 271.02,-208.9 266.46,-223.11 287,-236.62 289.56,-238.31 292.28,-239.86 295.1,-241.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="293.37,-244.77 303.94,-245.58 296.18,-238.36 293.37,-244.77"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-227.88 297.88,-227.88 297.88,-197.38 400.12,-197.38 400.12,-227.88"/>
<text text-anchor="start" x="305.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
@@ -127,30 +158,36 @@
</g>
</g>
<!-- Node4&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<g id="edge7_Node000004_Node000008" class="edge">
<title>Node4&#45;&gt;Node8</title>
<g id="a_edge7_Node000004_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-182.41C251.59,-186.76 269.92,-191.67 287.02,-196.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.91,-199.86 296.47,-199.07 287.72,-193.09 285.91,-199.86"/>
</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/erase.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.12,-179.25 309.88,-179.25 309.88,-160 388.12,-160 388.12,-179.25"/>
<text text-anchor="middle" x="349" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<g id="edge8_Node000004_Node000009" class="edge">
<title>Node4&#45;&gt;Node9</title>
<g id="a_edge8_Node000004_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-169.62C255.32,-169.62 278.48,-169.62 298.59,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.41,-173.13 308.41,-169.62 298.41,-166.13 298.41,-173.13"/>
</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/unordered_map/find.html#" xlink:title=" ">
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-141.88 297.88,-141.88 297.88,-111.38 400.12,-111.38 400.12,-141.88"/>
<text text-anchor="start" x="305.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
@@ -158,55 +195,82 @@
</g>
</g>
<!-- Node4&#45;&gt;Node10 -->
<g id="edge9" class="edge">
<g id="edge9_Node000004_Node000010" class="edge">
<title>Node4&#45;&gt;Node10</title>
<g id="a_edge9_Node000004_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-156.84C251.59,-152.49 269.92,-147.58 287.02,-142.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="287.72,-146.16 296.47,-140.18 285.91,-139.39 287.72,-146.16"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="397.12,-93.25 300.88,-93.25 300.88,-74 397.12,-74 397.12,-93.25"/>
<text text-anchor="middle" x="349" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node11 -->
<g id="edge10" class="edge">
<g id="edge10_Node000004_Node000011" class="edge">
<title>Node4&#45;&gt;Node11</title>
<g id="a_edge10_Node000004_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M207.23,-153.94C226.53,-139.04 257.39,-116.85 287,-102.62 290.99,-100.71 295.22,-98.92 299.52,-97.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.34,-100.35 308.6,-93.71 298,-93.75 300.34,-100.35"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="399,-56.25 299,-56.25 299,-37 399,-37 399,-56.25"/>
<text text-anchor="middle" x="349" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node12 -->
<g id="edge11" class="edge">
<g id="edge11_Node000004_Node000012" class="edge">
<title>Node4&#45;&gt;Node12</title>
<g id="a_edge11_Node000004_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M198.35,-153.98C214.71,-131.02 248.3,-88.37 287,-64.62 289.06,-63.36 291.22,-62.18 293.45,-61.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.7,-63.91 302.49,-56.74 291.92,-57.49 294.7,-63.91"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="385.12,-19.25 312.88,-19.25 312.88,0 385.12,0 385.12,-19.25"/>
<text text-anchor="middle" x="349" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node13 -->
<g id="edge12" class="edge">
<g id="edge12_Node000004_Node000013" class="edge">
<title>Node4&#45;&gt;Node13</title>
<g id="a_edge12_Node000004_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M194.26,-154.22C207.4,-125.02 239.89,-61.54 287,-27.62 291.7,-24.24 297.05,-21.48 302.56,-19.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.3,-22.35 311.59,-15.75 300.99,-15.74 303.3,-22.35"/>
</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: 11 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,251 @@
<?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: lru_tests::test_1 Pages: 1 -->
<svg width="419pt" height="347pt"
viewBox="0.00 0.00 419.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>lru_tests::test_1</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="#999999" stroke="#666666" points="86.5,-228.25 0,-228.25 0,-209 86.5,-209 86.5,-228.25"/>
<text text-anchor="middle" x="43.25" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_1</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge13_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge13_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M20.78,-228.54C10.54,-237.15 18.03,-246.25 43.25,-246.25 58.23,-246.25 66.95,-243.04 69.42,-238.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.45,-237.72 65.72,-229.54 65.88,-240.13 72.45,-237.72"/>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="237.88,-282.88 135.62,-282.88 135.62,-252.38 237.88,-252.38 237.88,-282.88"/>
<text text-anchor="start" x="143.62" y="-269.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-258.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</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="M73.23,-228.66C89.61,-234.33 110.64,-241.62 130.08,-248.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="128.78,-251.95 139.37,-251.91 131.07,-245.33 128.78,-251.95"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="251,-233.88 122.5,-233.88 122.5,-203.38 251,-203.38 251,-233.88"/>
<text text-anchor="start" x="130.5" y="-220.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-209.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</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="M86.7,-218.62C94.55,-218.62 102.94,-218.62 111.41,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="111.13,-222.13 121.13,-218.62 111.13,-215.13 111.13,-222.13"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="235.25,-184.88 138.25,-184.88 138.25,-154.38 235.25,-154.38 235.25,-184.88"/>
<text text-anchor="start" x="146.25" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="186.75" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</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="M73.23,-208.59C89.61,-202.92 110.64,-195.63 130.08,-188.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.07,-191.92 139.37,-185.34 128.78,-185.3 131.07,-191.92"/>
</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/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="386.62,-339.25 311.38,-339.25 311.38,-320 386.62,-320 386.62,-339.25"/>
<text text-anchor="middle" x="349" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.66,-183.01C241.35,-186.13 246.67,-189.94 251,-194.62 287.94,-234.56 248.31,-273.38 287,-311.62 290.97,-315.55 295.76,-318.63 300.87,-321.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="299.42,-324.61 310.01,-324.9 301.91,-318.07 299.42,-324.61"/>
</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/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="387.75,-302.25 310.25,-302.25 310.25,-283 387.75,-283 387.75,-302.25"/>
<text text-anchor="middle" x="349" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node6 -->
<g id="edge5_Node000004_Node000006" class="edge">
<title>Node4&#45;&gt;Node6</title>
<g id="a_edge5_Node000004_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.45,-183.7C241.11,-186.7 246.47,-190.3 251,-194.62 279.2,-221.55 257.62,-248.99 287,-274.62 290.85,-277.99 295.31,-280.72 300.02,-282.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.36,-286.45 308.95,-286.83 300.91,-279.93 298.36,-286.45"/>
</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/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="411,-265.25 287,-265.25 287,-246 411,-246 411,-265.25"/>
<text text-anchor="middle" x="349" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node7 -->
<g id="edge6_Node000004_Node000007" class="edge">
<title>Node4&#45;&gt;Node7</title>
<g id="a_edge6_Node000004_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.04,-185.32C240.64,-188.03 246.1,-191.13 251,-194.62 271.02,-208.9 266.46,-223.11 287,-236.62 289.56,-238.31 292.28,-239.86 295.1,-241.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="293.37,-244.77 303.94,-245.58 296.18,-238.36 293.37,-244.77"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-227.88 297.88,-227.88 297.88,-197.38 400.12,-197.38 400.12,-227.88"/>
<text text-anchor="start" x="305.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node8 -->
<g id="edge7_Node000004_Node000008" class="edge">
<title>Node4&#45;&gt;Node8</title>
<g id="a_edge7_Node000004_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-182.41C251.59,-186.76 269.92,-191.67 287.02,-196.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="285.91,-199.86 296.47,-199.07 287.72,-193.09 285.91,-199.86"/>
</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/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="388.12,-179.25 309.88,-179.25 309.88,-160 388.12,-160 388.12,-179.25"/>
<text text-anchor="middle" x="349" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node9 -->
<g id="edge8_Node000004_Node000009" class="edge">
<title>Node4&#45;&gt;Node9</title>
<g id="a_edge8_Node000004_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-169.62C255.32,-169.62 278.48,-169.62 298.59,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="298.41,-173.13 308.41,-169.62 298.41,-166.13 298.41,-173.13"/>
</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/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="400.12,-141.88 297.88,-141.88 297.88,-111.38 400.12,-111.38 400.12,-141.88"/>
<text text-anchor="start" x="305.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="349" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node10 -->
<g id="edge9_Node000004_Node000010" class="edge">
<title>Node4&#45;&gt;Node10</title>
<g id="a_edge9_Node000004_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M235.4,-156.84C251.59,-152.49 269.92,-147.58 287.02,-142.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="287.72,-146.16 296.47,-140.18 285.91,-139.39 287.72,-146.16"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="397.12,-93.25 300.88,-93.25 300.88,-74 397.12,-74 397.12,-93.25"/>
<text text-anchor="middle" x="349" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node11 -->
<g id="edge10_Node000004_Node000011" class="edge">
<title>Node4&#45;&gt;Node11</title>
<g id="a_edge10_Node000004_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M207.23,-153.94C226.53,-139.04 257.39,-116.85 287,-102.62 290.99,-100.71 295.22,-98.92 299.52,-97.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="300.34,-100.35 308.6,-93.71 298,-93.75 300.34,-100.35"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="399,-56.25 299,-56.25 299,-37 399,-37 399,-56.25"/>
<text text-anchor="middle" x="349" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node12 -->
<g id="edge11_Node000004_Node000012" class="edge">
<title>Node4&#45;&gt;Node12</title>
<g id="a_edge11_Node000004_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M198.35,-153.98C214.71,-131.02 248.3,-88.37 287,-64.62 289.06,-63.36 291.22,-62.18 293.45,-61.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="294.7,-63.91 302.49,-56.74 291.92,-57.49 294.7,-63.91"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="385.12,-19.25 312.88,-19.25 312.88,0 385.12,0 385.12,-19.25"/>
<text text-anchor="middle" x="349" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node13 -->
<g id="edge12_Node000004_Node000013" class="edge">
<title>Node4&#45;&gt;Node13</title>
<g id="a_edge12_Node000004_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M194.26,-154.22C207.4,-125.02 239.89,-61.54 287,-27.62 291.7,-24.24 297.05,-21.48 302.56,-19.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="303.3,-22.35 311.59,-15.75 300.99,-15.74 303.3,-22.35"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,18 +1,43 @@
<map id="lru_tests::run_tests" name="lru_tests::run_tests">
<area shape="rect" id="node1" title="A function to invoke all test cases." alt="" coords="5,153,139,179"/>
<area shape="rect" id="node2" href="$d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="187,80,302,106"/>
<area shape="rect" id="node15" href="$d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" title="A test case contains hits more than cache size The assert statement will check expected hist and miss..." alt="" coords="187,153,302,179"/>
<area shape="rect" id="node16" href="$d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="187,227,302,252"/>
<area shape="rect" id="node3" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="368,81,504,121"/>
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="350,146,521,187"/>
<area shape="rect" id="node5" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="371,211,500,252"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="602,5,702,31"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="600,55,704,80"/>
<area shape="rect" id="node8" 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="569,104,735,130"/>
<area shape="rect" id="node9" 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="584,154,720,195"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="600,219,704,244"/>
<area shape="rect" id="node11" 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="584,269,720,309"/>
<area shape="rect" id="node12" 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="588,333,716,359"/>
<area shape="rect" id="node13" 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="585,383,719,408"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="604,432,700,458"/>
<area shape="rect" id="Node000001" title="A function to invoke all test cases." alt="" coords="5,153,139,179"/>
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="43,154,37,145,41,135,53,129,72,127,94,130,105,137,102,141,92,135,72,132,54,134,45,139,42,144,47,152"/>
<area shape="rect" id="Node000002" href="$d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="187,80,302,106"/>
<area shape="poly" id="edge2_Node000001_Node000002" title=" " alt="" coords="103,150,186,114,197,109,199,114,188,119,105,155"/>
<area shape="rect" id="Node000015" href="$d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" title="A test case contains hits more than cache size The assert statement will check expected hist and miss..." alt="" coords="187,153,302,179"/>
<area shape="poly" id="edge16_Node000001_Node000015" title=" " alt="" coords="139,164,172,164,172,169,139,169"/>
<area shape="rect" id="Node000016" href="$d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="187,227,302,252"/>
<area shape="poly" id="edge21_Node000001_Node000016" title=" " alt="" coords="106,177,200,218,198,223,103,182"/>
<area shape="poly" id="edge15_Node000002_Node000002" title=" " alt="" coords="215,81,209,71,213,62,225,56,244,53,266,56,277,63,274,68,264,61,244,59,226,61,217,65,215,71,220,78"/>
<area shape="rect" id="Node000003" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="368,81,504,121"/>
<area shape="poly" id="edge3_Node000002_Node000003" title=" " alt="" coords="302,93,353,95,353,100,302,98"/>
<area shape="rect" id="Node000004" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="350,146,521,187"/>
<area shape="poly" id="edge4_Node000002_Node000004" title=" " alt="" coords="281,104,368,137,366,142,279,109"/>
<area shape="rect" id="Node000005" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="371,211,500,252"/>
<area shape="poly" id="edge5_Node000002_Node000005" title=" " alt="" coords="287,104,304,115,321,136,328,157,336,177,352,196,359,202,356,206,348,200,331,179,323,159,316,139,300,119,284,108"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="602,5,702,31"/>
<area shape="poly" id="edge6_Node000005_Node000006" title=" " alt="" coords="499,212,519,196,533,177,540,158,542,119,544,80,552,60,568,40,586,27,589,32,571,44,557,63,550,81,547,119,545,159,538,179,523,200,502,216"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="600,55,704,80"/>
<area shape="poly" id="edge7_Node000005_Node000007" title=" " alt="" coords="499,211,520,196,530,183,537,170,542,144,548,117,555,103,568,89,585,78,588,83,571,94,560,106,553,118,547,145,542,172,535,186,523,200,502,215"/>
<area shape="rect" id="Node000008" 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="569,104,735,130"/>
<area shape="poly" id="edge8_Node000005_Node000008" title=" " alt="" coords="499,208,520,196,534,182,543,168,552,154,568,140,579,134,581,138,571,144,556,158,547,171,538,186,523,200,501,213"/>
<area shape="rect" id="Node000009" 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="584,154,720,195"/>
<area shape="poly" id="edge9_Node000005_Node000009" title=" " alt="" coords="500,212,569,193,570,199,501,217"/>
<area shape="rect" id="Node000010" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="600,219,704,244"/>
<area shape="poly" id="edge10_Node000005_Node000010" title=" " alt="" coords="501,229,585,229,585,234,501,234"/>
<area shape="rect" id="Node000011" 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="584,269,720,309"/>
<area shape="poly" id="edge11_Node000005_Node000011" title=" " alt="" coords="501,246,570,264,569,270,500,251"/>
<area shape="rect" id="Node000012" 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="588,333,716,359"/>
<area shape="poly" id="edge12_Node000005_Node000012" title=" " alt="" coords="465,250,512,285,571,318,587,326,585,330,568,323,510,289,461,255"/>
<area shape="rect" id="Node000013" 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="585,383,719,408"/>
<area shape="poly" id="edge13_Node000005_Node000013" title=" " alt="" coords="453,251,501,310,534,342,571,369,579,374,577,379,568,374,530,346,497,313,449,254"/>
<area shape="rect" id="Node000014" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="604,432,700,458"/>
<area shape="poly" id="edge14_Node000005_Node000014" title=" " alt="" coords="448,251,466,287,493,333,528,379,571,419,591,430,589,434,568,423,524,383,488,336,461,290,443,253"/>
<area shape="poly" id="edge17_Node000015_Node000003" title=" " alt="" coords="283,150,359,124,361,129,285,155"/>
<area shape="poly" id="edge18_Node000015_Node000004" title=" " alt="" coords="302,164,335,164,335,169,302,169"/>
<area shape="poly" id="edge19_Node000015_Node000005" title=" " alt="" coords="285,177,361,203,359,208,283,182"/>
<area shape="poly" id="edge20_Node000015_Node000015" title=" " alt="" coords="215,154,209,145,213,135,225,129,244,127,266,130,277,137,274,141,264,135,244,132,226,134,217,139,215,144,220,152"/>
<area shape="poly" id="edge22_Node000016_Node000003" title=" " alt="" coords="261,224,300,190,323,160,332,146,348,132,357,126,360,131,352,136,336,150,327,163,304,193,264,228"/>
<area shape="poly" id="edge23_Node000016_Node000004" title=" " alt="" coords="279,224,366,190,368,195,281,229"/>
<area shape="poly" id="edge24_Node000016_Node000005" title=" " alt="" coords="302,234,356,232,356,237,302,240"/>
<area shape="poly" id="edge25_Node000016_Node000016" title=" " alt="" coords="215,228,209,218,213,208,225,202,244,200,266,203,277,210,274,215,264,208,244,205,226,207,217,212,215,217,220,225"/>
</map>

View File

@@ -1 +1 @@
f3739ab9a6a8886cb67c743c49744740
74ac3268efd9d8e64a02af42be712e0b

View File

@@ -5,125 +5,140 @@
-->
<!-- Title: lru_tests::run_tests Pages: 1 -->
<!--zoomable 347 -->
<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="text/javascript"><![CDATA[
var edges = document.getElementsByTagName('g');
if (edges && edges.length) {
for (var i=0;i<edges.length;i++) {
if (edges[i].id.substr(0,4)=='edge') {
edges[i].setAttribute('class','edge');
}
}
}
]]></script>
<defs>
<circle id="rim" cx="0" cy="0" r="7"/>
<circle id="rim2" cx="0" cy="0" r="3.5"/>
<g id="zoomPlus">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
</use>
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
</g>
<g id="zoomMin">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
</use>
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
</g>
<g id="dirArrow">
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="resetDef">
<use xlink:href="#rim2" fill="#404040">
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
</use>
</g>
</defs>
<script type="text/javascript">
<defs>
<circle id="rim" cx="0" cy="0" r="7"/>
<circle id="rim2" cx="0" cy="0" r="3.5"/>
<g id="zoomPlus">
<use xlink:href="#rim" fill="#404040"><set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/></use>
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
</g>
<g id="zoomMin">
<use xlink:href="#rim" fill="#404040"><set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/></use>
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
</g>
<g id="arrowUp" transform="translate(30 24)">
<use xlink:href="#rim"/>
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowRight" transform="rotate(90) translate(36 -43)">
<use xlink:href="#rim"/>
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowDown" transform="rotate(180) translate(-30 -48)">
<use xlink:href="#rim"/>
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowLeft" transform="rotate(270) translate(-36 17)">
<use xlink:href="#rim"/>
<path pointer-events="none" fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="resetDef">
<use xlink:href="#rim2" fill="#404040"><set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/></use>
</g>
</defs>
<script type="application/ecmascript">
var viewWidth = 555;
var viewHeight = 347;
var sectionId = 'dynsection-3';
</script>
<script xlink:href="../../svgpan.js"/>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="viewport">
<title>lru_tests::run_tests</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 invoke all test cases.">
<g id="a_Node000001"><a xlink:title="A function to invoke all test cases.">
<polygon fill="#999999" stroke="#666666" points="100,-228.25 0,-228.25 0,-209 100,-209 100,-228.25"/>
<text text-anchor="middle" x="50" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::run_tests</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M29.77,-228.54C20.54,-237.15 27.28,-246.25 50,-246.25 63.13,-246.25 70.93,-243.21 73.39,-238.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="76.48,-238.1 70.23,-229.54 69.78,-240.12 76.48,-238.1"/>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<g id="a_Node000002"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="white" stroke="#666666" points="222.5,-283.25 136,-283.25 136,-264 222.5,-264 222.5,-283.25"/>
<text text-anchor="middle" x="179.25" y="-269.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_1</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<g id="edge2_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge2_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M74.07,-228.72C91.15,-236.19 115.01,-246.59 136,-255.62 138.81,-256.84 141.74,-258.09 144.67,-259.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="142.98,-262.86 153.55,-263.57 145.73,-256.42 142.98,-262.86"/>
</a>
</g>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<g id="Node000015" class="node">
<title>Node15</title>
<g id="a_node15"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" target="_top" xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
<g id="a_Node000015"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" target="_top" xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
<polygon fill="white" stroke="#666666" points="222.5,-228.25 136,-228.25 136,-209 222.5,-209 222.5,-228.25"/>
<text text-anchor="middle" x="179.25" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_2</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node15 -->
<g id="edge16" class="edge">
<g id="edge16_Node000001_Node000015" class="edge">
<title>Node1&#45;&gt;Node15</title>
<g id="a_edge16_Node000001_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M100.2,-218.62C108.28,-218.62 116.68,-218.62 124.86,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.81,-222.13 134.81,-218.62 124.81,-215.13 124.81,-222.13"/>
</a>
</g>
</g>
<!-- Node16 -->
<g id="node16" class="node">
<g id="Node000016" class="node">
<title>Node16</title>
<g id="a_node16"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<g id="a_Node000016"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="white" stroke="#666666" points="222.5,-173.25 136,-173.25 136,-154 222.5,-154 222.5,-173.25"/>
<text text-anchor="middle" x="179.25" y="-159.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_3</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node16 -->
<g id="edge21" class="edge">
<g id="edge21_Node000001_Node000016" class="edge">
<title>Node1&#45;&gt;Node16</title>
<g id="a_edge21_Node000001_Node000016"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M74.34,-208.54C94.16,-199.97 122.84,-187.57 145.05,-177.97"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="146.27,-180.83 154.06,-173.65 143.49,-174.4 146.27,-180.83"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node2 -->
<g id="edge15" class="edge">
<g id="edge15_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge15_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M159.02,-283.54C149.79,-292.15 156.53,-301.25 179.25,-301.25 192.38,-301.25 200.18,-298.21 202.64,-293.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.73,-293.1 199.48,-284.54 199.03,-295.12 205.73,-293.1"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<g id="a_Node000003"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="373.88,-282.88 271.62,-282.88 271.62,-252.38 373.88,-252.38 373.88,-282.88"/>
<text text-anchor="start" x="279.62" y="-269.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="322.75" y="-258.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
@@ -131,15 +146,18 @@ var sectionId = 'dynsection-3';
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<g id="edge3_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge3_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M222.7,-271.82C234.66,-271.32 247.91,-270.76 260.72,-270.21"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.5,-273.68 270.35,-269.76 260.21,-266.69 260.5,-273.68"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="387,-233.88 258.5,-233.88 258.5,-203.38 387,-203.38 387,-233.88"/>
<text text-anchor="start" x="266.5" y="-220.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="322.75" y="-209.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
@@ -147,15 +165,18 @@ var sectionId = 'dynsection-3';
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge4" class="edge">
<g id="edge4_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge4_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M206.2,-263.54C224.32,-256.5 249.09,-246.87 271.05,-238.33"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="272.18,-241.26 280.23,-234.37 269.65,-234.73 272.18,-241.26"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<g id="a_Node000005"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="371.25,-184.88 274.25,-184.88 274.25,-154.38 371.25,-154.38 371.25,-184.88"/>
<text text-anchor="start" x="282.25" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="322.75" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
@@ -163,60 +184,72 @@ var sectionId = 'dynsection-3';
</g>
</g>
<!-- Node2&#45;&gt;Node5 -->
<g id="edge5" class="edge">
<g id="edge5_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge5_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M210.3,-263.68C214.67,-261.44 218.9,-258.78 222.5,-255.62 246.16,-234.86 234.57,-215.07 258.5,-194.62 260.36,-193.04 262.33,-191.54 264.39,-190.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="266.03,-192.64 272.84,-184.52 262.45,-186.62 266.03,-192.64"/>
</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/back.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="522.62,-339.25 447.38,-339.25 447.38,-320 522.62,-320 522.62,-339.25"/>
<text text-anchor="middle" x="485" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node6 -->
<g id="edge6" class="edge">
<g id="edge6_Node000005_Node000006" class="edge">
<title>Node5&#45;&gt;Node6</title>
<g id="a_edge6_Node000005_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.66,-183.01C377.35,-186.13 382.67,-189.94 387,-194.62 423.94,-234.56 384.31,-273.38 423,-311.62 426.97,-315.55 431.76,-318.63 436.87,-321.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="435.42,-324.61 446.01,-324.9 437.91,-318.07 435.42,-324.61"/>
</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/list/begin.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="523.75,-302.25 446.25,-302.25 446.25,-283 523.75,-283 523.75,-302.25"/>
<text text-anchor="middle" x="485" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node7 -->
<g id="edge7" class="edge">
<g id="edge7_Node000005_Node000007" class="edge">
<title>Node5&#45;&gt;Node7</title>
<g id="a_edge7_Node000005_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.45,-183.7C377.11,-186.7 382.47,-190.3 387,-194.62 415.2,-221.55 393.62,-248.99 423,-274.62 426.85,-277.99 431.31,-280.72 436.02,-282.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="434.36,-286.45 444.95,-286.83 436.91,-279.93 434.36,-286.45"/>
</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/unordered_map/end.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="547,-265.25 423,-265.25 423,-246 547,-246 547,-265.25"/>
<text text-anchor="middle" x="485" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node8 -->
<g id="edge8" class="edge">
<g id="edge8_Node000005_Node000008" class="edge">
<title>Node5&#45;&gt;Node8</title>
<g id="a_edge8_Node000005_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.04,-185.32C376.64,-188.03 382.1,-191.13 387,-194.62 407.02,-208.9 402.46,-223.11 423,-236.62 425.56,-238.31 428.28,-239.86 431.1,-241.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="429.37,-244.77 439.94,-245.58 432.18,-238.36 429.37,-244.77"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="536.12,-227.88 433.88,-227.88 433.88,-197.38 536.12,-197.38 536.12,-227.88"/>
<text text-anchor="start" x="441.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="485" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
@@ -224,30 +257,36 @@ var sectionId = 'dynsection-3';
</g>
</g>
<!-- Node5&#45;&gt;Node9 -->
<g id="edge9" class="edge">
<g id="edge9_Node000005_Node000009" class="edge">
<title>Node5&#45;&gt;Node9</title>
<g id="a_edge9_Node000005_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.4,-182.41C387.59,-186.76 405.92,-191.67 423.02,-196.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="421.91,-199.86 432.47,-199.07 423.72,-193.09 421.91,-199.86"/>
</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/erase.html#" xlink:title=" ">
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="524.12,-179.25 445.88,-179.25 445.88,-160 524.12,-160 524.12,-179.25"/>
<text text-anchor="middle" x="485" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node10 -->
<g id="edge10" class="edge">
<g id="edge10_Node000005_Node000010" class="edge">
<title>Node5&#45;&gt;Node10</title>
<g id="a_edge10_Node000005_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.4,-169.62C391.32,-169.62 414.48,-169.62 434.59,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="434.41,-173.13 444.41,-169.62 434.41,-166.13 434.41,-173.13"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="536.12,-141.88 433.88,-141.88 433.88,-111.38 536.12,-111.38 536.12,-141.88"/>
<text text-anchor="start" x="441.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="485" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
@@ -255,145 +294,175 @@ var sectionId = 'dynsection-3';
</g>
</g>
<!-- Node5&#45;&gt;Node11 -->
<g id="edge11" class="edge">
<g id="edge11_Node000005_Node000011" class="edge">
<title>Node5&#45;&gt;Node11</title>
<g id="a_edge11_Node000005_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.4,-156.84C387.59,-152.49 405.92,-147.58 423.02,-142.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="423.72,-146.16 432.47,-140.18 421.91,-139.39 423.72,-146.16"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="533.12,-93.25 436.88,-93.25 436.88,-74 533.12,-74 533.12,-93.25"/>
<text text-anchor="middle" x="485" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node12 -->
<g id="edge12" class="edge">
<g id="edge12_Node000005_Node000012" class="edge">
<title>Node5&#45;&gt;Node12</title>
<g id="a_edge12_Node000005_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M343.23,-153.94C362.53,-139.04 393.39,-116.85 423,-102.62 426.99,-100.71 431.22,-98.92 435.52,-97.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="436.34,-100.35 444.6,-93.71 434,-93.75 436.34,-100.35"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="535,-56.25 435,-56.25 435,-37 535,-37 535,-56.25"/>
<text text-anchor="middle" x="485" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node13 -->
<g id="edge13" class="edge">
<g id="edge13_Node000005_Node000013" class="edge">
<title>Node5&#45;&gt;Node13</title>
<g id="a_edge13_Node000005_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M334.35,-153.98C350.71,-131.02 384.3,-88.37 423,-64.62 425.06,-63.36 427.22,-62.18 429.45,-61.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="430.7,-63.91 438.49,-56.74 427.92,-57.49 430.7,-63.91"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<g id="a_Node000014"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="521.12,-19.25 448.88,-19.25 448.88,0 521.12,0 521.12,-19.25"/>
<text text-anchor="middle" x="485" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node14 -->
<g id="edge14" class="edge">
<g id="edge14_Node000005_Node000014" class="edge">
<title>Node5&#45;&gt;Node14</title>
<g id="a_edge14_Node000005_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M330.26,-154.22C343.4,-125.02 375.89,-61.54 423,-27.62 427.7,-24.24 433.05,-21.48 438.56,-19.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="439.3,-22.35 447.59,-15.75 436.99,-15.74 439.3,-22.35"/>
</a>
</g>
</g>
<!-- Node15&#45;&gt;Node3 -->
<g id="edge17" class="edge">
<g id="edge17_Node000015_Node000003" class="edge">
<title>Node15&#45;&gt;Node3</title>
<g id="a_edge17_Node000015_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M209.23,-228.66C225.61,-234.33 246.64,-241.62 266.08,-248.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="264.78,-251.95 275.37,-251.91 267.07,-245.33 264.78,-251.95"/>
</a>
</g>
</g>
<!-- Node15&#45;&gt;Node4 -->
<g id="edge18" class="edge">
<g id="edge18_Node000015_Node000004" class="edge">
<title>Node15&#45;&gt;Node4</title>
<g id="a_edge18_Node000015_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M222.7,-218.62C230.55,-218.62 238.94,-218.62 247.41,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="247.13,-222.13 257.13,-218.62 247.13,-215.13 247.13,-222.13"/>
</a>
</g>
</g>
<!-- Node15&#45;&gt;Node5 -->
<g id="edge19" class="edge">
<g id="edge19_Node000015_Node000005" class="edge">
<title>Node15&#45;&gt;Node5</title>
<g id="a_edge19_Node000015_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M209.23,-208.59C225.61,-202.92 246.64,-195.63 266.08,-188.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.07,-191.92 275.37,-185.34 264.78,-185.3 267.07,-191.92"/>
</a>
</g>
</g>
<!-- Node15&#45;&gt;Node15 -->
<g id="edge20" class="edge">
<g id="edge20_Node000015_Node000015" class="edge">
<title>Node15&#45;&gt;Node15</title>
<g id="a_edge20_Node000015_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M159.02,-228.54C149.79,-237.15 156.53,-246.25 179.25,-246.25 192.38,-246.25 200.18,-243.21 202.64,-238.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.73,-238.1 199.48,-229.54 199.03,-240.12 205.73,-238.1"/>
</a>
</g>
</g>
<!-- Node16&#45;&gt;Node3 -->
<g id="edge22" class="edge">
<g id="edge22_Node000016_Node000003" class="edge">
<title>Node16&#45;&gt;Node3</title>
<g id="a_edge22_Node000016_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M192.94,-173.5C201.59,-180.46 213.14,-190.18 222.5,-199.62 240.05,-217.33 238.29,-228.04 258.5,-242.62 260.64,-244.17 262.88,-245.63 265.2,-247.02"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="262.96,-250.32 273.42,-251.99 266.28,-244.16 262.96,-250.32"/>
</a>
</g>
</g>
<!-- Node16&#45;&gt;Node4 -->
<g id="edge23" class="edge">
<g id="edge23_Node000016_Node000004" class="edge">
<title>Node16&#45;&gt;Node4</title>
<g id="a_edge23_Node000016_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M206.2,-173.71C224.32,-180.75 249.09,-190.38 271.05,-198.92"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="269.65,-202.52 280.23,-202.88 272.18,-195.99 269.65,-202.52"/>
</a>
</g>
</g>
<!-- Node16&#45;&gt;Node5 -->
<g id="edge24" class="edge">
<g id="edge24_Node000016_Node000005" class="edge">
<title>Node16&#45;&gt;Node5</title>
<g id="a_edge24_Node000016_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M222.7,-165.43C235.42,-165.96 249.6,-166.57 263.17,-167.14"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="262.73,-170.67 272.87,-167.59 263.03,-163.67 262.73,-170.67"/>
</a>
</g>
</g>
<!-- Node16&#45;&gt;Node16 -->
<g id="edge25" class="edge">
<g id="edge25_Node000016_Node000016" class="edge">
<title>Node16&#45;&gt;Node16</title>
<g id="a_edge25_Node000016_Node000016"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M159.02,-173.54C149.79,-182.15 156.53,-191.25 179.25,-191.25 192.38,-191.25 200.18,-188.21 202.64,-183.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.73,-183.1 199.48,-174.54 199.03,-185.12 205.73,-183.1"/>
</a>
</g>
</g>
</g>
</svg>
<g id="navigator" transform="translate(0 0)" fill="#404254">
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
</use>
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
</use>
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
</use>
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
<use xlink:href="#rim" fill="#404040">
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
</use>
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
</g>
</g>
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
<g id="arrow_out" transform="scale(0.3 0.3)">
<a xlink:href="lru__cache_8cpp_a6a3be6d8871b1f5dc03688da8f3ee9e6_cgraph_org.svg" target="_base">
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
<path id="arrow"
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
style="fill:#404040;"/>
</a>
</g>
</svg>
<g id="navigator" transform="translate(0 0)" fill="#404254">
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
<use id="arrowup" xlink:href="#arrowUp" x="0" y="0" onmousedown="handlePan(0,-1)"/>
<use id="arrowright" xlink:href="#arrowRight" x="0" y="0" onmousedown="handlePan(1,0)"/>
<use id="arrowdown" xlink:href="#arrowDown" x="0" y="0" onmousedown="handlePan(0,1)"/>
<use id="arrowleft" xlink:href="#arrowLeft" x="0" y="0" onmousedown="handlePan(-1,0)"/>
</g>
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
<g id="arrow_out" transform="scale(0.3 0.3)">
<a xlink:href="lru__cache_8cpp_a6a3be6d8871b1f5dc03688da8f3ee9e6_cgraph_org.svg" target="_base">
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
<path id="arrow"
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
style="fill:#404040;"/>
</a>
</g>
</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: 22 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -9,75 +9,90 @@
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 343.25)">
<title>lru_tests::run_tests</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 invoke all test cases.">
<g id="a_Node000001"><a xlink:title="A function to invoke all test cases.">
<polygon fill="#999999" stroke="#666666" points="100,-228.25 0,-228.25 0,-209 100,-209 100,-228.25"/>
<text text-anchor="middle" x="50" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::run_tests</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M29.77,-228.54C20.54,-237.15 27.28,-246.25 50,-246.25 63.13,-246.25 70.93,-243.21 73.39,-238.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="76.48,-238.1 70.23,-229.54 69.78,-240.12 76.48,-238.1"/>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<g id="a_Node000002"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="white" stroke="#666666" points="222.5,-283.25 136,-283.25 136,-264 222.5,-264 222.5,-283.25"/>
<text text-anchor="middle" x="179.25" y="-269.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_1</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<g id="edge2_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge2_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M74.07,-228.72C91.15,-236.19 115.01,-246.59 136,-255.62 138.81,-256.84 141.74,-258.09 144.67,-259.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="142.98,-262.86 153.55,-263.57 145.73,-256.42 142.98,-262.86"/>
</a>
</g>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<g id="Node000015" class="node">
<title>Node15</title>
<g id="a_node15"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" target="_top" xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
<g id="a_Node000015"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" target="_top" xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
<polygon fill="white" stroke="#666666" points="222.5,-228.25 136,-228.25 136,-209 222.5,-209 222.5,-228.25"/>
<text text-anchor="middle" x="179.25" y="-214.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_2</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node15 -->
<g id="edge16" class="edge">
<g id="edge16_Node000001_Node000015" class="edge">
<title>Node1&#45;&gt;Node15</title>
<g id="a_edge16_Node000001_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M100.2,-218.62C108.28,-218.62 116.68,-218.62 124.86,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="124.81,-222.13 134.81,-218.62 124.81,-215.13 124.81,-222.13"/>
</a>
</g>
</g>
<!-- Node16 -->
<g id="node16" class="node">
<g id="Node000016" class="node">
<title>Node16</title>
<g id="a_node16"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<g id="a_Node000016"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
<polygon fill="white" stroke="#666666" points="222.5,-173.25 136,-173.25 136,-154 222.5,-154 222.5,-173.25"/>
<text text-anchor="middle" x="179.25" y="-159.75" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_3</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node16 -->
<g id="edge21" class="edge">
<g id="edge21_Node000001_Node000016" class="edge">
<title>Node1&#45;&gt;Node16</title>
<g id="a_edge21_Node000001_Node000016"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M74.34,-208.54C94.16,-199.97 122.84,-187.57 145.05,-177.97"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="146.27,-180.83 154.06,-173.65 143.49,-174.4 146.27,-180.83"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node2 -->
<g id="edge15" class="edge">
<g id="edge15_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge15_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M159.02,-283.54C149.79,-292.15 156.53,-301.25 179.25,-301.25 192.38,-301.25 200.18,-298.21 202.64,-293.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.73,-293.1 199.48,-284.54 199.03,-295.12 205.73,-293.1"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<g id="a_Node000003"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="373.88,-282.88 271.62,-282.88 271.62,-252.38 373.88,-252.38 373.88,-282.88"/>
<text text-anchor="start" x="279.62" y="-269.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="322.75" y="-258.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
@@ -85,15 +100,18 @@
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<g id="edge3_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge3_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M222.7,-271.82C234.66,-271.32 247.91,-270.76 260.72,-270.21"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.5,-273.68 270.35,-269.76 260.21,-266.69 260.5,-273.68"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="387,-233.88 258.5,-233.88 258.5,-203.38 387,-203.38 387,-233.88"/>
<text text-anchor="start" x="266.5" y="-220.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="322.75" y="-209.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
@@ -101,15 +119,18 @@
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge4" class="edge">
<g id="edge4_Node000002_Node000004" class="edge">
<title>Node2&#45;&gt;Node4</title>
<g id="a_edge4_Node000002_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M206.2,-263.54C224.32,-256.5 249.09,-246.87 271.05,-238.33"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="272.18,-241.26 280.23,-234.37 269.65,-234.73 272.18,-241.26"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<g id="a_Node000005"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="371.25,-184.88 274.25,-184.88 274.25,-154.38 371.25,-154.38 371.25,-184.88"/>
<text text-anchor="start" x="282.25" y="-171.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="322.75" y="-160.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
@@ -117,60 +138,72 @@
</g>
</g>
<!-- Node2&#45;&gt;Node5 -->
<g id="edge5" class="edge">
<g id="edge5_Node000002_Node000005" class="edge">
<title>Node2&#45;&gt;Node5</title>
<g id="a_edge5_Node000002_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M210.3,-263.68C214.67,-261.44 218.9,-258.78 222.5,-255.62 246.16,-234.86 234.57,-215.07 258.5,-194.62 260.36,-193.04 262.33,-191.54 264.39,-190.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="266.03,-192.64 272.84,-184.52 262.45,-186.62 266.03,-192.64"/>
</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/back.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="522.62,-339.25 447.38,-339.25 447.38,-320 522.62,-320 522.62,-339.25"/>
<text text-anchor="middle" x="485" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node6 -->
<g id="edge6" class="edge">
<g id="edge6_Node000005_Node000006" class="edge">
<title>Node5&#45;&gt;Node6</title>
<g id="a_edge6_Node000005_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.66,-183.01C377.35,-186.13 382.67,-189.94 387,-194.62 423.94,-234.56 384.31,-273.38 423,-311.62 426.97,-315.55 431.76,-318.63 436.87,-321.04"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="435.42,-324.61 446.01,-324.9 437.91,-318.07 435.42,-324.61"/>
</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/list/begin.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="523.75,-302.25 446.25,-302.25 446.25,-283 523.75,-283 523.75,-302.25"/>
<text text-anchor="middle" x="485" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node7 -->
<g id="edge7" class="edge">
<g id="edge7_Node000005_Node000007" class="edge">
<title>Node5&#45;&gt;Node7</title>
<g id="a_edge7_Node000005_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.45,-183.7C377.11,-186.7 382.47,-190.3 387,-194.62 415.2,-221.55 393.62,-248.99 423,-274.62 426.85,-277.99 431.31,-280.72 436.02,-282.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="434.36,-286.45 444.95,-286.83 436.91,-279.93 434.36,-286.45"/>
</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/unordered_map/end.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="547,-265.25 423,-265.25 423,-246 547,-246 547,-265.25"/>
<text text-anchor="middle" x="485" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node8 -->
<g id="edge8" class="edge">
<g id="edge8_Node000005_Node000008" class="edge">
<title>Node5&#45;&gt;Node8</title>
<g id="a_edge8_Node000005_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.04,-185.32C376.64,-188.03 382.1,-191.13 387,-194.62 407.02,-208.9 402.46,-223.11 423,-236.62 425.56,-238.31 428.28,-239.86 431.1,-241.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="429.37,-244.77 439.94,-245.58 432.18,-238.36 429.37,-244.77"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="536.12,-227.88 433.88,-227.88 433.88,-197.38 536.12,-197.38 536.12,-227.88"/>
<text text-anchor="start" x="441.88" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="485" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
@@ -178,30 +211,36 @@
</g>
</g>
<!-- Node5&#45;&gt;Node9 -->
<g id="edge9" class="edge">
<g id="edge9_Node000005_Node000009" class="edge">
<title>Node5&#45;&gt;Node9</title>
<g id="a_edge9_Node000005_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.4,-182.41C387.59,-186.76 405.92,-191.67 423.02,-196.26"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="421.91,-199.86 432.47,-199.07 423.72,-193.09 421.91,-199.86"/>
</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/erase.html#" xlink:title=" ">
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="524.12,-179.25 445.88,-179.25 445.88,-160 524.12,-160 524.12,-179.25"/>
<text text-anchor="middle" x="485" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node10 -->
<g id="edge10" class="edge">
<g id="edge10_Node000005_Node000010" class="edge">
<title>Node5&#45;&gt;Node10</title>
<g id="a_edge10_Node000005_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.4,-169.62C391.32,-169.62 414.48,-169.62 434.59,-169.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="434.41,-173.13 444.41,-169.62 434.41,-166.13 434.41,-173.13"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="536.12,-141.88 433.88,-141.88 433.88,-111.38 536.12,-111.38 536.12,-141.88"/>
<text text-anchor="start" x="441.88" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="485" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
@@ -209,103 +248,139 @@
</g>
</g>
<!-- Node5&#45;&gt;Node11 -->
<g id="edge11" class="edge">
<g id="edge11_Node000005_Node000011" class="edge">
<title>Node5&#45;&gt;Node11</title>
<g id="a_edge11_Node000005_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M371.4,-156.84C387.59,-152.49 405.92,-147.58 423.02,-142.99"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="423.72,-146.16 432.47,-140.18 421.91,-139.39 423.72,-146.16"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="533.12,-93.25 436.88,-93.25 436.88,-74 533.12,-74 533.12,-93.25"/>
<text text-anchor="middle" x="485" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node12 -->
<g id="edge12" class="edge">
<g id="edge12_Node000005_Node000012" class="edge">
<title>Node5&#45;&gt;Node12</title>
<g id="a_edge12_Node000005_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M343.23,-153.94C362.53,-139.04 393.39,-116.85 423,-102.62 426.99,-100.71 431.22,-98.92 435.52,-97.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="436.34,-100.35 444.6,-93.71 434,-93.75 436.34,-100.35"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="535,-56.25 435,-56.25 435,-37 535,-37 535,-56.25"/>
<text text-anchor="middle" x="485" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node13 -->
<g id="edge13" class="edge">
<g id="edge13_Node000005_Node000013" class="edge">
<title>Node5&#45;&gt;Node13</title>
<g id="a_edge13_Node000005_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M334.35,-153.98C350.71,-131.02 384.3,-88.37 423,-64.62 425.06,-63.36 427.22,-62.18 429.45,-61.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="430.7,-63.91 438.49,-56.74 427.92,-57.49 430.7,-63.91"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<g id="a_Node000014"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="521.12,-19.25 448.88,-19.25 448.88,0 521.12,0 521.12,-19.25"/>
<text text-anchor="middle" x="485" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node14 -->
<g id="edge14" class="edge">
<g id="edge14_Node000005_Node000014" class="edge">
<title>Node5&#45;&gt;Node14</title>
<g id="a_edge14_Node000005_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M330.26,-154.22C343.4,-125.02 375.89,-61.54 423,-27.62 427.7,-24.24 433.05,-21.48 438.56,-19.24"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="439.3,-22.35 447.59,-15.75 436.99,-15.74 439.3,-22.35"/>
</a>
</g>
</g>
<!-- Node15&#45;&gt;Node3 -->
<g id="edge17" class="edge">
<g id="edge17_Node000015_Node000003" class="edge">
<title>Node15&#45;&gt;Node3</title>
<g id="a_edge17_Node000015_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M209.23,-228.66C225.61,-234.33 246.64,-241.62 266.08,-248.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="264.78,-251.95 275.37,-251.91 267.07,-245.33 264.78,-251.95"/>
</a>
</g>
</g>
<!-- Node15&#45;&gt;Node4 -->
<g id="edge18" class="edge">
<g id="edge18_Node000015_Node000004" class="edge">
<title>Node15&#45;&gt;Node4</title>
<g id="a_edge18_Node000015_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M222.7,-218.62C230.55,-218.62 238.94,-218.62 247.41,-218.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="247.13,-222.13 257.13,-218.62 247.13,-215.13 247.13,-222.13"/>
</a>
</g>
</g>
<!-- Node15&#45;&gt;Node5 -->
<g id="edge19" class="edge">
<g id="edge19_Node000015_Node000005" class="edge">
<title>Node15&#45;&gt;Node5</title>
<g id="a_edge19_Node000015_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M209.23,-208.59C225.61,-202.92 246.64,-195.63 266.08,-188.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="267.07,-191.92 275.37,-185.34 264.78,-185.3 267.07,-191.92"/>
</a>
</g>
</g>
<!-- Node15&#45;&gt;Node15 -->
<g id="edge20" class="edge">
<g id="edge20_Node000015_Node000015" class="edge">
<title>Node15&#45;&gt;Node15</title>
<g id="a_edge20_Node000015_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M159.02,-228.54C149.79,-237.15 156.53,-246.25 179.25,-246.25 192.38,-246.25 200.18,-243.21 202.64,-238.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.73,-238.1 199.48,-229.54 199.03,-240.12 205.73,-238.1"/>
</a>
</g>
</g>
<!-- Node16&#45;&gt;Node3 -->
<g id="edge22" class="edge">
<g id="edge22_Node000016_Node000003" class="edge">
<title>Node16&#45;&gt;Node3</title>
<g id="a_edge22_Node000016_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M192.94,-173.5C201.59,-180.46 213.14,-190.18 222.5,-199.62 240.05,-217.33 238.29,-228.04 258.5,-242.62 260.64,-244.17 262.88,-245.63 265.2,-247.02"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="262.96,-250.32 273.42,-251.99 266.28,-244.16 262.96,-250.32"/>
</a>
</g>
</g>
<!-- Node16&#45;&gt;Node4 -->
<g id="edge23" class="edge">
<g id="edge23_Node000016_Node000004" class="edge">
<title>Node16&#45;&gt;Node4</title>
<g id="a_edge23_Node000016_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M206.2,-173.71C224.32,-180.75 249.09,-190.38 271.05,-198.92"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="269.65,-202.52 280.23,-202.88 272.18,-195.99 269.65,-202.52"/>
</a>
</g>
</g>
<!-- Node16&#45;&gt;Node5 -->
<g id="edge24" class="edge">
<g id="edge24_Node000016_Node000005" class="edge">
<title>Node16&#45;&gt;Node5</title>
<g id="a_edge24_Node000016_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M222.7,-165.43C235.42,-165.96 249.6,-166.57 263.17,-167.14"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="262.73,-170.67 272.87,-167.59 263.03,-163.67 262.73,-170.67"/>
</a>
</g>
</g>
<!-- Node16&#45;&gt;Node16 -->
<g id="edge25" class="edge">
<g id="edge25_Node000016_Node000016" class="edge">
<title>Node16&#45;&gt;Node16</title>
<g id="a_edge25_Node000016_Node000016"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M159.02,-173.54C149.79,-182.15 156.53,-191.25 179.25,-191.25 192.38,-191.25 200.18,-188.21 202.64,-183.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.73,-183.1 199.48,-174.54 199.03,-185.12 205.73,-183.1"/>
</a>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -1,17 +1,32 @@
<map id="main" name="main">
<area shape="rect" id="node1" title="Main function." alt="" coords="5,128,55,153"/>
<area shape="rect" id="node2" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53" title="A function to display the current cache." alt="" coords="121,5,256,46"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="369,13,440,39"/>
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="120,120,257,161"/>
<area shape="rect" id="node5" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="103,185,274,226"/>
<area shape="rect" id="node6" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="124,259,253,299"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="355,62,455,88"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="353,112,456,137"/>
<area shape="rect" id="node9" 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="322,161,487,187"/>
<area shape="rect" id="node10" 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="337,211,473,251"/>
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="353,276,457,301"/>
<area shape="rect" id="node12" 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="337,325,473,366"/>
<area shape="rect" id="node13" 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="341,390,469,416"/>
<area shape="rect" id="node14" 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="338,440,471,465"/>
<area shape="rect" id="node15" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="357,489,453,515"/>
<area shape="rect" id="Node000001" title="Main function." alt="" coords="5,128,55,153"/>
<area shape="rect" id="Node000002" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53" title="A function to display the current cache." alt="" coords="121,5,256,46"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="39,125,65,94,101,62,119,51,122,55,104,66,69,98,43,129"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="369,13,440,39"/>
<area shape="poly" id="edge3_Node000001_Node000003" title=" " alt="" coords="54,126,102,106,218,71,354,36,355,41,220,77,104,111,56,131"/>
<area shape="rect" id="Node000004" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="120,120,257,161"/>
<area shape="poly" id="edge4_Node000001_Node000004" title=" " alt="" coords="55,138,105,138,105,143,55,143"/>
<area shape="rect" id="Node000005" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="103,185,274,226"/>
<area shape="poly" id="edge5_Node000001_Node000005" title=" " alt="" coords="56,149,104,170,121,177,119,182,102,175,54,154"/>
<area shape="rect" id="Node000006" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="124,259,253,299"/>
<area shape="poly" id="edge6_Node000001_Node000006" title=" " alt="" coords="41,152,66,192,84,215,104,236,123,249,120,253,101,240,80,219,61,196,36,155"/>
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="256,23,354,23,354,28,256,28"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="355,62,455,88"/>
<area shape="poly" id="edge7_Node000006_Node000007" title=" " alt="" coords="246,256,272,236,284,218,290,201,294,167,298,132,306,114,320,97,339,84,342,89,324,101,310,117,303,134,299,167,296,202,289,221,276,239,249,260"/>
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="353,112,456,137"/>
<area shape="poly" id="edge8_Node000006_Node000008" title=" " alt="" coords="244,256,272,236,288,213,295,191,302,169,320,146,338,136,340,140,324,150,307,171,300,193,293,216,276,240,247,260"/>
<area shape="rect" id="Node000009" 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="322,161,487,187"/>
<area shape="poly" id="edge9_Node000006_Node000009" title=" " alt="" coords="236,256,272,235,296,216,321,197,335,190,338,195,323,201,299,220,276,240,238,260"/>
<area shape="rect" id="Node000010" 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="337,211,473,251"/>
<area shape="poly" id="edge10_Node000006_Node000010" title=" " alt="" coords="253,262,321,247,323,252,254,267"/>
<area shape="rect" id="Node000011" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="353,276,457,301"/>
<area shape="poly" id="edge11_Node000006_Node000011" title=" " alt="" coords="253,279,338,283,337,288,253,284"/>
<area shape="rect" id="Node000012" 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="337,325,473,366"/>
<area shape="poly" id="edge12_Node000006_Node000012" title=" " alt="" coords="254,296,323,318,322,323,252,301"/>
<area shape="rect" id="Node000013" 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="341,390,469,416"/>
<area shape="poly" id="edge13_Node000006_Node000013" title=" " alt="" coords="214,298,263,337,323,375,339,382,337,387,321,380,259,341,211,302"/>
<area shape="rect" id="Node000014" 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="338,440,471,465"/>
<area shape="poly" id="edge14_Node000006_Node000014" title=" " alt="" coords="205,298,252,362,285,396,323,426,332,431,329,435,321,431,282,400,248,365,200,301"/>
<area shape="rect" id="Node000015" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="357,489,453,515"/>
<area shape="poly" id="edge15_Node000006_Node000015" title=" " alt="" coords="200,299,218,337,244,385,280,434,324,476,344,487,341,491,320,480,276,437,240,388,213,339,195,301"/>
</map>

View File

@@ -1 +1 @@
703d1b4f0529b43eb1a287e426fe2211
3711874ebfe9546eb12cf15afa505ed1

View File

@@ -6,21 +6,31 @@
<!-- Title: main Pages: 1 -->
<svg width="370pt" height="390pt"
viewBox="0.00 0.00 369.50 389.88" 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 385.88)">
<title>main</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Main function.">
<g id="a_Node000001"><a xlink:title="Main function.">
<polygon fill="#999999" stroke="#666666" points="37,-290.25 0,-290.25 0,-271 37,-271 37,-290.25"/>
<text text-anchor="middle" x="18.5" y="-276.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53" target="_top" xlink:title="A function to display the current cache.">
<g id="a_Node000002"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53" target="_top" xlink:title="A function to display the current cache.">
<polygon fill="white" stroke="#666666" points="188,-381.88 86.5,-381.88 86.5,-351.38 188,-351.38 188,-381.88"/>
<text text-anchor="start" x="94.5" y="-368.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="137.25" y="-357.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::display</text>
@@ -28,30 +38,36 @@
</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="M26.88,-290.61C36.41,-302.95 54.05,-324 73,-337.62 77.13,-340.6 81.62,-343.38 86.24,-345.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="84.32,-349.42 94.81,-350.93 87.55,-343.21 84.32,-349.42"/>
</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/io/manip/endl.html#" xlink:title=" ">
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="326.25,-376.25 272.75,-376.25 272.75,-357 326.25,-357 326.25,-376.25"/>
<text text-anchor="middle" x="299.5" y="-362.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<g id="edge3_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.05,-289.32C47.36,-294.22 60.74,-300.22 73,-304.62 107.85,-317.15 207.55,-343.31 261.97,-357.31"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.98,-360.93 271.54,-360.02 262.72,-354.15 260.98,-360.93"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="188.38,-295.88 86.12,-295.88 86.12,-265.38 188.38,-265.38 188.38,-295.88"/>
<text text-anchor="start" x="94.12" y="-282.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="137.25" y="-271.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
@@ -59,15 +75,18 @@
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge4" class="edge">
<g id="edge4_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge4_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.49,-280.62C47.68,-280.62 61.1,-280.62 74.75,-280.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.69,-284.13 84.68,-280.62 74.68,-277.13 74.69,-284.13"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<g id="a_Node000005"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="201.5,-246.88 73,-246.88 73,-216.38 201.5,-216.38 201.5,-246.88"/>
<text text-anchor="start" x="81" y="-233.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="137.25" y="-222.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
@@ -75,15 +94,18 @@
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge5" class="edge">
<g id="edge5_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge5_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.25,-272.42C47.62,-267.69 60.99,-261.69 73,-256.62 77.1,-254.9 81.36,-253.13 85.65,-251.39"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="86.68,-254.34 94.65,-247.36 84.07,-247.85 86.68,-254.34"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_node6"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<g id="a_Node000006"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="185.75,-191.88 88.75,-191.88 88.75,-161.38 185.75,-161.38 185.75,-191.88"/>
<text text-anchor="start" x="96.75" y="-178.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="137.25" y="-167.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
@@ -91,66 +113,81 @@
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge6" class="edge">
<g id="edge6_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge6_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M24.69,-270.71C33.09,-255.46 50.95,-226.08 73,-207.62 77.4,-203.95 82.3,-200.57 87.38,-197.52"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="88.61,-200.29 95.65,-192.37 85.21,-194.17 88.61,-200.29"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M188.08,-366.62C211.86,-366.62 239.82,-366.62 261.66,-366.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="261.46,-370.13 271.46,-366.62 261.46,-363.13 261.46,-370.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/list/back.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="337.12,-339.25 261.88,-339.25 261.88,-320 337.12,-320 337.12,-339.25"/>
<text text-anchor="middle" x="299.5" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node7 -->
<g id="edge7" class="edge">
<g id="edge7_Node000006_Node000007" class="edge">
<title>Node6&#45;&gt;Node7</title>
<g id="a_edge7_Node000006_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M181.89,-192.33C189.15,-196.44 196.07,-201.49 201.5,-207.62 233.91,-244.26 202.12,-277.85 237.5,-311.62 241.54,-315.48 246.36,-318.52 251.51,-320.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="250.07,-324.48 260.66,-324.74 252.54,-317.93 250.07,-324.48"/>
</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/begin.html#" xlink:title=" ">
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="338.25,-302.25 260.75,-302.25 260.75,-283 338.25,-283 338.25,-302.25"/>
<text text-anchor="middle" x="299.5" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node8 -->
<g id="edge8" class="edge">
<g id="edge8_Node000006_Node000008" class="edge">
<title>Node6&#45;&gt;Node8</title>
<g id="a_edge8_Node000006_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M179.81,-192.36C187.6,-196.53 195.25,-201.6 201.5,-207.62 225.85,-231.08 211.26,-253.31 237.5,-274.62 241.31,-277.72 245.65,-280.29 250.2,-282.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="248.83,-286.02 259.41,-286.39 251.37,-279.5 248.83,-286.02"/>
</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/unordered_map/end.html#" xlink:title=" ">
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="361.5,-265.25 237.5,-265.25 237.5,-246 361.5,-246 361.5,-265.25"/>
<text text-anchor="middle" x="299.5" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node9 -->
<g id="edge9" class="edge">
<g id="edge9_Node000006_Node000009" class="edge">
<title>Node6&#45;&gt;Node9</title>
<g id="a_edge9_Node000006_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M173.8,-192.33C183.05,-196.87 192.83,-202.11 201.5,-207.62 218.83,-218.66 219.37,-226.96 237.5,-236.62 240.98,-238.48 244.68,-240.19 248.46,-241.76"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="246.98,-245.32 257.57,-245.57 249.45,-238.77 246.98,-245.32"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="350.62,-227.88 248.38,-227.88 248.38,-197.38 350.62,-197.38 350.62,-227.88"/>
<text text-anchor="start" x="256.38" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="299.5" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
@@ -158,30 +195,36 @@
</g>
</g>
<!-- Node6&#45;&gt;Node10 -->
<g id="edge10" class="edge">
<g id="edge10_Node000006_Node000010" class="edge">
<title>Node6&#45;&gt;Node10</title>
<g id="a_edge10_Node000006_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M185.9,-187.33C202.09,-190.97 220.42,-195.09 237.52,-198.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="236.45,-202.5 246.97,-201.27 237.98,-195.67 236.45,-202.5"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="338.62,-179.25 260.38,-179.25 260.38,-160 338.62,-160 338.62,-179.25"/>
<text text-anchor="middle" x="299.5" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node11 -->
<g id="edge11" class="edge">
<g id="edge11_Node000006_Node000011" class="edge">
<title>Node6&#45;&gt;Node11</title>
<g id="a_edge11_Node000006_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M185.9,-174.54C205.82,-173.67 228.98,-172.66 249.09,-171.78"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="249.07,-175.24 258.91,-171.31 248.77,-168.25 249.07,-175.24"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="node12" class="node">
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="350.62,-141.88 248.38,-141.88 248.38,-111.38 350.62,-111.38 350.62,-141.88"/>
<text text-anchor="start" x="256.38" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="299.5" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
@@ -189,55 +232,82 @@
</g>
</g>
<!-- Node6&#45;&gt;Node12 -->
<g id="edge12" class="edge">
<g id="edge12_Node000006_Node000012" class="edge">
<title>Node6&#45;&gt;Node12</title>
<g id="a_edge12_Node000006_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M185.9,-161.76C202.17,-156.68 220.6,-150.93 237.76,-145.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="238.75,-148.62 247.25,-142.3 236.66,-141.94 238.75,-148.62"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="node13" class="node">
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="347.62,-93.25 251.38,-93.25 251.38,-74 347.62,-74 347.62,-93.25"/>
<text text-anchor="middle" x="299.5" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node13 -->
<g id="edge13" class="edge">
<g id="edge13_Node000006_Node000013" class="edge">
<title>Node6&#45;&gt;Node13</title>
<g id="a_edge13_Node000006_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M155.32,-161.02C174.19,-144.5 206.09,-118.63 237.5,-102.62 241.23,-100.72 245.18,-98.97 249.22,-97.36"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="250.13,-100.39 258.32,-93.67 247.73,-93.82 250.13,-100.39"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="node14" class="node">
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<g id="a_Node000014"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="349.5,-56.25 249.5,-56.25 249.5,-37 349.5,-37 349.5,-56.25"/>
<text text-anchor="middle" x="299.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node14 -->
<g id="edge14" class="edge">
<g id="edge14_Node000006_Node000014" class="edge">
<title>Node6&#45;&gt;Node14</title>
<g id="a_edge14_Node000006_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M147.81,-161.12C163.54,-136.91 197.16,-90.27 237.5,-64.62 239.51,-63.35 241.61,-62.16 243.77,-61.05"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="244.85,-63.96 252.58,-56.71 242.02,-57.56 244.85,-63.96"/>
</a>
</g>
</g>
<!-- Node15 -->
<g id="node15" class="node">
<g id="Node000015" class="node">
<title>Node15</title>
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<g id="a_Node000015"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="335.62,-19.25 263.38,-19.25 263.38,0 335.62,0 335.62,-19.25"/>
<text text-anchor="middle" x="299.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node15 -->
<g id="edge15" class="edge">
<g id="edge15_Node000006_Node000015" class="edge">
<title>Node6&#45;&gt;Node15</title>
<g id="a_edge15_Node000006_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M144.35,-160.93C156.99,-130.52 188.96,-63.4 237.5,-27.62 242.17,-24.19 247.48,-21.4 252.99,-19.15"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="253.73,-22.25 262,-15.63 251.41,-15.64 253.73,-22.25"/>
</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: 13 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,288 @@
<?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: main Pages: 1 -->
<svg width="370pt" height="390pt"
viewBox="0.00 0.00 369.50 389.88" 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 385.88)">
<title>main</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Main function.">
<polygon fill="#999999" stroke="#666666" points="37,-290.25 0,-290.25 0,-271 37,-271 37,-290.25"/>
<text text-anchor="middle" x="18.5" y="-276.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53" target="_top" xlink:title="A function to display the current cache.">
<polygon fill="white" stroke="#666666" points="188,-381.88 86.5,-381.88 86.5,-351.38 188,-351.38 188,-381.88"/>
<text text-anchor="start" x="94.5" y="-368.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="137.25" y="-357.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::display</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="M26.88,-290.61C36.41,-302.95 54.05,-324 73,-337.62 77.13,-340.6 81.62,-343.38 86.24,-345.95"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="84.32,-349.42 94.81,-350.93 87.55,-343.21 84.32,-349.42"/>
</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/io/manip/endl.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="326.25,-376.25 272.75,-376.25 272.75,-357 326.25,-357 326.25,-376.25"/>
<text text-anchor="middle" x="299.5" y="-362.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge3_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.05,-289.32C47.36,-294.22 60.74,-300.22 73,-304.62 107.85,-317.15 207.55,-343.31 261.97,-357.31"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="260.98,-360.93 271.54,-360.02 262.72,-354.15 260.98,-360.93"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
<polygon fill="white" stroke="#666666" points="188.38,-295.88 86.12,-295.88 86.12,-265.38 188.38,-265.38 188.38,-295.88"/>
<text text-anchor="start" x="94.12" y="-282.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="137.25" y="-271.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge4_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge4_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.49,-280.62C47.68,-280.62 61.1,-280.62 74.75,-280.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.69,-284.13 84.68,-280.62 74.68,-277.13 74.69,-284.13"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
<polygon fill="white" stroke="#666666" points="201.5,-246.88 73,-246.88 73,-216.38 201.5,-216.38 201.5,-246.88"/>
<text text-anchor="start" x="81" y="-233.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="137.25" y="-222.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge5_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge5_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.25,-272.42C47.62,-267.69 60.99,-261.69 73,-256.62 77.1,-254.9 81.36,-253.13 85.65,-251.39"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="86.68,-254.34 94.65,-247.36 84.07,-247.85 86.68,-254.34"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
<polygon fill="white" stroke="#666666" points="185.75,-191.88 88.75,-191.88 88.75,-161.38 185.75,-161.38 185.75,-191.88"/>
<text text-anchor="start" x="96.75" y="-178.38" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
<text text-anchor="middle" x="137.25" y="-167.12" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge6_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge6_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M24.69,-270.71C33.09,-255.46 50.95,-226.08 73,-207.62 77.4,-203.95 82.3,-200.57 87.38,-197.52"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="88.61,-200.29 95.65,-192.37 85.21,-194.17 88.61,-200.29"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M188.08,-366.62C211.86,-366.62 239.82,-366.62 261.66,-366.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="261.46,-370.13 271.46,-366.62 261.46,-363.13 261.46,-370.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/list/back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="337.12,-339.25 261.88,-339.25 261.88,-320 337.12,-320 337.12,-339.25"/>
<text text-anchor="middle" x="299.5" y="-325.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node7 -->
<g id="edge7_Node000006_Node000007" class="edge">
<title>Node6&#45;&gt;Node7</title>
<g id="a_edge7_Node000006_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M181.89,-192.33C189.15,-196.44 196.07,-201.49 201.5,-207.62 233.91,-244.26 202.12,-277.85 237.5,-311.62 241.54,-315.48 246.36,-318.52 251.51,-320.9"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="250.07,-324.48 260.66,-324.74 252.54,-317.93 250.07,-324.48"/>
</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/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="338.25,-302.25 260.75,-302.25 260.75,-283 338.25,-283 338.25,-302.25"/>
<text text-anchor="middle" x="299.5" y="-288.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node8 -->
<g id="edge8_Node000006_Node000008" class="edge">
<title>Node6&#45;&gt;Node8</title>
<g id="a_edge8_Node000006_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M179.81,-192.36C187.6,-196.53 195.25,-201.6 201.5,-207.62 225.85,-231.08 211.26,-253.31 237.5,-274.62 241.31,-277.72 245.65,-280.29 250.2,-282.41"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="248.83,-286.02 259.41,-286.39 251.37,-279.5 248.83,-286.02"/>
</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/unordered_map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="361.5,-265.25 237.5,-265.25 237.5,-246 361.5,-246 361.5,-265.25"/>
<text text-anchor="middle" x="299.5" y="-251.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node9 -->
<g id="edge9_Node000006_Node000009" class="edge">
<title>Node6&#45;&gt;Node9</title>
<g id="a_edge9_Node000006_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M173.8,-192.33C183.05,-196.87 192.83,-202.11 201.5,-207.62 218.83,-218.66 219.37,-226.96 237.5,-236.62 240.98,-238.48 244.68,-240.19 248.46,-241.76"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="246.98,-245.32 257.57,-245.57 249.45,-238.77 246.98,-245.32"/>
</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/unordered_map/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="350.62,-227.88 248.38,-227.88 248.38,-197.38 350.62,-197.38 350.62,-227.88"/>
<text text-anchor="start" x="256.38" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="299.5" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node10 -->
<g id="edge10_Node000006_Node000010" class="edge">
<title>Node6&#45;&gt;Node10</title>
<g id="a_edge10_Node000006_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M185.9,-187.33C202.09,-190.97 220.42,-195.09 237.52,-198.93"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="236.45,-202.5 246.97,-201.27 237.98,-195.67 236.45,-202.5"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="338.62,-179.25 260.38,-179.25 260.38,-160 338.62,-160 338.62,-179.25"/>
<text text-anchor="middle" x="299.5" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node11 -->
<g id="edge11_Node000006_Node000011" class="edge">
<title>Node6&#45;&gt;Node11</title>
<g id="a_edge11_Node000006_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M185.9,-174.54C205.82,-173.67 228.98,-172.66 249.09,-171.78"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="249.07,-175.24 258.91,-171.31 248.77,-168.25 249.07,-175.24"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="350.62,-141.88 248.38,-141.88 248.38,-111.38 350.62,-111.38 350.62,-141.88"/>
<text text-anchor="start" x="256.38" y="-128.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
<text text-anchor="middle" x="299.5" y="-117.12" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node12 -->
<g id="edge12_Node000006_Node000012" class="edge">
<title>Node6&#45;&gt;Node12</title>
<g id="a_edge12_Node000006_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M185.9,-161.76C202.17,-156.68 220.6,-150.93 237.76,-145.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="238.75,-148.62 247.25,-142.3 236.66,-141.94 238.75,-148.62"/>
</a>
</g>
</g>
<!-- Node13 -->
<g id="Node000013" class="node">
<title>Node13</title>
<g id="a_Node000013"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="347.62,-93.25 251.38,-93.25 251.38,-74 347.62,-74 347.62,-93.25"/>
<text text-anchor="middle" x="299.5" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node13 -->
<g id="edge13_Node000006_Node000013" class="edge">
<title>Node6&#45;&gt;Node13</title>
<g id="a_edge13_Node000006_Node000013"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M155.32,-161.02C174.19,-144.5 206.09,-118.63 237.5,-102.62 241.23,-100.72 245.18,-98.97 249.22,-97.36"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="250.13,-100.39 258.32,-93.67 247.73,-93.82 250.13,-100.39"/>
</a>
</g>
</g>
<!-- Node14 -->
<g id="Node000014" class="node">
<title>Node14</title>
<g id="a_Node000014"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="349.5,-56.25 249.5,-56.25 249.5,-37 349.5,-37 349.5,-56.25"/>
<text text-anchor="middle" x="299.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node14 -->
<g id="edge14_Node000006_Node000014" class="edge">
<title>Node6&#45;&gt;Node14</title>
<g id="a_edge14_Node000006_Node000014"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M147.81,-161.12C163.54,-136.91 197.16,-90.27 237.5,-64.62 239.51,-63.35 241.61,-62.16 243.77,-61.05"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="244.85,-63.96 252.58,-56.71 242.02,-57.56 244.85,-63.96"/>
</a>
</g>
</g>
<!-- Node15 -->
<g id="Node000015" class="node">
<title>Node15</title>
<g id="a_Node000015"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="335.62,-19.25 263.38,-19.25 263.38,0 335.62,0 335.62,-19.25"/>
<text text-anchor="middle" x="299.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node15 -->
<g id="edge15_Node000006_Node000015" class="edge">
<title>Node6&#45;&gt;Node15</title>
<g id="a_edge15_Node000006_Node000015"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M144.35,-160.93C156.99,-130.52 188.96,-63.4 237.5,-27.62 242.17,-24.19 247.48,-21.4 252.99,-19.15"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="253.73,-22.25 262,-15.63 251.41,-15.64 253.73,-22.25"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB