mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-12 03:28:29 +08:00
Documentation for 0953376d31
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
<map id="sorting/pigeonhole_sort.cpp" name="sorting/pigeonhole_sort.cpp">
|
||||
<area shape="rect" id="node1" title="Implementation of [Pigeonhole Sort algorithm] (https://en.wikipedia.org/wiki/Pigeonhole_sort)" alt="" coords="106,5,232,46"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="5,94,80,120"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="104,94,154,120"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="178,94,243,120"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="267,94,338,120"/>
|
||||
<area shape="rect" id="Node000001" title="Implementation of [Pigeonhole Sort algorithm] (https://en.wikipedia.org/wiki/Pigeonhole_sort)" alt="" coords="106,5,232,46"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,80,120"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="139,49,75,88,73,84,136,44"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="104,94,154,120"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="162,48,144,82,139,79,157,45"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="178,94,243,120"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="182,45,200,79,195,82,177,48"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="267,94,338,120"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="204,44,271,84,268,88,201,49"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
0e8e6ed7cc76157bf77d976456bba466
|
||||
b0ec8268903ad15a28ced92a328e71c3
|
||||
@@ -6,12 +6,22 @@
|
||||
<!-- Title: sorting/pigeonhole_sort.cpp Pages: 1 -->
|
||||
<svg width="258pt" height="94pt"
|
||||
viewBox="0.00 0.00 257.62 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>sorting/pigeonhole_sort.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Implementation of [Pigeonhole Sort algorithm] (https://en.wikipedia.org/wiki/Pigeonhole_sort)">
|
||||
<g id="a_Node000001"><a xlink:title="Implementation of [Pigeonhole Sort algorithm] (https://en.wikipedia.org/wiki/Pigeonhole_sort)">
|
||||
<polygon fill="#999999" stroke="#666666" points="170.25,-85.75 75.5,-85.75 75.5,-55.25 170.25,-55.25 170.25,-85.75"/>
|
||||
<text text-anchor="start" x="83.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/pigeonhole</text>
|
||||
<text text-anchor="middle" x="122.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_sort.cpp</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 xlink:title=" ">
|
||||
<g id="a_Node000002"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
|
||||
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</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="M99.39,-54.95C84.79,-45.9 66.07,-34.3 51.45,-25.24"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="53.86,-21.99 43.52,-19.7 50.18,-27.94 53.86,-21.99"/>
|
||||
</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="111.75,-19.25 74,-19.25 74,0 111.75,0 111.75,-19.25"/>
|
||||
<text text-anchor="middle" x="92.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</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="M115.46,-54.95C111.51,-47.19 106.6,-37.56 102.37,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="105.16,-28.02 97.5,-20.7 98.92,-31.2 105.16,-28.02"/>
|
||||
</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="178,-19.25 129.75,-19.25 129.75,0 178,0 178,-19.25"/>
|
||||
<text text-anchor="middle" x="153.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</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="M130.54,-54.95C134.62,-47.19 139.69,-37.56 144.06,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.53,-31.18 149.1,-20.7 141.34,-27.92 147.53,-31.18"/>
|
||||
</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="249.62,-19.25 196.12,-19.25 196.12,0 249.62,0 249.62,-19.25"/>
|
||||
<text text-anchor="middle" x="222.88" 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="M147.85,-54.8C163.23,-45.74 182.86,-34.19 198.18,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="199.7,-27.74 206.54,-19.65 196.15,-21.71 199.7,-27.74"/>
|
||||
</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.6 KiB After Width: | Height: | Size: 4.7 KiB |
94
d4/d28/pigeonhole__sort_8cpp__incl_org.svg
Normal file
94
d4/d28/pigeonhole__sort_8cpp__incl_org.svg
Normal 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: sorting/pigeonhole_sort.cpp Pages: 1 -->
|
||||
<svg width="258pt" height="94pt"
|
||||
viewBox="0.00 0.00 257.62 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/pigeonhole_sort.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Implementation of [Pigeonhole Sort algorithm] (https://en.wikipedia.org/wiki/Pigeonhole_sort)">
|
||||
<polygon fill="#999999" stroke="#666666" points="170.25,-85.75 75.5,-85.75 75.5,-55.25 170.25,-55.25 170.25,-85.75"/>
|
||||
<text text-anchor="start" x="83.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">sorting/pigeonhole</text>
|
||||
<text text-anchor="middle" x="122.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_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="55.75,-19.25 0,-19.25 0,0 55.75,0 55.75,-19.25"/>
|
||||
<text text-anchor="middle" x="27.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</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="M99.39,-54.95C84.79,-45.9 66.07,-34.3 51.45,-25.24"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="53.86,-21.99 43.52,-19.7 50.18,-27.94 53.86,-21.99"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:title=" ">
|
||||
<polygon fill="#e0e0e0" stroke="#999999" points="111.75,-19.25 74,-19.25 74,0 111.75,0 111.75,-19.25"/>
|
||||
<text text-anchor="middle" x="92.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</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="M115.46,-54.95C111.51,-47.19 106.6,-37.56 102.37,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="105.16,-28.02 97.5,-20.7 98.92,-31.2 105.16,-28.02"/>
|
||||
</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="178,-19.25 129.75,-19.25 129.75,0 178,0 178,-19.25"/>
|
||||
<text text-anchor="middle" x="153.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</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="M130.54,-54.95C134.62,-47.19 139.69,-37.56 144.06,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="147.53,-31.18 149.1,-20.7 141.34,-27.92 147.53,-31.18"/>
|
||||
</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="249.62,-19.25 196.12,-19.25 196.12,0 249.62,0 249.62,-19.25"/>
|
||||
<text text-anchor="middle" x="222.88" 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="M147.85,-54.8C163.23,-45.74 182.86,-34.19 198.18,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="199.7,-27.74 206.54,-19.65 196.15,-21.71 199.7,-27.74"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
Reference in New Issue
Block a user