mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-24 22:02:20 +08:00
186 lines
9.2 KiB
XML
186 lines
9.2 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: Graph Pages: 1 -->
|
|
<svg width="419pt" height="268pt"
|
|
viewBox="0.00 0.00 419.00 268.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 263.85)">
|
|
<title>Graph</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title=" ">
|
|
<polygon fill="#999999" stroke="#666666" points="411,-125.25 368.75,-125.25 368.75,-106 411,-106 411,-125.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="389.88" y="-111.75" font-family="Helvetica,sans-Serif" font-size="10.00">Graph</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="236.75,-251.25 133.75,-251.25 133.75,-232 236.75,-232 236.75,-251.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="185.25" y="-237.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< Edge ></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="M248.36,-244.69C282.02,-243.17 322.41,-235.8 350.75,-212.62 378.07,-190.29 385.89,-145.7 388.07,-125.72"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="248.64,-241.18 238.74,-244.95 248.83,-248.17 248.64,-241.18"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="296.38" y="-247.35" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">edges</text>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a xlink:href="../../d7/d77/class_edge.html" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="38.5,-251.25 0,-251.25 0,-232 38.5,-232 38.5,-251.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="19.25" y="-237.75" font-family="Helvetica,sans-Serif" font-size="10.00">Edge</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="M50.25,-241.62C73.43,-241.62 106.07,-241.62 133.33,-241.62"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="50.26,-238.13 40.26,-241.63 50.26,-245.13 50.26,-238.13"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="59.5" y="-246.38" 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:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="250.25,-213.5 120.25,-213.5 120.25,-171.75 250.25,-171.75 250.25,-213.5"/>
|
|
<text xml:space="preserve" text-anchor="start" x="128.25" y="-200" font-family="Helvetica,sans-Serif" font-size="10.00">std::map< unsigned</text>
|
|
<text xml:space="preserve" text-anchor="start" x="128.25" y="-188.75" font-family="Helvetica,sans-Serif" font-size="10.00"> int, std::vector< unsigned</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="185.25" y="-177.5" font-family="Helvetica,sans-Serif" font-size="10.00"> int > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4->Node1 -->
|
|
<g id="edge3_Node000001_Node000004" class="edge">
|
|
<title>Node4->Node1</title>
|
|
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M261.71,-192.03C291.21,-188.89 324.24,-181.55 350.75,-165.62 366.66,-156.07 378.25,-137.15 384.24,-125.53"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="261.75,-188.51 252.1,-192.9 262.38,-195.48 261.75,-188.51"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="288.5" y="-195.83" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">m_adjList</text>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="Node000005" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_Node000005"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="244.25,-153.88 126.25,-153.88 126.25,-123.38 244.25,-123.38 244.25,-153.88"/>
|
|
<text xml:space="preserve" text-anchor="start" x="134.25" y="-140.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< std::vector</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="185.25" y="-129.12" font-family="Helvetica,sans-Serif" font-size="10.00">< int > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node5->Node1 -->
|
|
<g id="edge4_Node000001_Node000005" class="edge">
|
|
<title>Node5->Node1</title>
|
|
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M255.81,-130.73C295.42,-126.23 342.23,-120.92 368.44,-117.94"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="255.63,-127.23 246.09,-131.83 256.42,-134.18 255.63,-127.23"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="271.62" y="-149.19" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">capacity</text>
|
|
<text xml:space="preserve" text-anchor="start" x="271.62" y="-133.94" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">residual_capacity</text>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="Node000006" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_Node000006"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="230.75,-105.25 139.75,-105.25 139.75,-86 230.75,-86 230.75,-105.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="185.25" y="-91.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< int ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node6->Node1 -->
|
|
<g id="edge5_Node000001_Node000006" class="edge">
|
|
<title>Node6->Node1</title>
|
|
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M242.62,-90.25C274.72,-88.66 315.45,-89.16 350.75,-97.38 358.04,-99.07 365.57,-102.31 372,-105.6"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="242.5,-86.75 232.72,-90.83 242.91,-93.74 242.5,-86.75"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="296" y="-102.12" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">parent</text>
|
|
</g>
|
|
<!-- Node7 -->
|
|
<g id="Node000007" class="node">
|
|
<title>Node7</title>
|
|
<g id="a_Node000007"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="241.25,-67.88 129.25,-67.88 129.25,-37.38 241.25,-37.38 241.25,-67.88"/>
|
|
<text xml:space="preserve" text-anchor="start" x="137.25" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector< std::tuple</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="185.25" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00">< int, int, int > ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node7->Node1 -->
|
|
<g id="edge6_Node000001_Node000007" class="edge">
|
|
<title>Node7->Node1</title>
|
|
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M252.84,-47.44C284.22,-47.8 321.16,-52.45 350.75,-68.38 366.34,-76.77 377.89,-94.49 383.99,-105.69"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="253.05,-43.94 243.07,-47.49 253.08,-50.94 253.05,-43.94"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="271.25" y="-73.12" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">edge_participated</text>
|
|
</g>
|
|
<!-- Node8 -->
|
|
<g id="Node000008" class="node">
|
|
<title>Node8</title>
|
|
<g id="a_Node000008"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="238.62,-19.25 131.88,-19.25 131.88,0 238.62,0 238.62,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="185.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::bitset< MAXN ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node8->Node1 -->
|
|
<g id="edge7_Node000001_Node000008" class="edge">
|
|
<title>Node8->Node1</title>
|
|
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M250.29,-1.55C283.22,-0.77 322.31,-5.45 350.75,-26.38 376.94,-45.65 385.31,-86.59 387.84,-105.57"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="250.28,1.96 240.43,-1.97 250.58,-5.04 250.28,1.96"/>
|
|
</a>
|
|
</g>
|
|
<text xml:space="preserve" text-anchor="start" x="295.25" y="-31.12" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">visited</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>
|