Documentation for ef209dfab3

This commit is contained in:
realstealthninja
2024-09-04 23:46:13 +00:00
parent 2fb0f6c4d8
commit 0ee61d53b7
58 changed files with 2369 additions and 167 deletions

View File

@@ -0,0 +1,13 @@
<map id="sorting/quick_sort_iterative.cpp" name="sorting/quick_sort_iterative.cpp">
<area shape="rect" id="Node000001" title="Quick Sort without recursion. This method uses the stack instead. Both recursive and iterative implem..." alt="" coords="147,5,271,46"/>
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,77,120"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="168,49,82,89,80,85,166,44"/>
<area shape="rect" id="Node000003" title=" " alt="" coords="100,94,158,120"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="191,48,154,85,150,81,187,45"/>
<area shape="rect" id="Node000004" title=" " alt="" coords="182,94,236,120"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="212,46,212,78,206,78,206,46"/>
<area shape="rect" id="Node000005" title=" " alt="" coords="260,94,334,120"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="233,44,274,81,270,85,229,48"/>
<area shape="rect" id="Node000006" title=" " alt="" coords="358,94,422,120"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="255,44,350,85,348,90,253,49"/>
</map>

View File

@@ -0,0 +1 @@
f5939440938d20d43227f64cc1c86d41

View File

@@ -0,0 +1,138 @@
<?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 12.1.0 (20240811.2233)
-->
<!-- Title: sorting/quick_sort_iterative.cpp Pages: 1 -->
<svg width="321pt" height="94pt"
viewBox="0.00 0.00 320.88 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">
<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>sorting/quick_sort_iterative.cpp</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Quick Sort without recursion. This method uses the stack instead. Both recursive and iterative implem...">
<polygon fill="#999999" stroke="#666666" points="199.38,-85.75 106.12,-85.75 106.12,-55.25 199.38,-55.25 199.38,-85.75"/>
<text text-anchor="start" x="114.12" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/quick_sort</text>
<text text-anchor="middle" x="152.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_iterative.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&#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="M121.28,-54.8C101.45,-45.53 75.99,-33.63 56.5,-24.52"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.99,-21.36 47.44,-20.29 55.02,-27.7 57.99,-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="114.25,-19.25 71.25,-19.25 71.25,0 114.25,0 114.25,-19.25"/>
<text text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</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="M137.92,-54.95C129.49,-46.67 118.88,-36.27 110.07,-27.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="112.67,-25.27 103.08,-20.76 107.77,-30.26 112.67,-25.27"/>
</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="172.75,-19.25 132.75,-19.25 132.75,0 172.75,0 172.75,-19.25"/>
<text text-anchor="middle" x="152.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stack</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="M152.75,-54.95C152.75,-47.71 152.75,-38.84 152.75,-30.94"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.25,-31.21 152.75,-21.21 149.25,-31.21 156.25,-31.21"/>
</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="246.62,-19.25 190.88,-19.25 190.88,0 246.62,0 246.62,-19.25"/>
<text text-anchor="middle" x="218.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</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="M169.06,-54.95C178.44,-46.59 190.25,-36.05 200,-27.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="202.31,-29.98 207.45,-20.71 197.65,-24.75 202.31,-29.98"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="312.88,-19.25 264.62,-19.25 264.62,0 312.88,0 312.88,-19.25"/>
<text text-anchor="middle" x="288.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</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="M186.72,-54.8C208.42,-45.4 236.37,-33.3 257.52,-24.14"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="258.72,-27.44 266.5,-20.26 255.94,-21.02 258.72,-27.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>

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -0,0 +1,112 @@
<?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 12.1.0 (20240811.2233)
-->
<!-- Title: sorting/quick_sort_iterative.cpp Pages: 1 -->
<svg width="321pt" height="94pt"
viewBox="0.00 0.00 320.88 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>sorting/quick_sort_iterative.cpp</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Quick Sort without recursion. This method uses the stack instead. Both recursive and iterative implem...">
<polygon fill="#999999" stroke="#666666" points="199.38,-85.75 106.12,-85.75 106.12,-55.25 199.38,-55.25 199.38,-85.75"/>
<text text-anchor="start" x="114.12" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/quick_sort</text>
<text text-anchor="middle" x="152.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_iterative.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&#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="M121.28,-54.8C101.45,-45.53 75.99,-33.63 56.5,-24.52"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.99,-21.36 47.44,-20.29 55.02,-27.7 57.99,-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="114.25,-19.25 71.25,-19.25 71.25,0 114.25,0 114.25,-19.25"/>
<text text-anchor="middle" x="92.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</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="M137.92,-54.95C129.49,-46.67 118.88,-36.27 110.07,-27.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="112.67,-25.27 103.08,-20.76 107.77,-30.26 112.67,-25.27"/>
</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="172.75,-19.25 132.75,-19.25 132.75,0 172.75,0 172.75,-19.25"/>
<text text-anchor="middle" x="152.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">stack</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="M152.75,-54.95C152.75,-47.71 152.75,-38.84 152.75,-30.94"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="156.25,-31.21 152.75,-21.21 149.25,-31.21 156.25,-31.21"/>
</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="246.62,-19.25 190.88,-19.25 190.88,0 246.62,0 246.62,-19.25"/>
<text text-anchor="middle" x="218.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</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="M169.06,-54.95C178.44,-46.59 190.25,-36.05 200,-27.35"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="202.31,-29.98 207.45,-20.71 197.65,-24.75 202.31,-29.98"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a xlink:title=" ">
<polygon fill="#e0e0e0" stroke="#999999" points="312.88,-19.25 264.62,-19.25 264.62,0 312.88,0 312.88,-19.25"/>
<text text-anchor="middle" x="288.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</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="M186.72,-54.8C208.42,-45.4 236.37,-33.3 257.52,-24.14"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="258.72,-27.44 266.5,-20.26 255.94,-21.02 258.72,-27.44"/>
</a>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB