mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-11 11:07:27 +08:00
Documentation for 901f231d59
This commit is contained in:
11
dd/dab/gale__shapley_8cpp__incl.map
Normal file
11
dd/dab/gale__shapley_8cpp__incl.map
Normal file
@@ -0,0 +1,11 @@
|
||||
<map id="greedy_algorithms/gale_shapley.cpp" name="greedy_algorithms/gale_shapley.cpp">
|
||||
<area shape="rect" id="Node000001" title="Gale Shapley Algorithm" alt="" coords="95,5,251,46"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,77,120"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="141,49,76,88,73,83,139,44"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="100,94,158,120"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="164,48,145,82,141,79,160,45"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="181,94,256,120"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="187,45,206,79,201,82,182,48"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="280,94,344,120"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="209,44,279,84,276,88,206,49"/>
|
||||
</map>
|
||||
1
dd/dab/gale__shapley_8cpp__incl.md5
Normal file
1
dd/dab/gale__shapley_8cpp__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
4b4ec511a50c6aac961709ae72aea6f2
|
||||
120
dd/dab/gale__shapley_8cpp__incl.svg
Normal file
120
dd/dab/gale__shapley_8cpp__incl.svg
Normal file
@@ -0,0 +1,120 @@
|
||||
<?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.1 (20240910.0053)
|
||||
-->
|
||||
<!-- Title: greedy_algorithms/gale_shapley.cpp Pages: 1 -->
|
||||
<svg width="262pt" height="94pt"
|
||||
viewBox="0.00 0.00 261.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>greedy_algorithms/gale_shapley.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Gale Shapley Algorithm">
|
||||
<polygon fill="#999999" stroke="#666666" points="184,-85.75 67.5,-85.75 67.5,-55.25 184,-55.25 184,-85.75"/>
|
||||
<text text-anchor="start" x="75.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">greedy_algorithms/gale</text>
|
||||
<text text-anchor="middle" x="125.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_shapley.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="M101.02,-54.8C85.95,-45.83 66.74,-34.41 51.63,-25.42"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="53.62,-22.53 43.23,-20.43 50.04,-28.55 53.62,-22.53"/>
|
||||
</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->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="M117.59,-54.95C113.29,-47.28 107.97,-37.77 103.35,-29.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="106.52,-28.03 98.58,-21.02 100.41,-31.46 106.52,-28.03"/>
|
||||
</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="187.62,-19.25 131.88,-19.25 131.88,0 187.62,0 187.62,-19.25"/>
|
||||
<text text-anchor="middle" x="159.75" 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="M134.15,-54.95C138.58,-47.28 144.07,-37.77 148.83,-29.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="151.78,-31.42 153.75,-21.01 145.72,-27.92 151.78,-31.42"/>
|
||||
</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="253.88,-19.25 205.62,-19.25 205.62,0 253.88,0 253.88,-19.25"/>
|
||||
<text text-anchor="middle" x="229.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</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="M151.73,-54.8C167.72,-45.74 188.13,-34.19 204.07,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.51,-28.37 212.48,-20.4 202.06,-22.28 205.51,-28.37"/>
|
||||
</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: 4.7 KiB |
94
dd/dab/gale__shapley_8cpp__incl_org.svg
Normal file
94
dd/dab/gale__shapley_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 12.1.1 (20240910.0053)
|
||||
-->
|
||||
<!-- Title: greedy_algorithms/gale_shapley.cpp Pages: 1 -->
|
||||
<svg width="262pt" height="94pt"
|
||||
viewBox="0.00 0.00 261.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>greedy_algorithms/gale_shapley.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Gale Shapley Algorithm">
|
||||
<polygon fill="#999999" stroke="#666666" points="184,-85.75 67.5,-85.75 67.5,-55.25 184,-55.25 184,-85.75"/>
|
||||
<text text-anchor="start" x="75.5" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">greedy_algorithms/gale</text>
|
||||
<text text-anchor="middle" x="125.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_shapley.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="M101.02,-54.8C85.95,-45.83 66.74,-34.41 51.63,-25.42"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="53.62,-22.53 43.23,-20.43 50.04,-28.55 53.62,-22.53"/>
|
||||
</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->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="M117.59,-54.95C113.29,-47.28 107.97,-37.77 103.35,-29.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="106.52,-28.03 98.58,-21.02 100.41,-31.46 106.52,-28.03"/>
|
||||
</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="187.62,-19.25 131.88,-19.25 131.88,0 187.62,0 187.62,-19.25"/>
|
||||
<text text-anchor="middle" x="159.75" 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="M134.15,-54.95C138.58,-47.28 144.07,-37.77 148.83,-29.54"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="151.78,-31.42 153.75,-21.01 145.72,-27.92 151.78,-31.42"/>
|
||||
</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="253.88,-19.25 205.62,-19.25 205.62,0 253.88,0 253.88,-19.25"/>
|
||||
<text text-anchor="middle" x="229.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</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="M151.73,-54.8C167.72,-45.74 188.13,-34.19 204.07,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="205.51,-28.37 212.48,-20.4 202.06,-22.28 205.51,-28.37"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
Reference in New Issue
Block a user