mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-23 18:12:47 +08:00
175 lines
7.1 KiB
XML
175 lines
7.1 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 14.0.0 (20250921.2048)
|
|
-->
|
|
<!-- Title: graph/bidirectional_dijkstra.cpp Pages: 1 -->
|
|
<svg width="427pt" height="94pt"
|
|
viewBox="0.00 0.00 427.00 94.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 89.75)">
|
|
<title>graph/bidirectional_dijkstra.cpp</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title="[Bidirectional Dijkstra Shortest Path Algorithm] (https://www.coursera.org/learn/algorithms-on-graphs...">
|
|
<polygon fill="#999999" stroke="#666666" points="267.5,-85.75 172.75,-85.75 172.75,-55.25 267.5,-55.25 267.5,-85.75"/>
|
|
<text xml:space="preserve" text-anchor="start" x="180.75" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">graph/bidirectional</text>
|
|
<text xml:space="preserve" text-anchor="middle" x="220.12" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_dijkstra.cpp</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="Node000002" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_Node000002"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="48.25,-19.25 0,-19.25 0,0 48.25,0 48.25,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="24.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge1_Node000001_Node000002" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M172.43,-55.17C137.61,-44.71 91.17,-30.76 59.6,-21.28"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="60.72,-17.96 50.14,-18.44 58.71,-24.67 60.72,-17.96"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="111.75,-19.25 66.5,-19.25 66.5,0 111.75,0 111.75,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="89.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node3 -->
|
|
<g id="edge2_Node000001_Node000003" class="edge">
|
|
<title>Node1->Node3</title>
|
|
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M187.41,-54.8C166.59,-45.44 139.83,-33.41 119.49,-24.27"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="121.15,-21.18 110.6,-20.27 118.28,-27.57 121.15,-21.18"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="Node000004" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_Node000004"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="182.88,-19.25 129.38,-19.25 129.38,0 182.88,0 182.88,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="156.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node4 -->
|
|
<g id="edge3_Node000001_Node000004" class="edge">
|
|
<title>Node1->Node4</title>
|
|
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M204.3,-54.95C195.22,-46.59 183.76,-36.05 174.31,-27.35"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="176.83,-24.92 167.11,-20.73 172.1,-30.07 176.83,-24.92"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="Node000005" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_Node000005"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="239.75,-19.25 200.5,-19.25 200.5,0 239.75,0 239.75,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="220.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">limits</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node5 -->
|
|
<g id="edge4_Node000001_Node000005" class="edge">
|
|
<title>Node1->Node5</title>
|
|
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M220.12,-54.95C220.12,-47.71 220.12,-38.84 220.12,-30.94"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="223.63,-31.21 220.13,-21.21 216.63,-31.21 223.63,-31.21"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="Node000006" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_Node000006"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="300.25,-19.25 258,-19.25 258,0 300.25,0 300.25,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="279.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">queue</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node6 -->
|
|
<g id="edge5_Node000001_Node000006" class="edge">
|
|
<title>Node1->Node6</title>
|
|
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M234.71,-54.95C243,-46.67 253.43,-36.27 262.09,-27.62"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="264.35,-30.31 268.96,-20.77 259.41,-25.36 264.35,-30.31"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node7 -->
|
|
<g id="Node000007" class="node">
|
|
<title>Node7</title>
|
|
<g id="a_Node000007"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="357.75,-19.25 318.5,-19.25 318.5,0 357.75,0 357.75,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="338.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">utility</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node7 -->
|
|
<g id="edge6_Node000001_Node000007" class="edge">
|
|
<title>Node1->Node7</title>
|
|
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M249.6,-54.8C268,-45.61 291.57,-33.86 309.76,-24.78"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="311.29,-27.93 318.67,-20.33 308.16,-21.66 311.29,-27.93"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node8 -->
|
|
<g id="Node000008" class="node">
|
|
<title>Node8</title>
|
|
<g id="a_Node000008"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="418.62,-19.25 375.62,-19.25 375.62,0 418.62,0 418.62,-19.25"/>
|
|
<text xml:space="preserve" text-anchor="middle" x="397.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node8 -->
|
|
<g id="edge7_Node000001_Node000008" class="edge">
|
|
<title>Node1->Node8</title>
|
|
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M264.33,-54.8C295.47,-44.44 336.47,-30.8 364.62,-21.44"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="365.65,-24.78 374.04,-18.3 363.44,-18.14 365.65,-24.78"/>
|
|
</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>
|