mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-07-16 11:32:44 +08:00
Documentation for 6376bf46af
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<map id="dynamic_programming/cut_rod.cpp" name="dynamic_programming/cut_rod.cpp">
|
||||
<area shape="rect" id="Node000001" title="Implementation of cutting a rod problem." alt="" coords="78,5,231,46"/>
|
||||
<area shape="rect" id="Node000002" title=" " alt="" coords="5,94,56,120"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="125,49,63,88,60,83,122,44"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="125,49,64,88,61,83,122,44"/>
|
||||
<area shape="rect" id="Node000003" title=" " alt="" coords="80,94,144,120"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="146,48,128,82,123,79,142,45"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="146,48,128,81,123,79,142,45"/>
|
||||
<area shape="rect" id="Node000004" title=" " alt="" coords="168,94,227,120"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="167,45,186,79,181,82,163,48"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="167,45,186,79,181,81,163,48"/>
|
||||
<area shape="rect" id="Node000005" title=" " alt="" coords="251,94,322,120"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="189,44,255,84,253,88,186,49"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="189,44,255,83,252,88,186,49"/>
|
||||
</map>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?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.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: dynamic_programming/cut_rod.cpp Pages: 1 -->
|
||||
<svg width="246pt" height="94pt"
|
||||
@@ -41,8 +41,8 @@
|
||||
<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="M88.89,-54.95C74.73,-45.98 56.62,-34.52 42.37,-25.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="44.53,-22.09 34.21,-19.7 40.79,-28.01 44.53,-22.09"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M88.89,-54.95C74.86,-46.07 56.97,-34.74 42.78,-25.76"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="44.81,-22.9 34.49,-20.51 41.07,-28.82 44.81,-22.9"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -59,8 +59,8 @@
|
||||
<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="M103.96,-54.95C99.75,-47.19 94.52,-37.56 90,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="92.66,-27.82 84.81,-20.7 86.51,-31.16 92.66,-27.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M103.96,-54.95C99.84,-47.36 94.75,-37.99 90.31,-29.82"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="93.38,-28.15 85.53,-21.03 87.23,-31.49 93.38,-28.15"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -77,8 +77,8 @@
|
||||
<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="M119.79,-54.95C124,-47.19 129.23,-37.56 133.75,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="137.24,-31.16 138.94,-20.7 131.09,-27.82 137.24,-31.16"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M119.79,-54.95C123.91,-47.36 129,-37.99 133.44,-29.82"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="136.52,-31.49 138.22,-21.03 130.37,-28.15 136.52,-31.49"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -95,8 +95,8 @@
|
||||
<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="M136.6,-54.8C151.82,-45.74 171.26,-34.19 186.43,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="187.89,-27.77 194.69,-19.65 184.31,-21.76 187.89,-27.77"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M136.6,-54.8C151.68,-45.83 170.89,-34.41 185.99,-25.42"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="187.59,-28.55 194.39,-20.43 184.01,-22.53 187.59,-28.55"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
@@ -1,7 +1,7 @@
|
||||
<?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.1.0 (20230707.0739)
|
||||
<!-- Generated by graphviz version 9.0.0 (20230911.1827)
|
||||
-->
|
||||
<!-- Title: dynamic_programming/cut_rod.cpp Pages: 1 -->
|
||||
<svg width="246pt" height="94pt"
|
||||
@@ -31,8 +31,8 @@
|
||||
<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="M88.89,-54.95C74.73,-45.98 56.62,-34.52 42.37,-25.5"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="44.53,-22.09 34.21,-19.7 40.79,-28.01 44.53,-22.09"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M88.89,-54.95C74.86,-46.07 56.97,-34.74 42.78,-25.76"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="44.81,-22.9 34.49,-20.51 41.07,-28.82 44.81,-22.9"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -49,8 +49,8 @@
|
||||
<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="M103.96,-54.95C99.75,-47.19 94.52,-37.56 90,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="92.66,-27.82 84.81,-20.7 86.51,-31.16 92.66,-27.82"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M103.96,-54.95C99.84,-47.36 94.75,-37.99 90.31,-29.82"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="93.38,-28.15 85.53,-21.03 87.23,-31.49 93.38,-28.15"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -67,8 +67,8 @@
|
||||
<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="M119.79,-54.95C124,-47.19 129.23,-37.56 133.75,-29.26"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="137.24,-31.16 138.94,-20.7 131.09,-27.82 137.24,-31.16"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M119.79,-54.95C123.91,-47.36 129,-37.99 133.44,-29.82"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="136.52,-31.49 138.22,-21.03 130.37,-28.15 136.52,-31.49"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -85,8 +85,8 @@
|
||||
<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="M136.6,-54.8C151.82,-45.74 171.26,-34.19 186.43,-25.16"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="187.89,-27.77 194.69,-19.65 184.31,-21.76 187.89,-27.77"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M136.6,-54.8C151.68,-45.83 170.89,-34.41 185.99,-25.42"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="187.59,-28.55 194.39,-20.43 184.01,-22.53 187.59,-28.55"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: ListNode Struct Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
@@ -115,34 +115,67 @@ Collaboration diagram for ListNode:</div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a3cfee2eb667c332dc32595208164ef0a"><td class="memItemLeft" align="right" valign="top"><a id="a3cfee2eb667c332dc32595208164ef0a" name="a3cfee2eb667c332dc32595208164ef0a"></a>
|
||||
<tr class="memitem:a3cfee2eb667c332dc32595208164ef0a" id="r_a3cfee2eb667c332dc32595208164ef0a"><td class="memItemLeft" align="right" valign="top"><a id="a3cfee2eb667c332dc32595208164ef0a" name="a3cfee2eb667c332dc32595208164ef0a"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>ListNode</b> ()=default</td></tr>
|
||||
<tr class="memdesc:a3cfee2eb667c332dc32595208164ef0a"><td class="mdescLeft"> </td><td class="mdescRight">default constructor <br /></td></tr>
|
||||
<tr class="separator:a3cfee2eb667c332dc32595208164ef0a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaad9b553e2f936726f5b35ff2734125d"><td class="memItemLeft" align="right" valign="top"><a id="aaad9b553e2f936726f5b35ff2734125d" name="aaad9b553e2f936726f5b35ff2734125d"></a>
|
||||
<tr class="memitem:aaad9b553e2f936726f5b35ff2734125d" id="r_aaad9b553e2f936726f5b35ff2734125d"><td class="memItemLeft" align="right" valign="top"><a id="aaad9b553e2f936726f5b35ff2734125d" name="aaad9b553e2f936726f5b35ff2734125d"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>ListNode</b> (int x)</td></tr>
|
||||
<tr class="memdesc:aaad9b553e2f936726f5b35ff2734125d"><td class="mdescLeft"> </td><td class="mdescRight">constructor with value for node->val provided <br /></td></tr>
|
||||
<tr class="separator:aaad9b553e2f936726f5b35ff2734125d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afc97c5b9d2e7cc82d0718245688f6ff9"><td class="memItemLeft" align="right" valign="top"><a id="afc97c5b9d2e7cc82d0718245688f6ff9" name="afc97c5b9d2e7cc82d0718245688f6ff9"></a>
|
||||
<tr class="memitem:afc97c5b9d2e7cc82d0718245688f6ff9" id="r_afc97c5b9d2e7cc82d0718245688f6ff9"><td class="memItemLeft" align="right" valign="top"><a id="afc97c5b9d2e7cc82d0718245688f6ff9" name="afc97c5b9d2e7cc82d0718245688f6ff9"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>ListNode</b> (int x, <a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a> *<a class="el" href="../../d7/da4/struct_list_node.html#ad78b392c2ddc25c3243d0c2f30692fb1">next</a>)</td></tr>
|
||||
<tr class="memdesc:afc97c5b9d2e7cc82d0718245688f6ff9"><td class="mdescLeft"> </td><td class="mdescRight">constructor with values provided for node->val and node->next <br /></td></tr>
|
||||
<tr class="separator:afc97c5b9d2e7cc82d0718245688f6ff9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||||
Public Attributes</h2></td></tr>
|
||||
<tr class="memitem:a58389d1d1fc5430c2f4ce7c5d5dc48b3"><td class="memItemLeft" align="right" valign="top"><a id="a58389d1d1fc5430c2f4ce7c5d5dc48b3" name="a58389d1d1fc5430c2f4ce7c5d5dc48b3"></a>
|
||||
int </td><td class="memItemRight" valign="bottom"><b>val</b> {0}</td></tr>
|
||||
<tr class="memdesc:a58389d1d1fc5430c2f4ce7c5d5dc48b3"><td class="mdescLeft"> </td><td class="mdescRight">the value stored in the node <br /></td></tr>
|
||||
<tr class="memitem:a58389d1d1fc5430c2f4ce7c5d5dc48b3" id="r_a58389d1d1fc5430c2f4ce7c5d5dc48b3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/da4/struct_list_node.html#a58389d1d1fc5430c2f4ce7c5d5dc48b3">val</a> {0}</td></tr>
|
||||
<tr class="memdesc:a58389d1d1fc5430c2f4ce7c5d5dc48b3"><td class="mdescLeft"> </td><td class="mdescRight">the value stored in the node <br /></td></tr>
|
||||
<tr class="separator:a58389d1d1fc5430c2f4ce7c5d5dc48b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad78b392c2ddc25c3243d0c2f30692fb1"><td class="memItemLeft" align="right" valign="top"><a id="ad78b392c2ddc25c3243d0c2f30692fb1" name="ad78b392c2ddc25c3243d0c2f30692fb1"></a>
|
||||
<a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a> * </td><td class="memItemRight" valign="bottom"><b>next</b> {nullptr}</td></tr>
|
||||
<tr class="memdesc:ad78b392c2ddc25c3243d0c2f30692fb1"><td class="mdescLeft"> </td><td class="mdescRight">pointer to the next node <br /></td></tr>
|
||||
<tr class="memitem:ad78b392c2ddc25c3243d0c2f30692fb1" id="r_ad78b392c2ddc25c3243d0c2f30692fb1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/da4/struct_list_node.html#ad78b392c2ddc25c3243d0c2f30692fb1">next</a> {nullptr}</td></tr>
|
||||
<tr class="memdesc:ad78b392c2ddc25c3243d0c2f30692fb1"><td class="mdescLeft"> </td><td class="mdescRight">pointer to the next node <br /></td></tr>
|
||||
<tr class="separator:ad78b392c2ddc25c3243d0c2f30692fb1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>for IO operations </p>
|
||||
<p>for assert Definition for singly-linked list. </p>
|
||||
</div><hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
</div><h2 class="groupheader">Member Data Documentation</h2>
|
||||
<a id="ad78b392c2ddc25c3243d0c2f30692fb1" name="ad78b392c2ddc25c3243d0c2f30692fb1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad78b392c2ddc25c3243d0c2f30692fb1">◆ </a></span>next</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a>* ListNode::next {nullptr}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>pointer to the next node </p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 33</span>{<span class="keyword">nullptr</span>}; <span class="comment">///< pointer to the next node</span></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a58389d1d1fc5430c2f4ce7c5d5dc48b3" name="a58389d1d1fc5430c2f4ce7c5d5dc48b3"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a58389d1d1fc5430c2f4ce7c5d5dc48b3">◆ </a></span>val</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int ListNode::val {0}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>the value stored in the node </p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 32</span>{0}; <span class="comment">///< the value stored in the node</span></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>search/<a class="el" href="../../d8/dfa/median__search2_8cpp.html">median_search2.cpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
@@ -151,7 +184,7 @@ int </td><td class="memItemRight" valign="bottom"><b>val</b> {0}</td></tr>
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user