mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-30 13:33:58 +08:00
Documentation for 0953376d31
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<map id="graph/connected_components_with_dsu.cpp" name="graph/connected_components_with_dsu.cpp">
|
||||
<area shape="rect" id="node1" title="Disjoint union" alt="" coords="23,5,219,46"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="5,94,77,120"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="101,94,141,120"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="164,94,222,120"/>
|
||||
<area shape="rect" id="Node000001" title="Disjoint union" alt="" coords="23,5,219,46"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,77,120"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="103,48,66,85,62,81,99,45"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="101,94,141,120"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="124,46,124,79,118,79,118,46"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="164,94,222,120"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="141,45,174,81,170,85,137,48"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6c508cea9deee443790b965ce4387608
|
||||
ae97e5013bd56e82b3e35fbe158b6e15
|
||||
@@ -6,12 +6,22 @@
|
||||
<!-- Title: graph/connected_components_with_dsu.cpp Pages: 1 -->
|
||||
<svg width="170pt" height="94pt"
|
||||
viewBox="0.00 0.00 170.25 93.75" 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 89.75)">
|
||||
<title>graph/connected_components_with_dsu.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Disjoint union">
|
||||
<g id="a_Node000001"><a xlink:title="Disjoint union">
|
||||
<polygon fill="#999999" stroke="#666666" points="160,-85.75 13.5,-85.75 13.5,-55.25 160,-55.25 160,-85.75"/>
|
||||
<text text-anchor="start" x="21.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">graph/connected_components</text>
|
||||
<text text-anchor="middle" x="86.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_with_dsu.cpp</text>
|
||||
@@ -19,49 +29,73 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:title=" ">
|
||||
<g id="a_Node000002"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
|
||||
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<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="M71.92,-54.95C63.4,-46.59 52.66,-36.05 43.8,-27.35"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="46.59,-25.21 37,-20.7 41.69,-30.2 46.59,-25.21"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:title=" ">
|
||||
<g id="a_Node000003"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="101.5,-19.25 72,-19.25 72,0 101.5,0 101.5,-19.25"/>
|
||||
<text text-anchor="middle" x="86.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">set</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<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="M86.75,-54.95C86.75,-47.62 86.75,-38.62 86.75,-30.66"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="90.25,-30.7 86.75,-20.7 83.25,-30.7 90.25,-30.7"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:title=" ">
|
||||
<g id="a_Node000004"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="162.25,-19.25 119.25,-19.25 119.25,0 162.25,0 162.25,-19.25"/>
|
||||
<text text-anchor="middle" x="140.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<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="M100.1,-54.95C107.69,-46.67 117.23,-36.27 125.16,-27.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.25,-30.44 131.43,-20.7 122.09,-25.71 127.25,-30.44"/>
|
||||
</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 |
76
da/d74/connected__components__with__dsu_8cpp__incl_org.svg
Normal file
76
da/d74/connected__components__with__dsu_8cpp__incl_org.svg
Normal file
@@ -0,0 +1,76 @@
|
||||
<?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/connected_components_with_dsu.cpp Pages: 1 -->
|
||||
<svg width="170pt" height="94pt"
|
||||
viewBox="0.00 0.00 170.25 93.75" 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 89.75)">
|
||||
<title>graph/connected_components_with_dsu.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Disjoint union">
|
||||
<polygon fill="#999999" stroke="#666666" points="160,-85.75 13.5,-85.75 13.5,-55.25 160,-55.25 160,-85.75"/>
|
||||
<text text-anchor="start" x="21.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">graph/connected_components</text>
|
||||
<text text-anchor="middle" x="86.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_with_dsu.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="53.5,-19.25 0,-19.25 0,0 53.5,0 53.5,-19.25"/>
|
||||
<text text-anchor="middle" x="26.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</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="M71.92,-54.95C63.4,-46.59 52.66,-36.05 43.8,-27.35"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="46.59,-25.21 37,-20.7 41.69,-30.2 46.59,-25.21"/>
|
||||
</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="101.5,-19.25 72,-19.25 72,0 101.5,0 101.5,-19.25"/>
|
||||
<text text-anchor="middle" x="86.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">set</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="M86.75,-54.95C86.75,-47.62 86.75,-38.62 86.75,-30.66"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="90.25,-30.7 86.75,-20.7 83.25,-30.7 90.25,-30.7"/>
|
||||
</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="162.25,-19.25 119.25,-19.25 119.25,0 162.25,0 162.25,-19.25"/>
|
||||
<text text-anchor="middle" x="140.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</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="M100.1,-54.95C107.69,-46.67 117.23,-36.27 125.16,-27.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.25,-30.44 131.43,-20.7 122.09,-25.71 127.25,-30.44"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
Reference in New Issue
Block a user