Documentation for 0953376d31

This commit is contained in:
github-actions
2023-06-16 21:18:14 +00:00
parent 26f1eee566
commit 14deeecd50
7241 changed files with 234176 additions and 54779 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: graph Namespace Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -324,8 +324,7 @@ Functions</h2></td></tr>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a0e30e0dca68cb6e4f671440819b35b6a_cgraph.svg" width="279" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a0e30e0dca68cb6e4f671440819b35b6a_cgraph.svg" width="279" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -458,14 +457,13 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 103</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;bool&gt;</a> visited(vertices, <span class="keyword">false</span>);</div>
<div class="line"><span class="lineno"> 104</span> <a class="code hl_function" href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8">explore</a>(adj, start, &amp;visited);</div>
<div class="line"><span class="lineno"> 105</span>}</div>
<div class="ttc" id="anamespacegraph_html_a3ae80bc4c6a79d041b4f3a6589eb7fb8"><div class="ttname"><a href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8">graph::explore</a></div><div class="ttdeci">void explore(const std::vector&lt; std::vector&lt; int &gt; &gt; *adj, int u, std::vector&lt; bool &gt; *visited)</div><div class="ttdoc">Utility function for depth first seach algorithm this function explores the vertex which is passed in...</div><div class="ttdef"><b>Definition:</b> connected_components.cpp:59</div></div>
<div class="ttc" id="anamespacegraph_html_a3ae80bc4c6a79d041b4f3a6589eb7fb8"><div class="ttname"><a href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8">graph::explore</a></div><div class="ttdeci">void explore(const std::vector&lt; std::vector&lt; int &gt; &gt; *adj, int u, std::vector&lt; bool &gt; *visited)</div><div class="ttdoc">Utility function for depth first seach algorithm this function explores the vertex which is passed in...</div><div class="ttdef"><b>Definition</b> connected_components.cpp:59</div></div>
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/size.html">std::vector::size</a></div><div class="ttdeci">T size(T... args)</div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_ab5428a3519267a28bba4b4310cfbb6ae_cgraph.svg" width="296" height="110"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_ab5428a3519267a28bba4b4310cfbb6ae_cgraph.svg" width="296" height="110"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -575,8 +573,7 @@ Here is the call graph for this function:</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_adc68cbc8ba09eb1142265935c0d45b84_cgraph.svg" width="320" height="315"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_adc68cbc8ba09eb1142265935c0d45b84_cgraph.svg" width="320" height="315"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -633,8 +630,7 @@ Here is the call graph for this function:</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a3ae80bc4c6a79d041b4f3a6589eb7fb8_cgraph.svg" width="115" height="60"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a3ae80bc4c6a79d041b4f3a6589eb7fb8_cgraph.svg" width="115" height="60"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -693,8 +689,7 @@ Here is the call graph for this function:</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a64c1db5aad7502c6f08e4652f6edd463_cgraph.svg" width="266" height="60"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a64c1db5aad7502c6f08e4652f6edd463_cgraph.svg" width="266" height="60"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -739,8 +734,7 @@ Here is the call graph for this function:</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a83ab16e96cec644109a58dfc9329bc2b_cgraph.svg" width="391" height="110"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a83ab16e96cec644109a58dfc9329bc2b_cgraph.svg" width="391" height="110"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -789,12 +783,11 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 90</span> }</div>
<div class="line"><span class="lineno"> 91</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><span class="lineno"> 92</span>}</div>
<div class="ttc" id="anamespacegraph_html_a8e1b547cd407c0774e63f0dc95cda9e7"><div class="ttname"><a href="../../df/dce/namespacegraph.html#a8e1b547cd407c0774e63f0dc95cda9e7">graph::checkBipartite</a></div><div class="ttdeci">bool checkBipartite(const std::vector&lt; std::vector&lt; int64_t &gt; &gt; &amp;graph, int64_t index, std::vector&lt; int64_t &gt; *visited)</div><div class="ttdoc">function to check whether the passed graph is bipartite or not</div><div class="ttdef"><b>Definition:</b> is_graph_bipartite2.cpp:36</div></div>
<div class="ttc" id="anamespacegraph_html_a8e1b547cd407c0774e63f0dc95cda9e7"><div class="ttname"><a href="../../df/dce/namespacegraph.html#a8e1b547cd407c0774e63f0dc95cda9e7">graph::checkBipartite</a></div><div class="ttdeci">bool checkBipartite(const std::vector&lt; std::vector&lt; int64_t &gt; &gt; &amp;graph, int64_t index, std::vector&lt; int64_t &gt; *visited)</div><div class="ttdoc">function to check whether the passed graph is bipartite or not</div><div class="ttdef"><b>Definition</b> is_graph_bipartite2.cpp:36</div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a84b0551489c613a681cc83b34450da4b_cgraph.svg" width="323" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_a84b0551489c613a681cc83b34450da4b_cgraph.svg" width="323" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -871,7 +864,7 @@ Here is the call graph for this function:</div>
<div class="line"><span class="lineno"> 69</span> <span class="keywordflow">return</span> min_path;</div>
<div class="line"><span class="lineno"> 70</span>}</div>
<div class="ttc" id="abegin_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/begin.html">std::vector::begin</a></div><div class="ttdeci">T begin(T... args)</div></div>
<div class="ttc" id="acomposite__simpson__rule_8cpp_html_a1b74d828b33760094906797042b89442"><div class="ttname"><a href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">numerical_methods::simpson_method::k</a></div><div class="ttdeci">double k(double x)</div><div class="ttdoc">Another test function.</div><div class="ttdef"><b>Definition:</b> composite_simpson_rule.cpp:117</div></div>
<div class="ttc" id="acomposite__simpson__rule_8cpp_html_a1b74d828b33760094906797042b89442"><div class="ttname"><a href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">numerical_methods::simpson_method::k</a></div><div class="ttdeci">double k(double x)</div><div class="ttdoc">Another test function.</div><div class="ttdef"><b>Definition</b> composite_simpson_rule.cpp:117</div></div>
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/end.html">std::vector::end</a></div><div class="ttdeci">T end(T... args)</div></div>
<div class="ttc" id="amin_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/min.html">std::min</a></div><div class="ttdeci">T min(T... args)</div></div>
<div class="ttc" id="anext_permutation_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/next_permutation.html">std::next_permutation</a></div><div class="ttdeci">T next_permutation(T... args)</div></div>
@@ -879,8 +872,7 @@ Here is the call graph for this function:</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_ab7706341d006e20d1ae58274187a3346_cgraph.svg" width="388" height="184"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/dce/namespacegraph_ab7706341d006e20d1ae58274187a3346_cgraph.svg" width="388" height="184"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
@@ -891,7 +883,7 @@ Here is the call graph for this function:</div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../df/dce/namespacegraph.html">graph</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
</ul>
</div>
</body>

