mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-12 03:28:29 +08:00
Documentation for f1eddf4d65
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<map id="others::lru_cache::LRUCache" name="others::lru_cache::LRUCache">
|
||||
<area shape="rect" id="Node000001" title="LRU cache class." alt="" coords="501,5,630,46"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,22,140,48"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="155,27,164,27,320,21,477,20,500,21,500,26,477,26,320,26,164,32,155,33"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="245,46,396,102"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000002" title=" " alt="" coords="156,45,245,59,244,65,155,50"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="411,53,500,36,501,41,412,59"/>
|
||||
<area shape="rect" id="Node000001" title="LRU cache class." alt="" coords="509,24,638,65"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,39,140,65"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="155,37,163,36,324,26,485,31,509,33,508,38,485,36,324,31,164,42,155,42"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="249,63,400,119"/>
|
||||
<area shape="poly" id="edge3_Node000003_Node000002" title=" " alt="" coords="155,62,249,77,248,82,154,68"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="415,71,508,54,509,59,416,77"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
80611d2e827984b41f8e4f112586624a
|
||||
28506d9df963cfcb432f83621d9b1103
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
|
||||
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
|
||||
-->
|
||||
<!-- Title: others::lru_cache::LRUCache Pages: 1 -->
|
||||
<svg width="477pt" height="80pt"
|
||||
viewBox="0.00 0.00 476.75 80.12" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="483pt" height="93pt"
|
||||
viewBox="0.00 0.00 483.00 93.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
@@ -17,15 +17,15 @@
|
||||
]]></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 76.12)">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.12)">
|
||||
<title>others::lru_cache::LRUCache</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="LRU cache class.">
|
||||
<polygon fill="#999999" stroke="#666666" points="468.75,-72.12 371.75,-72.12 371.75,-41.62 468.75,-41.62 468.75,-72.12"/>
|
||||
<text text-anchor="start" x="379.75" y="-58.62" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="420.25" y="-47.38" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="474.75,-71.12 377.75,-71.12 377.75,-40.62 474.75,-40.62 474.75,-71.12"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="385.75" y="-57.62" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text xml:space="preserve" text-anchor="middle" x="426.25" y="-46.38" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -34,7 +34,7 @@
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="100.75,-59.5 0,-59.5 0,-40.25 100.75,-40.25 100.75,-59.5"/>
|
||||
<text text-anchor="middle" x="50.38" y="-46" font-family="Helvetica,sans-Serif" font-size="10.00">std::list< uint64_t ></text>
|
||||
<text xml:space="preserve" text-anchor="middle" x="50.38" y="-46" font-family="Helvetica,sans-Serif" font-size="10.00">std::list< uint64_t ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -42,20 +42,20 @@
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.47,-53.59C114.59,-53.69 116.69,-53.79 118.75,-53.88 223.12,-58.33 249.29,-60.47 353.75,-58.88 359.44,-58.79 365.4,-58.66 371.32,-58.51"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="112.71,-50.1 102.55,-53.09 112.36,-57.09 112.71,-50.1"/>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.16,-59.26C114.38,-59.49 116.58,-59.69 118.75,-59.88 225.5,-68.85 252.82,-70.38 359.75,-63.88 365.47,-63.53 371.45,-63.01 377.38,-62.4"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="112.8,-55.81 102.47,-58.14 112,-62.76 112.8,-55.81"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="236.25" y="-61.15" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> cache</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="226.12" y="-72.62" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">cache</text>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="293,-41.75 179.5,-41.75 179.5,0 293,0 293,-41.75"/>
|
||||
<text text-anchor="start" x="187.5" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="start" x="187.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t, std::list</text>
|
||||
<text text-anchor="middle" x="236.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t >::iterator ></text>
|
||||
<polygon fill="white" stroke="#666666" points="296,-41.75 182.5,-41.75 182.5,0 296,0 296,-41.75"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="190.5" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="190.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t, std::list</text>
|
||||
<text xml:space="preserve" text-anchor="middle" x="239.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t >::iterator ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -63,21 +63,21 @@
|
||||
<g id="edge3_Node000003_Node000002" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge3_Node000003_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.48,-40.24C134.05,-36.84 158.17,-33.03 179.29,-29.7"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="111.96,-36.78 102.63,-41.79 113.05,-43.69 111.96,-36.78"/>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.1,-40.45C134.63,-36.96 160.06,-33.01 182.15,-29.58"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="111.8,-36.96 102.46,-41.95 112.88,-43.87 111.8,-36.96"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="140.12" y="-40.58" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> elements</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="121.75" y="-43.58" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">elements</text>
|
||||
</g>
|
||||
<!-- Node3->Node1 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node3->Node1</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M304.4,-34.16C326.61,-38.55 350.85,-43.35 371.32,-47.4"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="305.31,-30.77 294.83,-32.26 303.96,-37.64 305.31,-30.77"/>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M307.45,-33.59C330.68,-37.98 356.21,-42.81 377.55,-46.85"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="308.22,-30.17 297.75,-31.75 306.92,-37.05 308.22,-30.17"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="332.38" y="-44.91" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> pageMap</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="317" y="-47.29" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">pageMap</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.6 KiB |
@@ -1,20 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
|
||||
<!-- Generated by graphviz version 13.0.1 (20250615.1724)
|
||||
-->
|
||||
<!-- Title: others::lru_cache::LRUCache Pages: 1 -->
|
||||
<svg width="477pt" height="80pt"
|
||||
viewBox="0.00 0.00 476.75 80.12" 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 76.12)">
|
||||
<svg width="483pt" height="93pt"
|
||||
viewBox="0.00 0.00 483.00 93.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 89.12)">
|
||||
<title>others::lru_cache::LRUCache</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="LRU cache class.">
|
||||
<polygon fill="#999999" stroke="#666666" points="468.75,-72.12 371.75,-72.12 371.75,-41.62 468.75,-41.62 468.75,-72.12"/>
|
||||
<text text-anchor="start" x="379.75" y="-58.62" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="420.25" y="-47.38" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="474.75,-71.12 377.75,-71.12 377.75,-40.62 474.75,-40.62 474.75,-71.12"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="385.75" y="-57.62" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text xml:space="preserve" text-anchor="middle" x="426.25" y="-46.38" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -23,7 +23,7 @@
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="100.75,-59.5 0,-59.5 0,-40.25 100.75,-40.25 100.75,-59.5"/>
|
||||
<text text-anchor="middle" x="50.38" y="-46" font-family="Helvetica,sans-Serif" font-size="10.00">std::list< uint64_t ></text>
|
||||
<text xml:space="preserve" text-anchor="middle" x="50.38" y="-46" font-family="Helvetica,sans-Serif" font-size="10.00">std::list< uint64_t ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -31,20 +31,20 @@
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.47,-53.59C114.59,-53.69 116.69,-53.79 118.75,-53.88 223.12,-58.33 249.29,-60.47 353.75,-58.88 359.44,-58.79 365.4,-58.66 371.32,-58.51"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="112.71,-50.1 102.55,-53.09 112.36,-57.09 112.71,-50.1"/>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.16,-59.26C114.38,-59.49 116.58,-59.69 118.75,-59.88 225.5,-68.85 252.82,-70.38 359.75,-63.88 365.47,-63.53 371.45,-63.01 377.38,-62.4"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="112.8,-55.81 102.47,-58.14 112,-62.76 112.8,-55.81"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="236.25" y="-61.15" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> cache</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="226.12" y="-72.62" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">cache</text>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="293,-41.75 179.5,-41.75 179.5,0 293,0 293,-41.75"/>
|
||||
<text text-anchor="start" x="187.5" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="start" x="187.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t, std::list</text>
|
||||
<text text-anchor="middle" x="236.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t >::iterator ></text>
|
||||
<polygon fill="white" stroke="#666666" points="296,-41.75 182.5,-41.75 182.5,0 296,0 296,-41.75"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="190.5" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="190.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t, std::list</text>
|
||||
<text xml:space="preserve" text-anchor="middle" x="239.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t >::iterator ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -52,21 +52,21 @@
|
||||
<g id="edge3_Node000003_Node000002" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge3_Node000003_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.48,-40.24C134.05,-36.84 158.17,-33.03 179.29,-29.7"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="111.96,-36.78 102.63,-41.79 113.05,-43.69 111.96,-36.78"/>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M112.1,-40.45C134.63,-36.96 160.06,-33.01 182.15,-29.58"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="111.8,-36.96 102.46,-41.95 112.88,-43.87 111.8,-36.96"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="140.12" y="-40.58" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> elements</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="121.75" y="-43.58" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">elements</text>
|
||||
</g>
|
||||
<!-- Node3->Node1 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node3->Node1</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M304.4,-34.16C326.61,-38.55 350.85,-43.35 371.32,-47.4"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="305.31,-30.77 294.83,-32.26 303.96,-37.64 305.31,-30.77"/>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M307.45,-33.59C330.68,-37.98 356.21,-42.81 377.55,-46.85"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="308.22,-30.17 297.75,-31.75 306.92,-37.05 308.22,-30.17"/>
|
||||
</a>
|
||||
</g>
|
||||
<text text-anchor="middle" x="332.38" y="-44.91" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> pageMap</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="317" y="-47.29" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">pageMap</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.8 KiB |
Reference in New Issue
Block a user