mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-25 14:23:03 +08:00
Documentation for f1ff652601
This commit is contained in:
11
db/d30/factorial__memoization_8cpp__incl.map
Normal file
11
db/d30/factorial__memoization_8cpp__incl.map
Normal file
@@ -0,0 +1,11 @@
|
||||
<map id="math/factorial_memoization.cpp" name="math/factorial_memoization.cpp">
|
||||
<area shape="rect" id="Node000001" title="Factorial calculation using recursion and memoization" alt="" coords="70,5,276,31"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,79,77,105"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="152,34,78,74,75,69,149,29"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="101,79,165,105"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="169,33,149,67,145,64,164,30"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="189,79,240,105"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="182,30,202,64,197,67,178,33"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="264,79,324,105"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="195,29,262,68,259,73,192,34"/>
|
||||
</map>
|
||||
1
db/d30/factorial__memoization_8cpp__incl.md5
Normal file
1
db/d30/factorial__memoization_8cpp__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
69fc891120320fb84e290bfcf9cb1ff5
|
||||
119
db/d30/factorial__memoization_8cpp__incl.svg
Normal file
119
db/d30/factorial__memoization_8cpp__incl.svg
Normal file
@@ -0,0 +1,119 @@
|
||||
<?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 13.1.2 (20250808.2320)
|
||||
-->
|
||||
<!-- Title: math/factorial_memoization.cpp Pages: 1 -->
|
||||
<svg width="247pt" height="83pt"
|
||||
viewBox="0.00 0.00 247.00 83.00" 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 78.5)">
|
||||
<title>math/factorial_memoization.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Factorial calculation using recursion and memoization">
|
||||
<polygon fill="#999999" stroke="#666666" points="203.12,-74.5 48.38,-74.5 48.38,-55.25 203.12,-55.25 203.12,-74.5"/>
|
||||
<text xml:space="preserve" text-anchor="middle" x="125.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">math/factorial_memoization.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 xml:space="preserve" 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="M108.96,-54.84C93.74,-46.66 71.05,-34.46 53.37,-24.94"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="55.42,-22.07 44.96,-20.42 52.11,-28.24 55.42,-22.07"/>
|
||||
</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="119.88,-19.25 71.62,-19.25 71.62,0 119.88,0 119.88,-19.25"/>
|
||||
<text xml:space="preserve" text-anchor="middle" x="95.75" 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="M120.8,-55.08C116.87,-48.11 111.24,-38.12 106.31,-29.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="109.51,-27.92 101.55,-20.93 103.41,-31.36 109.51,-27.92"/>
|
||||
</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="175.62,-19.25 137.88,-19.25 137.88,0 175.62,0 175.62,-19.25"/>
|
||||
<text xml:space="preserve" text-anchor="middle" x="156.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</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.87,-55.08C134.93,-48.11 140.74,-38.12 145.84,-29.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.75,-31.32 150.76,-20.92 142.7,-27.8 148.75,-31.32"/>
|
||||
</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="239.38,-19.25 194.12,-19.25 194.12,0 239.38,0 239.38,-19.25"/>
|
||||
<text xml:space="preserve" text-anchor="middle" x="216.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</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="M141.19,-54.84C154.91,-46.81 175.25,-34.91 191.37,-25.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="193.07,-28.54 199.93,-20.47 189.53,-22.5 193.07,-28.54"/>
|
||||
</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 |
93
db/d30/factorial__memoization_8cpp__incl_org.svg
Normal file
93
db/d30/factorial__memoization_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 13.1.2 (20250808.2320)
|
||||
-->
|
||||
<!-- Title: math/factorial_memoization.cpp Pages: 1 -->
|
||||
<svg width="247pt" height="83pt"
|
||||
viewBox="0.00 0.00 247.00 83.00" 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>math/factorial_memoization.cpp</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Factorial calculation using recursion and memoization">
|
||||
<polygon fill="#999999" stroke="#666666" points="203.12,-74.5 48.38,-74.5 48.38,-55.25 203.12,-55.25 203.12,-74.5"/>
|
||||
<text xml:space="preserve" text-anchor="middle" x="125.75" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">math/factorial_memoization.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 xml:space="preserve" 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="M108.96,-54.84C93.74,-46.66 71.05,-34.46 53.37,-24.94"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="55.42,-22.07 44.96,-20.42 52.11,-28.24 55.42,-22.07"/>
|
||||
</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="119.88,-19.25 71.62,-19.25 71.62,0 119.88,0 119.88,-19.25"/>
|
||||
<text xml:space="preserve" text-anchor="middle" x="95.75" 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="M120.8,-55.08C116.87,-48.11 111.24,-38.12 106.31,-29.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="109.51,-27.92 101.55,-20.93 103.41,-31.36 109.51,-27.92"/>
|
||||
</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="175.62,-19.25 137.88,-19.25 137.88,0 175.62,0 175.62,-19.25"/>
|
||||
<text xml:space="preserve" text-anchor="middle" x="156.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</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.87,-55.08C134.93,-48.11 140.74,-38.12 145.84,-29.37"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.75,-31.32 150.76,-20.92 142.7,-27.8 148.75,-31.32"/>
|
||||
</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="239.38,-19.25 194.12,-19.25 194.12,0 239.38,0 239.38,-19.25"/>
|
||||
<text xml:space="preserve" text-anchor="middle" x="216.75" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdint</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="M141.19,-54.84C154.91,-46.81 175.25,-34.91 191.37,-25.48"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="193.07,-28.54 199.93,-20.47 189.53,-22.5 193.07,-28.54"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
Reference in New Issue
Block a user