View File

@@ -1,4 +1,5 @@
<map id="graph::addEdge" name="graph::addEdge">
<area shape="rect" id="node1" title="Function that add edge between two nodes or vertices of graph." alt="" coords="5,5,118,31"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/pair/make_pair.html#" title=" " alt="" coords="166,5,273,31"/>
<area shape="rect" id="Node000001" title="Function that add edge between two nodes or vertices of graph." alt="" coords="5,5,118,31"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/pair/make_pair.html#" title=" " alt="" coords="166,5,273,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="118,16,151,16,151,21,118,21"/>
</map>

View File

@@ -1 +1 @@
0f76fe3edb87afe6205a6db09f235a33
b00dad386c3ad344f61096db0dce38d4

View File

@@ -6,31 +6,59 @@
<!-- Title: graph::addEdge Pages: 1 -->
<svg width="209pt" height="27pt"
viewBox="0.00 0.00 208.75 27.25" 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" onload="init(evt)">
<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 23.25)">
<title>graph::addEdge</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Function that add edge between two nodes or vertices of graph.">
<g id="a_Node000001"><a xlink:title="Function that add edge between two nodes or vertices of graph.">
<polygon fill="#999999" stroke="#666666" points="84.25,-19.25 0,-19.25 0,0 84.25,0 84.25,-19.25"/>
<text text-anchor="middle" x="42.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::addEdge</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html#" xlink:title=" ">
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="200.75,-19.25 120.25,-19.25 120.25,0 200.75,0 200.75,-19.25"/>
<text text-anchor="middle" x="160.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_pair</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M84.48,-9.62C92.39,-9.62 100.75,-9.62 108.9,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="108.84,-13.13 118.84,-9.62 108.84,-6.13 108.84,-13.13"/>
</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>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -0,0 +1,39 @@
<?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: graph::addEdge Pages: 1 -->
<svg width="209pt" height="27pt"
viewBox="0.00 0.00 208.75 27.25" 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 23.25)">
<title>graph::addEdge</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Function that add edge between two nodes or vertices of graph.">
<polygon fill="#999999" stroke="#666666" points="84.25,-19.25 0,-19.25 0,0 84.25,0 84.25,-19.25"/>
<text text-anchor="middle" x="42.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::addEdge</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="200.75,-19.25 120.25,-19.25 120.25,0 200.75,0 200.75,-19.25"/>
<text text-anchor="middle" x="160.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_pair</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M84.48,-9.62C92.39,-9.62 100.75,-9.62 108.9,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="108.84,-13.13 118.84,-9.62 108.84,-6.13 108.84,-13.13"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -1,3 +1,4 @@
<map id="graph::explore" name="graph::explore">
<area shape="rect" id="node1" title="Utility function for depth first seach algorithm this function explores the vertex which is passed in..." alt="" coords="5,29,109,55"/>
<area shape="rect" id="Node000001" title="Utility function for depth first seach algorithm this function explores the vertex which is passed in..." alt="" coords="5,29,109,55"/>
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="38,30,35,21,37,11,45,5,57,3,71,6,77,13,74,16,68,10,57,8,47,10,42,14,40,20,43,28"/>
</map>

View File

@@ -1 +1 @@
719303685325634e75381145ba4090a1
675573ab4b9e78c486c65bb5c30a6eff

View File

