mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-02 06:22:55 +08:00
Documentation for 1a1570d775
This commit is contained in:
@@ -113,7 +113,7 @@ $(document).ready(function(){initNavTree('d6/d10/cut__rod_8cpp.html','../../');
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for cut_rod.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d7/da4/cut__rod_8cpp__incl.svg" width="332" height="124"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d7/da4/cut__rod_8cpp__incl.svg" width="328" height="126"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
@@ -176,7 +176,7 @@ Algorithm</h3>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/d10/cut__rod_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="274" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/d10/cut__rod_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="271" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -255,7 +255,7 @@ template<size_t T> </div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/d10/cut__rod_8cpp_a1cc523a30c18c63eac58220c3c494cfa_cgraph.svg" width="351" height="75"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/d10/cut__rod_8cpp_a1cc523a30c18c63eac58220c3c494cfa_cgraph.svg" width="350" height="76"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -327,7 +327,7 @@ Here is the call graph for this function:</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/d10/cut__rod_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="175" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/d10/cut__rod_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="174" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<map id="dynamic_programming::cut_rod::maxProfitByCuttingRod" name="dynamic_programming::cut_rod::maxProfitByCuttingRod">
|
||||
<area shape="rect" id="node1" title="Cuts the rod in different pieces and stores the maximum profit for each piece of the rod." alt="" coords="5,29,224,69"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="272,37,345,62"/>
|
||||
<area shape="rect" id="node1" title="Cuts the rod in different pieces and stores the maximum profit for each piece of the rod." alt="" coords="5,29,224,70"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="272,37,344,63"/>
|
||||
</map>
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
<?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.2 (20230410.1723)
|
||||
<!-- Generated by graphviz version 8.0.4 (20230421.1958)
|
||||
-->
|
||||
<!-- Title: dynamic_programming::cut_rod::maxProfitByCuttingRod Pages: 1 -->
|
||||
<svg width="263pt" height="56pt"
|
||||
viewBox="0.00 0.00 263.00 56.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 52)">
|
||||
<svg width="262pt" height="57pt"
|
||||
viewBox="0.00 0.00 262.00 56.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 52.5)">
|
||||
<title>dynamic_programming::cut_rod::maxProfitByCuttingRod</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Cuts the rod in different pieces and stores the maximum profit for each piece of the rod.">
|
||||
<polygon fill="#999999" stroke="#666666" points="164,-30 0,-30 0,0 164,0 164,-30"/>
|
||||
<text text-anchor="start" x="8" y="-18" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
|
||||
<text text-anchor="middle" x="82" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">::cut_rod::maxProfitByCuttingRod</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="163.75,-30.5 0,-30.5 0,0 163.75,0 163.75,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">dynamic_programming</text>
|
||||
<text text-anchor="middle" x="81.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">::cut_rod::maxProfitByCuttingRod</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M56.42,-30.28C50.74,-39.41 59.27,-48 82,-48 95.14,-48 103.54,-45.13 107.18,-40.94"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="110.71,-41.4 107.58,-31.28 103.71,-41.14 110.71,-41.4"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M56.18,-30.99C50.94,-40.06 59.5,-48.5 81.88,-48.5 94.46,-48.5 102.68,-45.83 106.52,-41.88"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="110.1,-42.27 107.57,-31.99 103.13,-41.61 110.1,-42.27"/>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="255,-24.5 200,-24.5 200,-5.5 255,-5.5 255,-24.5"/>
|
||||
<text text-anchor="middle" x="227.5" y="-12.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
|
||||
<polygon fill="white" stroke="#666666" points="254,-24.88 199.75,-24.88 199.75,-5.63 254,-5.63 254,-24.88"/>
|
||||
<text text-anchor="middle" x="226.88" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M164.39,-15C172.79,-15 181.02,-15 188.59,-15"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="188.51,-18.5 198.51,-15 188.51,-11.5 188.51,-18.5"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M163.98,-15.25C172.44,-15.25 180.71,-15.25 188.32,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="188.29,-18.75 198.29,-15.25 188.29,-11.75 188.29,-18.75"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
@@ -1,4 +1,4 @@
|
||||
<map id="test" name="test">
|
||||
<area shape="rect" id="node1" title="Function to test above algorithm." alt="" coords="5,5,49,31"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="97,5,169,31"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="97,5,168,31"/>
|
||||
</map>
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<?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.2 (20230410.1723)
|
||||
<!-- Generated by graphviz version 8.0.4 (20230421.1958)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<svg width="131pt" height="27pt"
|
||||
viewBox="0.00 0.00 131.00 27.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 23)">
|
||||
<svg width="130pt" height="27pt"
|
||||
viewBox="0.00 0.00 130.00 27.25" 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 23.25)">
|
||||
<title>test</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Function to test above algorithm.">
|
||||
<polygon fill="#999999" stroke="#666666" points="33,-19 0,-19 0,0 33,0 33,-19"/>
|
||||
<text text-anchor="middle" x="16.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="32.5,-19.25 0,-19.25 0,0 32.5,0 32.5,-19.25"/>
|
||||
<text text-anchor="middle" x="16.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -21,16 +21,16 @@
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="123,-19 69,-19 69,0 123,0 123,-19"/>
|
||||
<text text-anchor="middle" x="96" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
<polygon fill="white" stroke="#666666" points="122,-19.25 68.5,-19.25 68.5,0 122,0 122,-19.25"/>
|
||||
<text text-anchor="middle" x="95.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M33.18,-9.5C40.34,-9.5 49.14,-9.5 57.83,-9.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.66,-13 67.66,-9.5 57.66,-6 57.66,-13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M32.83,-9.62C39.94,-9.62 48.68,-9.62 57.32,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="57.08,-13.13 67.08,-9.62 57.08,-6.13 57.08,-13.13"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -1,5 +1,5 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,5,56,31"/>
|
||||
<area shape="rect" id="node2" href="$d6/d10/cut__rod_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Function to test above algorithm." alt="" coords="104,5,148,31"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="196,5,268,31"/>
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,5,55,31"/>
|
||||
<area shape="rect" id="node2" href="$d6/d10/cut__rod_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title="Function to test above algorithm." alt="" coords="103,5,146,31"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="194,5,265,31"/>
|
||||
</map>
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
<?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.2 (20230410.1723)
|
||||
<!-- Generated by graphviz version 8.0.4 (20230421.1958)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="205pt" height="27pt"
|
||||
viewBox="0.00 0.00 205.00 27.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 23)">
|
||||
<svg width="203pt" height="27pt"
|
||||
viewBox="0.00 0.00 203.00 27.25" 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 23.25)">
|
||||
<title>main</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Main function.">
|
||||
<polygon fill="#999999" stroke="#666666" points="38,-19 0,-19 0,0 38,0 38,-19"/>
|
||||
<text text-anchor="middle" x="19" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
<polygon fill="#999999" stroke="#666666" points="37,-19.25 0,-19.25 0,0 37,0 37,-19.25"/>
|
||||
<text text-anchor="middle" x="18.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -21,31 +21,31 @@
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d6/d10/cut__rod_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Function to test above algorithm.">
|
||||
<polygon fill="white" stroke="#666666" points="107,-19 74,-19 74,0 107,0 107,-19"/>
|
||||
<text text-anchor="middle" x="90.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
<polygon fill="white" stroke="#666666" points="105.5,-19.25 73,-19.25 73,0 105.5,0 105.5,-19.25"/>
|
||||
<text text-anchor="middle" x="89.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M38.26,-9.5C45.89,-9.5 54.9,-9.5 63.23,-9.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="62.95,-13 72.95,-9.5 62.95,-6 62.95,-13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.2,-9.62C44.67,-9.62 53.52,-9.62 61.73,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.71,-13.13 71.71,-9.62 61.71,-6.13 61.71,-13.13"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="197,-19 143,-19 143,0 197,0 197,-19"/>
|
||||
<text text-anchor="middle" x="170" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
<polygon fill="white" stroke="#666666" points="195,-19.25 141.5,-19.25 141.5,0 195,0 195,-19.25"/>
|
||||
<text text-anchor="middle" x="168.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="#63b8ff" d="M107.18,-9.5C114.34,-9.5 123.14,-9.5 131.83,-9.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="131.66,-13 141.66,-9.5 131.66,-6 131.66,-13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M105.83,-9.62C112.94,-9.62 121.68,-9.62 130.32,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.08,-13.13 140.08,-9.62 130.08,-6.13 130.08,-13.13"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Reference in New Issue
Block a user