mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-13 15:29:45 +08:00
136 lines
6.3 KiB
XML
136 lines
6.3 KiB
XML
<?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 13.1.2 (20250808.2320)
|
|
-->
|
|
<!-- Title: hash_chain Pages: 1 -->
|
|
<svg width="163pt" height="340pt"
|
|
viewBox="0.00 0.00 163.00 340.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">
|
|
|
|
<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 335.75)">
|
|
<title>hash_chain</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title="Chain class with a given modulus.">
|
|
<polygon fill="#999999" stroke="#666666" points="94,-19.25 28.5,-19.25 28.5,0 94,0 94,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="61.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">hash_chain</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="Node000002" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_Node000002"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="121.38,-103 1.12,-103 1.12,-72.5 121.38,-72.5 121.38,-103"/>
|
|
<text xml:space="preserve" text-anchor="start" x="9.12" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< std::shared</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="61.25" y="-78.25" font-family="Helvetica,sans-Serif" font-size="10.00">_ptr< Node > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node1 -->
|
|
<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="M61.25,-60.85C61.25,-46.53 61.25,-29.63 61.25,-19.54"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="57.75,-60.56 61.25,-70.56 64.75,-60.56 57.75,-60.56"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="64.25" y="-42" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">head</text>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="122.5,-175.5 0,-175.5 0,-156.25 122.5,-156.25 122.5,-175.5"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="61.25" y="-162" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Node ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3->Node2 -->
|
|
<g id="edge2_Node000002_Node000003" class="edge">
|
|
<title>Node3->Node2</title>
|
|
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M61.25,-144.72C61.25,-131.67 61.25,-114.98 61.25,-103.23"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="57.75,-144.33 61.25,-154.33 64.75,-144.33 57.75,-144.33"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="64.25" y="-125.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">elements</text>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="Node000004" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_Node000004"><a xlink:href="../../db/d8b/struct_node.html" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="112.38,-248 10.12,-248 10.12,-228.75 112.38,-228.75 112.38,-248"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="61.25" y="-234.5" font-family="Helvetica,sans-Serif" font-size="10.00">Node< ValueType ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4->Node3 -->
|
|
<g id="edge3_Node000003_Node000004" class="edge">
|
|
<title>Node4->Node3</title>
|
|
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M61.25,-217.3C61.25,-203.69 61.25,-186.35 61.25,-175.95"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="57.75,-216.93 61.25,-226.93 64.75,-216.93 57.75,-216.93"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="64.25" y="-198.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">ptr</text>
|
|
</g>
|
|
<!-- Node4->Node4 -->
|
|
<g id="edge5_Node000004_Node000004" class="edge">
|
|
<title>Node4->Node4</title>
|
|
<g id="a_edge5_Node000004_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M123.88,-243.19C127.93,-242.07 130.38,-240.46 130.38,-238.38 130.38,-234.76 123.06,-232.59 112.8,-231.86"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="123.65,-239.69 114.3,-244.66 124.71,-246.61 123.65,-239.69"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="133.38" y="-234.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">next</text>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="Node000005" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_Node000005"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="118,-331.75 4.5,-331.75 4.5,-301.25 118,-301.25 118,-331.75"/>
|
|
<text xml:space="preserve" text-anchor="start" x="12.5" y="-318.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Node</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="61.25" y="-307" font-family="Helvetica,sans-Serif" font-size="10.00">< ValueType > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node5->Node4 -->
|
|
<g id="edge4_Node000004_Node000005" class="edge">
|
|
<title>Node5->Node4</title>
|
|
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M61.25,-289.6C61.25,-275.28 61.25,-258.38 61.25,-248.29"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="57.75,-289.31 61.25,-299.31 64.75,-289.31 57.75,-289.31"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="64.25" y="-270.75" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">next</text>
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
</svg>
|
|
|
|
<style type='text/css'>
|
|
<![CDATA[
|
|
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
|
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
|
]]>
|
|
</style>
|
|
<script type="application/ecmascript"><![CDATA[
|
|
document.addEventListener('DOMContentLoaded', (event) => {
|
|
highlightEdges();
|
|
highlightAdjacentNodes();
|
|
});
|
|
]]></script>
|
|
</svg>
|