@@ -6,22 +6,50 @@
<!-- Title: graph::explore Pages: 1 -->
<svg width="86pt" height="45pt"
viewBox="0.00 0.00 85.50 45.25" 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" onload="init(evt)">
<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 41.25)">
<title>graph::explore</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<g id="a_Node000001"><a xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<polygon fill="#999999" stroke="#666666" points="77.5,-19.25 0,-19.25 0,0 77.5,0 77.5,-19.25"/>
<text text-anchor="middle" x="38.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M26.62,-19.54C21.08,-28.15 25.13,-37.25 38.75,-37.25 46.41,-37.25 51.05,-34.37 52.65,-30.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="55.95,-29.84 50.88,-20.54 49.04,-30.97 55.95,-29.84"/>
</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>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,30 @@
<?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: graph::explore Pages: 1 -->
<svg width="86pt" height="45pt"
viewBox="0.00 0.00 85.50 45.25" 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 41.25)">
<title>graph::explore</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<polygon fill="#999999" stroke="#666666" points="77.5,-19.25 0,-19.25 0,0 77.5,0 77.5,-19.25"/>
<text text-anchor="middle" x="38.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node1 -->
<g id="edge1_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M26.62,-19.54C21.08,-28.15 25.13,-37.25 38.75,-37.25 46.41,-37.25 51.05,-34.37 52.65,-30.32"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="55.95,-29.84 50.88,-20.54 49.04,-30.97 55.95,-29.84"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,4 +1,6 @@
<map id="graph::explore" name="graph::explore">
<area shape="rect" id="node1" title="Explores the given vertex, exploring a vertex means traversing over all the vertices which are connec..." alt="" coords="5,29,109,55"/>
<area shape="rect" id="node2" href="$df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" title="Utility function for depth first seach algorithm this function explores the vertex which is passed in..." alt="" coords="157,29,260,55"/>
<area shape="rect" id="Node000001" title="Explores the given vertex, exploring a vertex means traversing over all the vertices which are connec..." alt="" coords="5,29,109,55"/>
<area shape="rect" id="Node000002" href="$df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" title="Utility function for depth first seach algorithm this function explores the vertex which is passed in..." alt="" coords="157,29,260,55"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="109,40,142,40,142,45,109,45"/>
<area shape="poly" id="edge2_Node000002_Node000002" title=" " alt="" coords="182,30,177,21,180,11,191,5,208,3,228,6,237,13,234,17,226,11,208,8,193,10,185,15,183,20,187,28"/>
</map>

View File

@@ -1 +1 @@
b4a6b533aa1dae7a058571a4402ede00
1ad0a04b415348c77d8158144d548b3a

View File

@@ -6,37 +6,68 @@
<!-- Title: graph::explore Pages: 1 -->
<svg width="199pt" height="45pt"
viewBox="0.00 0.00 199.00 45.25" 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" onload="init(evt)">
<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 41.25)">
<title>graph::explore</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Explores the given vertex, exploring a vertex means traversing over all the vertices which are connec...">
<g id="a_Node000001"><a xlink:title="Explores the given vertex, exploring a vertex means traversing over all the vertices which are connec...">
<polygon fill="#999999" stroke="#666666" points="77.5,-19.25 0,-19.25 0,0 77.5,0 77.5,-19.25"/>
<text text-anchor="middle" x="38.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<g id="a_Node000002"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<polygon fill="white" stroke="#666666" points="191,-19.25 113.5,-19.25 113.5,0 191,0 191,-19.25"/>
<text text-anchor="middle" x="152.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.81,-9.62C85.79,-9.62 94.32,-9.62 102.63,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="102.36,-13.13 112.36,-9.62 102.36,-6.13 102.36,-13.13"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<g id="edge2_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M134.48,-19.54C126.38,-28.15 132.3,-37.25 152.25,-37.25 163.78,-37.25 170.63,-34.21 172.79,-29.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.97,-29.31 170.02,-20.54 169.2,-31.1 175.97,-29.31"/>
</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>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,48 @@
<?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: graph::explore Pages: 1 -->
<svg width="199pt" height="45pt"
viewBox="0.00 0.00 199.00 45.25" 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 41.25)">
<title>graph::explore</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Explores the given vertex, exploring a vertex means traversing over all the vertices which are connec...">
<polygon fill="#999999" stroke="#666666" points="77.5,-19.25 0,-19.25 0,0 77.5,0 77.5,-19.25"/>
<text text-anchor="middle" x="38.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<polygon fill="white" stroke="#666666" points="191,-19.25 113.5,-19.25 113.5,0 191,0 191,-19.25"/>
<text text-anchor="middle" x="152.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.81,-9.62C85.79,-9.62 94.32,-9.62 102.63,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="102.36,-13.13 112.36,-9.62 102.36,-6.13 102.36,-13.13"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node2 -->
<g id="edge2_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M134.48,-19.54C126.38,-28.15 132.3,-37.25 152.25,-37.25 163.78,-37.25 170.63,-34.21 172.79,-29.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.97,-29.31 170.02,-20.54 169.2,-31.1 175.97,-29.31"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1,5 +1,8 @@
<map id="graph::getConnectedComponents" name="graph::getConnectedComponents">
<area shape="rect" id="node1" title="Function that perfoms depth first search algorithm on graph and calculated the number of connected co..." alt="" coords="5,55,222,80"/>
<area shape="rect" id="node2" href="$df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" title="Utility function for depth first seach algorithm this function explores the vertex which is passed in..." alt="" coords="276,29,379,55"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="270,79,385,104"/>
<area shape="rect" id="Node000001" title="Function that perfoms depth first search algorithm on graph and calculated the number of connected co..." alt="" coords="5,55,222,80"/>
<area shape="rect" id="Node000002" href="$df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" title="Utility function for depth first seach algorithm this function explores the vertex which is passed in..." alt="" coords="276,29,379,55"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="222,52,261,47,261,53,223,57"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="270,79,385,104"/>
<area shape="poly" id="edge3_Node000001_Node000003" title=" " alt="" coords="223,77,255,81,255,86,222,82"/>
<area shape="poly" id="edge2_Node000002_Node000002" title=" " alt="" coords="292,31,285,21,289,11,303,5,327,3,355,6,368,13,365,18,353,11,327,8,305,10,293,15,290,20,296,27"/>
</map>

View File

@@ -1 +1 @@
394c33bec1e6ad04c8c97d11336a7dc3
e5519b4e4ad515e239ffd9c3919c33b2

View File

