mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-27 12:04:49 +08:00
119 lines
6.5 KiB
XML
119 lines
6.5 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 8.0.5 (20230430.1635)
|
|
-->
|
|
<!-- Title: hash_chain Pages: 1 -->
|
|
<svg width="223pt" height="335pt"
|
|
viewBox="0.00 0.00 222.62 335.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 331)">
|
|
<title>hash_chain</title>
|
|
<!-- Node1 -->
|
|
<g id="node1" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_node1"><a xlink:title="Chain class with a given modulus.">
|
|
<polygon fill="#999999" stroke="#666666" points="103.25,-19.25 37.75,-19.25 37.75,0 103.25,0 103.25,-19.25"/>
|
|
<text text-anchor="middle" x="70.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">hash_chain</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="node2" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="115,-145.5 0,-145.5 0,-115 115,-115 115,-145.5"/>
|
|
<text text-anchor="start" x="8" y="-132" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< struct</text>
|
|
<text text-anchor="middle" x="57.5" y="-120.75" font-family="Helvetica,sans-Serif" font-size="10.00"> Node ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>Node2->Node1</title>
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M59.93,-103.61C61.04,-92.24 62.41,-78.7 63.75,-66.5 65.57,-49.99 67.95,-30.77 69.34,-19.72"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="56.35,-103.24 58.88,-113.53 63.32,-103.92 56.35,-103.24"/>
|
|
<text text-anchor="middle" x="75.38" y="-77.88" font-family="Helvetica,sans-Serif" font-size="10.00"> next</text>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="node3" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_node3"><a xlink:href="../../db/d8b/struct_node.html" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="131.62,-249.25 29.38,-249.25 29.38,-230 131.62,-230 131.62,-249.25"/>
|
|
<text text-anchor="middle" x="80.5" y="-235.75" font-family="Helvetica,sans-Serif" font-size="10.00">Node< ValueType ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3->Node2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>Node3->Node2</title>
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M76.36,-219.29C71.84,-198.19 64.71,-164.91 60.63,-145.88"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="73.1,-219.79 78.62,-228.84 79.95,-218.33 73.1,-219.79"/>
|
|
<text text-anchor="middle" x="82.62" y="-202.5" font-family="Helvetica,sans-Serif" font-size="10.00"> ptr</text>
|
|
</g>
|
|
<!-- Node3->Node3 -->
|
|
<g id="edge4" class="edge">
|
|
<title>Node3->Node3</title>
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M142.8,-244.13C147.05,-243.09 149.62,-241.59 149.62,-239.62 149.62,-236.31 142.31,-234.32 132.05,-233.65"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="142.48,-240.78 133.05,-245.6 143.43,-247.71 142.48,-240.78"/>
|
|
<text text-anchor="middle" x="160.5" y="-235.75" font-family="Helvetica,sans-Serif" font-size="10.00"> next</text>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="node6" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="213.75,-182.75 91.25,-182.75 91.25,-163.5 213.75,-163.5 213.75,-182.75"/>
|
|
<text text-anchor="middle" x="152.5" y="-169.25" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Node ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3->Node6 -->
|
|
<g id="edge7" class="edge">
|
|
<title>Node3->Node6</title>
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M98.45,-222.54C112.4,-210.05 131.22,-193.19 142.57,-183.02"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="96.62,-219.38 91.51,-228.66 101.3,-224.59 96.62,-219.38"/>
|
|
<text text-anchor="middle" x="127.62" y="-202.5" font-family="Helvetica,sans-Serif" font-size="10.00"> ptr</text>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="node4" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="137.25,-327 23.75,-327 23.75,-296.5 137.25,-296.5 137.25,-327"/>
|
|
<text text-anchor="start" x="31.75" y="-313.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::shared_ptr< Node</text>
|
|
<text text-anchor="middle" x="80.5" y="-302.25" font-family="Helvetica,sans-Serif" font-size="10.00">< ValueType > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4->Node3 -->
|
|
<g id="edge3" class="edge">
|
|
<title>Node4->Node3</title>
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M80.5,-285.37C80.5,-272.77 80.5,-258.37 80.5,-249.38"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="77,-285.22 80.5,-295.22 84,-285.22 77,-285.22"/>
|
|
<text text-anchor="middle" x="91.38" y="-269" font-family="Helvetica,sans-Serif" font-size="10.00"> next</text>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="node5" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector.html" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="214.62,-97 94.38,-97 94.38,-66.5 214.62,-66.5 214.62,-97"/>
|
|
<text text-anchor="start" x="102.38" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< std::shared</text>
|
|
<text text-anchor="middle" x="154.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">_ptr< Node > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node5->Node1 -->
|
|
<g id="edge5" class="edge">
|
|
<title>Node5->Node1</title>
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M129.08,-59.53C112.96,-46.07 92.96,-29.38 80.99,-19.38"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="126.18,-62.5 136.1,-66.22 130.66,-57.12 126.18,-62.5"/>
|
|
<text text-anchor="middle" x="126.5" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00"> head</text>
|
|
</g>
|
|
<!-- Node6->Node5 -->
|
|
<g id="edge6" class="edge">
|
|
<title>Node6->Node5</title>
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M152.94,-152.51C153.31,-135.81 153.84,-112.2 154.18,-97.18"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="149.42,-152.15 152.7,-162.23 156.42,-152.31 149.42,-152.15"/>
|
|
<text text-anchor="middle" x="174.88" y="-126.38" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
|
</g>
|
|
</g>
|
|
</svg>
|