mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-07-17 03:51:27 +08:00
Documentation for 0953376d31
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
<map id="sorting/stooge_sort.cpp" name="sorting/stooge_sort.cpp">
|
||||
<area shape="rect" id="node1" title="Stooge sort implementation in C++" alt="" coords="87,5,245,31"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="5,79,63,105"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="87,79,152,105"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="176,79,250,105"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="274,79,346,105"/>
|
||||
<area shape="rect" id="Node000001" title="Stooge sort implementation in C++" alt="" coords="87,5,245,31"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,79,63,105"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="145,34,70,74,68,69,142,29"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="87,79,152,105"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="161,33,137,68,133,65,156,30"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="176,79,250,105"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="176,30,199,65,195,68,171,33"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="274,79,346,105"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="192,29,274,70,271,74,189,34"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6261dd4734f2a08c3528da517e947899
|
||||
68d441f9e920870c82d396fe3faa896f
|
||||
@@ -6,76 +6,113 @@
|
||||
<!-- Title: sorting/stooge_sort.cpp Pages: 1 -->
|
||||
<svg width="263pt" height="83pt"
|
||||
viewBox="0.00 0.00 263.25 82.50" 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.5)">
|
||||
<title>sorting/stooge_sort.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Stooge sort implementation in C++">
|
||||
<g id="a_Node000001"><a xlink:title="Stooge sort implementation in C++">
|
||||
<polygon fill="#999999" stroke="#666666" points="179.5,-74.5 61.5,-74.5 61.5,-55.25 179.5,-55.25 179.5,-74.5"/>
|
||||
<text text-anchor="middle" x="120.5" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/stooge_sort.cpp</text>
|
||||
</a>
|
||||
</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="43,-19.25 0,-19.25 0,0 43,0 43,-19.25"/>
|
||||
<text text-anchor="middle" x="21.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</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="M103.71,-54.84C88.35,-46.58 65.38,-34.23 47.62,-24.68"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="49.84,-21.36 39.38,-19.7 46.53,-27.52 49.84,-21.36"/>
|
||||
</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="109.62,-19.25 61.38,-19.25 61.38,0 109.62,0 109.62,-19.25"/>
|
||||
<text text-anchor="middle" x="85.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</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="M114.72,-55.08C110.04,-47.96 103.28,-37.68 97.44,-28.8"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="99.82,-27.04 91.41,-20.61 93.97,-30.89 99.82,-27.04"/>
|
||||
</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="183.38,-19.25 127.62,-19.25 127.62,0 183.38,0 183.38,-19.25"/>
|
||||
<text text-anchor="middle" x="155.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</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="M126.28,-55.08C130.96,-47.96 137.72,-37.68 143.56,-28.8"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.03,-30.89 149.59,-20.61 141.18,-27.04 147.03,-30.89"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:title=" ">
|
||||
<g id="a_Node000005"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="255.25,-19.25 201.75,-19.25 201.75,0 255.25,0 255.25,-19.25"/>
|
||||
<text text-anchor="middle" x="228.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M138.82,-54.84C155.66,-46.54 180.86,-34.11 200.27,-24.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="201.67,-27.26 209.09,-19.7 198.57,-20.99 201.67,-27.26"/>
|
||||
</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: 3.4 KiB After Width: | Height: | Size: 4.6 KiB |
93
d3/daf/stooge__sort_8cpp__incl_org.svg
Normal file
93
d3/daf/stooge__sort_8cpp__incl_org.svg
Normal file
@@ -0,0 +1,93 @@
|
||||
<?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: sorting/stooge_sort.cpp Pages: 1 -->
|
||||
<svg width="263pt" height="83pt"
|
||||
viewBox="0.00 0.00 263.25 82.50" 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.5)">
|
||||
<title>sorting/stooge_sort.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Stooge sort implementation in C++">
|
||||
<polygon fill="#999999" stroke="#666666" points="179.5,-74.5 61.5,-74.5 61.5,-55.25 179.5,-55.25 179.5,-74.5"/>
|
||||
<text text-anchor="middle" x="120.5" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/stooge_sort.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="43,-19.25 0,-19.25 0,0 43,0 43,-19.25"/>
|
||||
<text text-anchor="middle" x="21.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</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="M103.71,-54.84C88.35,-46.58 65.38,-34.23 47.62,-24.68"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="49.84,-21.36 39.38,-19.7 46.53,-27.52 49.84,-21.36"/>
|
||||
</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="109.62,-19.25 61.38,-19.25 61.38,0 109.62,0 109.62,-19.25"/>
|
||||
<text text-anchor="middle" x="85.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</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="M114.72,-55.08C110.04,-47.96 103.28,-37.68 97.44,-28.8"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="99.82,-27.04 91.41,-20.61 93.97,-30.89 99.82,-27.04"/>
|
||||
</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="183.38,-19.25 127.62,-19.25 127.62,0 183.38,0 183.38,-19.25"/>
|
||||
<text text-anchor="middle" x="155.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</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="M126.28,-55.08C130.96,-47.96 137.72,-37.68 143.56,-28.8"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.03,-30.89 149.59,-20.61 141.18,-27.04 147.03,-30.89"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="255.25,-19.25 201.75,-19.25 201.75,0 255.25,0 255.25,-19.25"/>
|
||||
<text text-anchor="middle" x="228.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M138.82,-54.84C155.66,-46.54 180.86,-34.11 200.27,-24.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="201.67,-27.26 209.09,-19.7 198.57,-20.99 201.67,-27.26"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
Reference in New Issue
Block a user