@@ -6,52 +6,86 @@
<!-- Title: graph::getConnectedComponents Pages: 1 -->
<svg width="293pt" height="82pt"
viewBox="0.00 0.00 292.75 82.25" 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" onload="init(evt)">
<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 78.25)">
<title>graph::getConnectedComponents</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Function that perfoms depth first search algorithm on graph and calculated the number of connected co...">
<g id="a_Node000001"><a xlink:title="Function that perfoms depth first search algorithm on graph and calculated the number of connected co...">
<polygon fill="#999999" stroke="#666666" points="162.25,-37.25 0,-37.25 0,-18 162.25,-18 162.25,-37.25"/>
<text text-anchor="middle" x="81.12" y="-23.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::getConnectedComponents</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<g id="a_Node000002"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<polygon fill="white" stroke="#666666" points="280.25,-56.25 202.75,-56.25 202.75,-37 280.25,-37 280.25,-56.25"/>
<text text-anchor="middle" x="241.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M162.7,-37.29C172.59,-38.48 182.45,-39.66 191.66,-40.77"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="191.19,-44.35 201.54,-42.07 192.03,-37.4 191.19,-44.35"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="284.75,-19.25 198.25,-19.25 198.25,0 284.75,0 284.75,-19.25"/>
<text text-anchor="middle" x="241.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<g id="edge3_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M162.7,-18.47C171.01,-17.52 179.3,-16.58 187.21,-15.68"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="187.54,-19.05 197.08,-14.45 186.75,-12.1 187.54,-19.05"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<g id="edge2_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M216.39,-56.54C204.94,-65.15 213.31,-74.25 241.5,-74.25 258.24,-74.25 267.99,-71.04 270.75,-66.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="273.64,-65.46 266.61,-57.54 267.17,-68.12 273.64,-65.46"/>
</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>

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -0,0 +1,66 @@
<?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: graph::getConnectedComponents Pages: 1 -->
<svg width="293pt" height="82pt"
viewBox="0.00 0.00 292.75 82.25" 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 78.25)">
<title>graph::getConnectedComponents</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Function that perfoms depth first search algorithm on graph and calculated the number of connected co...">
<polygon fill="#999999" stroke="#666666" points="162.25,-37.25 0,-37.25 0,-18 162.25,-18 162.25,-37.25"/>
<text text-anchor="middle" x="81.12" y="-23.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::getConnectedComponents</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<polygon fill="white" stroke="#666666" points="280.25,-56.25 202.75,-56.25 202.75,-37 280.25,-37 280.25,-56.25"/>
<text text-anchor="middle" x="241.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M162.7,-37.29C172.59,-38.48 182.45,-39.66 191.66,-40.77"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="191.19,-44.35 201.54,-42.07 192.03,-37.4 191.19,-44.35"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="284.75,-19.25 198.25,-19.25 198.25,0 284.75,0 284.75,-19.25"/>
<text text-anchor="middle" x="241.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge3_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M162.7,-18.47C171.01,-17.52 179.3,-16.58 187.21,-15.68"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="187.54,-19.05 197.08,-14.45 186.75,-12.1 187.54,-19.05"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node2 -->
<g id="edge2_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M216.39,-56.54C204.94,-65.15 213.31,-74.25 241.5,-74.25 258.24,-74.25 267.99,-71.04 270.75,-66.63"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="273.64,-65.46 266.61,-57.54 267.17,-68.12 273.64,-65.46"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1,4 +1,5 @@
<map id="graph::isBipartite" name="graph::isBipartite">
<area shape="rect" id="node1" title="returns true if the given graph is bipartite else returns false" alt="" coords="5,5,125,31"/>
<area shape="rect" id="node2" href="$df/dce/namespacegraph.html#a8e1b547cd407c0774e63f0dc95cda9e7" title="function to check whether the passed graph is bipartite or not" alt="" coords="173,5,317,31"/>
<area shape="rect" id="Node000001" title="returns true if the given graph is bipartite else returns false" alt="" coords="5,5,125,31"/>
<area shape="rect" id="Node000002" href="$df/dce/namespacegraph.html#a8e1b547cd407c0774e63f0dc95cda9e7" title="function to check whether the passed graph is bipartite or not" alt="" coords="173,5,317,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="125,16,158,16,158,21,125,21"/>
</map>

View File

@@ -1 +1 @@
83abd1ba51d2e64f23539ed418ffb4ff
950f9d0235ed52479cbfd22350523221

View File

@@ -6,31 +6,59 @@
<!-- Title: graph::isBipartite Pages: 1 -->
<svg width="242pt" height="27pt"
viewBox="0.00 0.00 241.75 27.25" 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" onload="init(evt)">
<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 23.25)">
<title>graph::isBipartite</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="returns true if the given graph is bipartite else returns false">
<g id="a_Node000001"><a xlink:title="returns true if the given graph is bipartite else returns false">
<polygon fill="#999999" stroke="#666666" points="89.5,-19.25 0,-19.25 0,0 89.5,0 89.5,-19.25"/>
<text text-anchor="middle" x="44.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::isBipartite</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../df/dce/namespacegraph.html#a8e1b547cd407c0774e63f0dc95cda9e7" target="_top" xlink:title="function to check whether the passed graph is bipartite or not">
<g id="a_Node000002"><a xlink:href="../../df/dce/namespacegraph.html#a8e1b547cd407c0774e63f0dc95cda9e7" target="_top" xlink:title="function to check whether the passed graph is bipartite or not">
<polygon fill="white" stroke="#666666" points="233.75,-19.25 125.5,-19.25 125.5,0 233.75,0 233.75,-19.25"/>
<text text-anchor="middle" x="179.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::checkBipartite</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M90,-9.62C97.87,-9.62 106.21,-9.62 114.51,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="114.34,-13.13 124.34,-9.62 114.34,-6.13 114.34,-13.13"/>
</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>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,39 @@
<?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: graph::isBipartite Pages: 1 -->
<svg width="242pt" height="27pt"
viewBox="0.00 0.00 241.75 27.25" 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 23.25)">
<title>graph::isBipartite</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="returns true if the given graph is bipartite else returns false">
<polygon fill="#999999" stroke="#666666" points="89.5,-19.25 0,-19.25 0,0 89.5,0 89.5,-19.25"/>
<text text-anchor="middle" x="44.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::isBipartite</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../df/dce/namespacegraph.html#a8e1b547cd407c0774e63f0dc95cda9e7" target="_top" xlink:title="function to check whether the passed graph is bipartite or not">
<polygon fill="white" stroke="#666666" points="233.75,-19.25 125.5,-19.25 125.5,0 233.75,0 233.75,-19.25"/>
<text text-anchor="middle" x="179.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::checkBipartite</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M90,-9.62C97.87,-9.62 106.21,-9.62 114.51,-9.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="114.34,-13.13 124.34,-9.62 114.34,-6.13 114.34,-13.13"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,5 +1,8 @@
<map id="graph::depth_first_search" name="graph::depth_first_search">
<area shape="rect" id="node1" title="initiates depth first search algorithm." alt="" coords="5,47,128,88"/>
<area shape="rect" id="node2" href="$df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" title="Utility function for depth first seach algorithm this function explores the vertex which is passed in..." alt="" coords="182,29,285,55"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="176,79,291,104"/>
<area shape="rect" id="Node000001" title="initiates depth first search algorithm." alt="" coords="5,47,128,88"/>
<area shape="rect" id="Node000002" href="$df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" title="Utility function for depth first seach algorithm this function explores the vertex which is passed in..." alt="" coords="182,29,285,55"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="128,56,167,50,168,55,128,61"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="176,79,291,104"/>
<area shape="poly" id="edge3_Node000001_Node000003" title=" " alt="" coords="128,74,161,78,161,84,128,79"/>
<area shape="poly" id="edge2_Node000002_Node000002" title=" " alt="" coords="205,30,199,21,203,11,214,5,233,3,255,6,265,13,262,17,253,11,233,8,216,10,207,15,205,20,210,28"/>
</map>

View File

@@ -1 +1 @@
4d038152303be1f6828c8b5efe2e56b0
77aa3edb5da1f45515c4d9e8c6f53406

View File

@@ -6,12 +6,22 @@
<!-- Title: graph::depth_first_search Pages: 1 -->
<svg width="222pt" height="82pt"
viewBox="0.00 0.00 222.25 82.25" 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" onload="init(evt)">
<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 78.25)">
<title>graph::depth_first_search</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="initiates depth first search algorithm.">
<g id="a_Node000001"><a xlink:title="initiates depth first search algorithm.">
<polygon fill="#999999" stroke="#666666" points="91.75,-42.88 0,-42.88 0,-12.37 91.75,-12.37 91.75,-42.88"/>
<text text-anchor="start" x="8" y="-29.38" font-family="Helvetica,sans-Serif" font-size="10.00">graph::depth_first</text>
<text text-anchor="middle" x="45.88" y="-18.12" font-family="Helvetica,sans-Serif" font-size="10.00">_search</text>
@@ -19,40 +29,64 @@
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<g id="a_Node000002"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<polygon fill="white" stroke="#666666" points="209.75,-56.25 132.25,-56.25 132.25,-37 209.75,-37 209.75,-56.25"/>
<text text-anchor="middle" x="171" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M92.02,-34.59C101.6,-36.07 111.74,-37.64 121.44,-39.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="120.72,-42.72 131.14,-40.78 121.79,-35.8 120.72,-42.72"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="214.25,-19.25 127.75,-19.25 127.75,0 214.25,0 214.25,-19.25"/>
<text text-anchor="middle" x="171" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge3" class="edge">
<g id="edge3_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M92.02,-21.02C100.04,-19.85 108.46,-18.62 116.68,-17.42"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="116.93,-20.78 126.31,-15.87 115.91,-13.85 116.93,-20.78"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node2 -->
<g id="edge2" class="edge">
<g id="edge2_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M151.41,-56.54C142.48,-65.15 149.01,-74.25 171,-74.25 183.72,-74.25 191.26,-71.21 193.64,-66.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="196.75,-66.15 190.59,-57.54 190.04,-68.12 196.75,-66.15"/>
</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>

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -0,0 +1,67 @@
<?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: graph::depth_first_search Pages: 1 -->
<svg width="222pt" height="82pt"
viewBox="0.00 0.00 222.25 82.25" 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 78.25)">
<title>graph::depth_first_search</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="initiates depth first search algorithm.">
<polygon fill="#999999" stroke="#666666" points="91.75,-42.88 0,-42.88 0,-12.37 91.75,-12.37 91.75,-42.88"/>
<text text-anchor="start" x="8" y="-29.38" font-family="Helvetica,sans-Serif" font-size="10.00">graph::depth_first</text>
<text text-anchor="middle" x="45.88" y="-18.12" font-family="Helvetica,sans-Serif" font-size="10.00">_search</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../df/dce/namespacegraph.html#a3ae80bc4c6a79d041b4f3a6589eb7fb8" target="_top" xlink:title="Utility function for depth first seach algorithm this function explores the vertex which is passed in...">
<polygon fill="white" stroke="#666666" points="209.75,-56.25 132.25,-56.25 132.25,-37 209.75,-37 209.75,-56.25"/>
<text text-anchor="middle" x="171" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::explore</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M92.02,-34.59C101.6,-36.07 111.74,-37.64 121.44,-39.13"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="120.72,-42.72 131.14,-40.78 121.79,-35.8 120.72,-42.72"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="214.25,-19.25 127.75,-19.25 127.75,0 214.25,0 214.25,-19.25"/>
<text text-anchor="middle" x="171" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge3_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M92.02,-21.02C100.04,-19.85 108.46,-18.62 116.68,-17.42"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="116.93,-20.78 126.31,-15.87 115.91,-13.85 116.93,-20.78"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node2 -->
<g id="edge2_Node000002_Node000002" class="edge">
<title>Node2&#45;&gt;Node2</title>
<g id="a_edge2_Node000002_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M151.41,-56.54C142.48,-65.15 149.01,-74.25 171,-74.25 183.72,-74.25 191.26,-71.21 193.64,-66.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="196.75,-66.15 190.59,-57.54 190.04,-68.12 196.75,-66.15"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1,7 +1,11 @@
<map id="graph::TravellingSalesmanProblem" name="graph::TravellingSalesmanProblem">
<area shape="rect" id="node1" title="Function calculates the minimum path distance that will cover all the cities starting from the source..." alt="" coords="5,73,181,113"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/begin.html#" title=" " alt="" coords="245,5,367,31"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/end.html#" title=" " alt="" coords="250,55,362,80"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min.html#" title=" " alt="" coords="272,104,340,130"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="229,153,383,179"/>
<area shape="rect" id="Node000001" title="Function calculates the minimum path distance that will cover all the cities starting from the source..." alt="" coords="5,73,181,113"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/begin.html#" title=" " alt="" coords="245,5,367,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="147,69,228,40,246,33,248,38,230,45,149,74"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/end.html#" title=" " alt="" coords="250,55,362,80"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="181,80,235,73,235,79,181,85"/>
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min.html#" title=" " alt="" coords="272,104,340,130"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="181,100,258,109,257,114,181,105"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="229,153,383,179"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="151,111,230,140,248,146,246,151,228,145,149,116"/>
</map>

View File

@@ -1 +1 @@
97704cb43c49a9a1d54f1b32a70aa2c2
cb47a93220ea9c21e39f3c1848af5dbf

View File

@@ -6,12 +6,22 @@
<!-- Title: graph::TravellingSalesmanProblem Pages: 1 -->
<svg width="291pt" height="138pt"
viewBox="0.00 0.00 291.25 138.25" 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" onload="init(evt)">
<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 134.25)">
<title>graph::TravellingSalesmanProblem</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Function calculates the minimum path distance that will cover all the cities starting from the source...">
<g id="a_Node000001"><a xlink:title="Function calculates the minimum path distance that will cover all the cities starting from the source...">
<polygon fill="#999999" stroke="#666666" points="131.5,-79.88 0,-79.88 0,-49.38 131.5,-49.38 131.5,-79.88"/>
<text text-anchor="start" x="8" y="-66.38" font-family="Helvetica,sans-Serif" font-size="10.00">graph::TravellingSalesman</text>
<text text-anchor="middle" x="65.75" y="-55.12" font-family="Helvetica,sans-Serif" font-size="10.00">Problem</text>
@@ -19,64 +29,91 @@
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/begin.html#" xlink:title=" ">
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="271.25,-130.25 179.5,-130.25 179.5,-111 271.25,-111 271.25,-130.25"/>
<text text-anchor="middle" x="225.38" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::begin</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M106.77,-80.29C125.18,-87.35 147.36,-95.65 167.5,-102.62 171.97,-104.17 176.65,-105.74 181.34,-107.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="179.9,-110.81 190.49,-110.55 182.05,-104.15 179.9,-110.81"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/end.html#" xlink:title=" ">
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="267.5,-93.25 183.25,-93.25 183.25,-74 267.5,-74 267.5,-93.25"/>
<text text-anchor="middle" x="225.38" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::end</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M131.77,-72.46C145.29,-74.09 159.36,-75.79 172.34,-77.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="171.59,-80.91 181.94,-78.63 172.43,-73.96 171.59,-80.91"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="251,-56.25 199.75,-56.25 199.75,-37 251,-37 251,-56.25"/>
<text text-anchor="middle" x="225.38" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M131.77,-57.2C151.39,-54.96 172.18,-52.58 189.09,-50.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="189.04,-54.07 198.58,-49.46 188.25,-47.11 189.04,-54.07"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="283.25,-19.25 167.5,-19.25 167.5,0 283.25,0 283.25,-19.25"/>
<text text-anchor="middle" x="225.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M108.26,-48.9C126.39,-42.16 147.93,-34.31 167.5,-27.62 171.98,-26.1 176.67,-24.54 181.35,-23.01"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="182.06,-26.14 190.51,-19.75 179.92,-19.48 182.06,-26.14"/>
</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>

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -0,0 +1,94 @@
<?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: graph::TravellingSalesmanProblem Pages: 1 -->
<svg width="291pt" height="138pt"
viewBox="0.00 0.00 291.25 138.25" 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 134.25)">
<title>graph::TravellingSalesmanProblem</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Function calculates the minimum path distance that will cover all the cities starting from the source...">
<polygon fill="#999999" stroke="#666666" points="131.5,-79.88 0,-79.88 0,-49.38 131.5,-49.38 131.5,-79.88"/>
<text text-anchor="start" x="8" y="-66.38" font-family="Helvetica,sans-Serif" font-size="10.00">graph::TravellingSalesman</text>
<text text-anchor="middle" x="65.75" y="-55.12" font-family="Helvetica,sans-Serif" font-size="10.00">Problem</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="271.25,-130.25 179.5,-130.25 179.5,-111 271.25,-111 271.25,-130.25"/>
<text text-anchor="middle" x="225.38" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::begin</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M106.77,-80.29C125.18,-87.35 147.36,-95.65 167.5,-102.62 171.97,-104.17 176.65,-105.74 181.34,-107.28"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="179.9,-110.81 190.49,-110.55 182.05,-104.15 179.9,-110.81"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="267.5,-93.25 183.25,-93.25 183.25,-74 267.5,-74 267.5,-93.25"/>
<text text-anchor="middle" x="225.38" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::end</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M131.77,-72.46C145.29,-74.09 159.36,-75.79 172.34,-77.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="171.59,-80.91 181.94,-78.63 172.43,-73.96 171.59,-80.91"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="251,-56.25 199.75,-56.25 199.75,-37 251,-37 251,-56.25"/>
<text text-anchor="middle" x="225.38" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M131.77,-57.2C151.39,-54.96 172.18,-52.58 189.09,-50.65"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="189.04,-54.07 198.58,-49.46 188.25,-47.11 189.04,-54.07"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="283.25,-19.25 167.5,-19.25 167.5,0 283.25,0 283.25,-19.25"/>
<text text-anchor="middle" x="225.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M108.26,-48.9C126.39,-42.16 147.93,-34.31 167.5,-27.62 171.98,-26.1 176.67,-24.54 181.35,-23.01"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="182.06,-26.14 190.51,-19.75 179.92,-19.48 182.06,-26.14"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -1,9 +1,15 @@
<map id="graph::dijkstra" name="graph::dijkstra">
<area shape="rect" id="node1" title="Function runs the dijkstra algorithm for some source vertex and target vertex in the graph and return..." alt="" coords="5,149,109,175"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/priority_queue/empty.html#" title=" " alt="" coords="171,5,300,46"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/pair/make_pair.html#" title=" " alt="" coords="182,70,289,96"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/priority_queue/pop.html#" title=" " alt="" coords="157,120,314,145"/>
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/priority_queue/push.html#" title=" " alt="" coords="171,169,300,210"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="178,234,293,260"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/priority_queue/top.html#" title=" " alt="" coords="158,284,313,309"/>
<area shape="rect" id="Node000001" title="Function runs the dijkstra algorithm for some source vertex and target vertex in the graph and return..." alt="" coords="5,149,109,175"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/priority_queue/empty.html#" title=" " alt="" coords="171,5,300,46"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="66,147,102,103,127,78,155,56,162,51,165,55,158,60,131,82,106,107,70,150"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/pair/make_pair.html#" title=" " alt="" coords="182,70,289,96"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="78,146,156,105,171,99,173,104,158,109,81,151"/>
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/priority_queue/pop.html#" title=" " alt="" coords="157,120,314,145"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="109,151,142,145,143,150,110,156"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/priority_queue/push.html#" title=" " alt="" coords="171,169,300,210"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="110,167,157,175,156,180,109,172"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="178,234,293,260"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="79,173,115,196,158,219,175,226,173,231,156,224,112,201,76,177"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/priority_queue/top.html#" title=" " alt="" coords="158,284,313,309"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="69,173,104,221,129,247,158,270,166,275,164,279,155,275,126,251,100,224,64,177"/>
</map>

View File

@@ -1 +1 @@
7c5226977fc678b5f1506f7fac2330b4
855e56c99675b63f73abd12c0a226174

View File

@@ -6,21 +6,31 @@
<!-- Title: graph::dijkstra Pages: 1 -->
<svg width="240pt" height="236pt"
viewBox="0.00 0.00 239.50 235.88" 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" onload="init(evt)">
<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 231.88)">
<title>graph::dijkstra</title>
<!-- Node1 -->
<g id="node1" class="node">
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="Function runs the dijkstra algorithm for some source vertex and target vertex in the graph and return...">
<g id="a_Node000001"><a xlink:title="Function runs the dijkstra algorithm for some source vertex and target vertex in the graph and return...">
<polygon fill="#999999" stroke="#666666" points="77.5,-120.25 0,-120.25 0,-101 77.5,-101 77.5,-120.25"/>
<text text-anchor="middle" x="38.75" y="-106.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::dijkstra</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/empty.html#" xlink:title=" ">
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/empty.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="220.62,-227.88 124.38,-227.88 124.38,-197.38 220.62,-197.38 220.62,-227.88"/>
<text text-anchor="start" x="132.38" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::priority_queue</text>
<text text-anchor="middle" x="172.5" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::empty</text>
@@ -28,45 +38,54 @@
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M46.87,-120.52C58.95,-136.7 84.95,-168.97 113.5,-188.62 115.18,-189.78 116.93,-190.9 118.72,-191.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="116.53,-195.31 126.99,-197.02 119.88,-189.16 116.53,-195.31"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html#" xlink:title=" ">
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="212.75,-179.25 132.25,-179.25 132.25,-160 212.75,-160 212.75,-179.25"/>
<text text-anchor="middle" x="172.5" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_pair</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M55.67,-120.74C70.28,-129.72 92.76,-142.75 113.5,-151.62 117.1,-153.17 120.89,-154.64 124.72,-156.03"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="123.29,-159.59 133.88,-159.52 125.56,-152.97 123.29,-159.59"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/pop.html#" xlink:title=" ">
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="231.5,-142.25 113.5,-142.25 113.5,-123 231.5,-123 231.5,-142.25"/>
<text text-anchor="middle" x="172.5" y="-128.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::priority_queue::pop</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.86,-116.99C85.66,-118.29 94.1,-119.7 102.6,-121.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="101.93,-124.72 112.37,-122.92 103.08,-117.82 101.93,-124.72"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/push.html#" xlink:title=" ">
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/push.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="220.62,-104.88 124.38,-104.88 124.38,-74.38 220.62,-74.38 220.62,-104.88"/>
<text text-anchor="start" x="132.38" y="-91.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::priority_queue</text>
<text text-anchor="middle" x="172.5" y="-80.12" font-family="Helvetica,sans-Serif" font-size="10.00">::push</text>
@@ -74,40 +93,64 @@
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.86,-104.55C89.03,-102.77 101.5,-100.78 113.6,-98.85"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="113.78,-102.21 123.11,-97.18 112.68,-95.3 113.78,-102.21"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="215.75,-56.25 129.25,-56.25 129.25,-37 215.75,-37 215.75,-56.25"/>
<text text-anchor="middle" x="172.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<g id="edge5_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M53.89,-100.63C68.35,-90.74 91.71,-75.68 113.5,-65.62 117.56,-63.75 121.86,-61.98 126.2,-60.33"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.11,-63.36 135.34,-56.7 124.75,-56.77 127.11,-63.36"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/top.html#" xlink:title=" ">
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/top.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="230.38,-19.25 114.62,-19.25 114.62,0 230.38,0 230.38,-19.25"/>
<text text-anchor="middle" x="172.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::priority_queue::top</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M45.97,-100.6C57.27,-83.2 82.88,-47.37 113.5,-27.62 115.48,-26.35 117.56,-25.16 119.7,-24.05"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="120.71,-26.98 128.39,-19.68 117.84,-20.59 120.71,-26.98"/>
</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>

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@@ -0,0 +1,131 @@
<?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: graph::dijkstra Pages: 1 -->
<svg width="240pt" height="236pt"
viewBox="0.00 0.00 239.50 235.88" 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 231.88)">
<title>graph::dijkstra</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Function runs the dijkstra algorithm for some source vertex and target vertex in the graph and return...">
<polygon fill="#999999" stroke="#666666" points="77.5,-120.25 0,-120.25 0,-101 77.5,-101 77.5,-120.25"/>
<text text-anchor="middle" x="38.75" y="-106.75" font-family="Helvetica,sans-Serif" font-size="10.00">graph::dijkstra</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/empty.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="220.62,-227.88 124.38,-227.88 124.38,-197.38 220.62,-197.38 220.62,-227.88"/>
<text text-anchor="start" x="132.38" y="-214.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::priority_queue</text>
<text text-anchor="middle" x="172.5" y="-203.12" font-family="Helvetica,sans-Serif" font-size="10.00">::empty</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M46.87,-120.52C58.95,-136.7 84.95,-168.97 113.5,-188.62 115.18,-189.78 116.93,-190.9 118.72,-191.98"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="116.53,-195.31 126.99,-197.02 119.88,-189.16 116.53,-195.31"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="212.75,-179.25 132.25,-179.25 132.25,-160 212.75,-160 212.75,-179.25"/>
<text text-anchor="middle" x="172.5" y="-165.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_pair</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M55.67,-120.74C70.28,-129.72 92.76,-142.75 113.5,-151.62 117.1,-153.17 120.89,-154.64 124.72,-156.03"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="123.29,-159.59 133.88,-159.52 125.56,-152.97 123.29,-159.59"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/pop.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="231.5,-142.25 113.5,-142.25 113.5,-123 231.5,-123 231.5,-142.25"/>
<text text-anchor="middle" x="172.5" y="-128.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::priority_queue::pop</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.86,-116.99C85.66,-118.29 94.1,-119.7 102.6,-121.12"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="101.93,-124.72 112.37,-122.92 103.08,-117.82 101.93,-124.72"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/push.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="220.62,-104.88 124.38,-104.88 124.38,-74.38 220.62,-74.38 220.62,-104.88"/>
<text text-anchor="start" x="132.38" y="-91.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::priority_queue</text>
<text text-anchor="middle" x="172.5" y="-80.12" font-family="Helvetica,sans-Serif" font-size="10.00">::push</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M77.86,-104.55C89.03,-102.77 101.5,-100.78 113.6,-98.85"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="113.78,-102.21 123.11,-97.18 112.68,-95.3 113.78,-102.21"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="215.75,-56.25 129.25,-56.25 129.25,-37 215.75,-37 215.75,-56.25"/>
<text text-anchor="middle" x="172.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge5_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M53.89,-100.63C68.35,-90.74 91.71,-75.68 113.5,-65.62 117.56,-63.75 121.86,-61.98 126.2,-60.33"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.11,-63.36 135.34,-56.7 124.75,-56.77 127.11,-63.36"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/priority_queue/top.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="230.38,-19.25 114.62,-19.25 114.62,0 230.38,0 230.38,-19.25"/>
<text text-anchor="middle" x="172.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::priority_queue::top</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M45.97,-100.6C57.27,-83.2 82.88,-47.37 113.5,-27.62 115.48,-26.35 117.56,-25.16 119.7,-24.05"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="120.71,-26.98 128.39,-19.68 117.84,-20.59 120.71,-26.98"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB