Documentation for 6376bf46af
@@ -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++: others/tower_of_hanoi.cpp File 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');
|
||||
@@ -120,13 +120,13 @@ Classes</h2></td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a746d9a3984bba88fd6dd91978f6931ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#a746d9a3984bba88fd6dd91978f6931ed">show</a> (const struct <a class="el" href="../../d2/d2c/structtower.html">tower</a> *const F, const struct <a class="el" href="../../d2/d2c/structtower.html">tower</a> *const T, const struct <a class="el" href="../../d2/d2c/structtower.html">tower</a> *const U)</td></tr>
|
||||
<tr class="memitem:a746d9a3984bba88fd6dd91978f6931ed" id="r_a746d9a3984bba88fd6dd91978f6931ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#a746d9a3984bba88fd6dd91978f6931ed">show</a> (const struct <a class="el" href="../../d2/d2c/structtower.html">tower</a> *const F, const struct <a class="el" href="../../d2/d2c/structtower.html">tower</a> *const T, const struct <a class="el" href="../../d2/d2c/structtower.html">tower</a> *const U)</td></tr>
|
||||
<tr class="separator:a746d9a3984bba88fd6dd91978f6931ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af4cfc41e546f1f8d25f01e0804e8b61d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#af4cfc41e546f1f8d25f01e0804e8b61d">mov</a> (<a class="el" href="../../d2/d2c/structtower.html">tower</a> *From, <a class="el" href="../../d2/d2c/structtower.html">tower</a> *To)</td></tr>
|
||||
<tr class="memitem:af4cfc41e546f1f8d25f01e0804e8b61d" id="r_af4cfc41e546f1f8d25f01e0804e8b61d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#af4cfc41e546f1f8d25f01e0804e8b61d">mov</a> (<a class="el" href="../../d2/d2c/structtower.html">tower</a> *From, <a class="el" href="../../d2/d2c/structtower.html">tower</a> *To)</td></tr>
|
||||
<tr class="separator:af4cfc41e546f1f8d25f01e0804e8b61d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab037f72a5eac476535a6cfbbcb965417"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#ab037f72a5eac476535a6cfbbcb965417">TH</a> (int n, <a class="el" href="../../d2/d2c/structtower.html">tower</a> *From, <a class="el" href="../../d2/d2c/structtower.html">tower</a> *Using, <a class="el" href="../../d2/d2c/structtower.html">tower</a> *To)</td></tr>
|
||||
<tr class="memitem:ab037f72a5eac476535a6cfbbcb965417" id="r_ab037f72a5eac476535a6cfbbcb965417"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#ab037f72a5eac476535a6cfbbcb965417">TH</a> (int n, <a class="el" href="../../d2/d2c/structtower.html">tower</a> *From, <a class="el" href="../../d2/d2c/structtower.html">tower</a> *Using, <a class="el" href="../../d2/d2c/structtower.html">tower</a> *To)</td></tr>
|
||||
<tr class="separator:ab037f72a5eac476535a6cfbbcb965417"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
@@ -344,7 +344,7 @@ Here is the call graph for this function:</div>
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9510827d0b234b3cc54b29892f217477.html">others</a></li><li class="navelem"><a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html">tower_of_hanoi.cpp</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>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<map id="TH" name="TH">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,29,45,55"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000001" title=" " alt="" coords="8,30,5,21,7,12,14,5,25,3,37,6,43,13,39,16,34,10,25,8,16,10,12,14,11,20,13,28"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000001" title=" " alt="" coords="8,30,5,21,7,12,14,5,25,3,37,6,43,12,39,16,34,10,25,8,16,10,12,14,11,20,13,28"/>
|
||||
<area shape="rect" id="Node000002" href="$db/d3c/tower__of__hanoi_8cpp.html#af4cfc41e546f1f8d25f01e0804e8b61d" title=" " alt="" coords="93,29,139,55"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="45,40,77,40,77,45,45,45"/>
|
||||
</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: TH Pages: 1 -->
|
||||
<svg width="108pt" height="45pt"
|
||||
@@ -31,8 +31,8 @@
|
||||
<g id="edge2_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge2_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M4.08,-19.54C-0.78,-28.15 2.77,-37.25 14.75,-37.25 21.49,-37.25 25.56,-34.37 26.97,-30.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="30.3,-29.94 25.42,-20.54 23.37,-30.93 30.3,-29.94"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M4.08,-19.54C-0.78,-28.15 2.77,-37.25 14.75,-37.25 21.3,-37.25 25.33,-34.53 26.84,-30.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="30.35,-30.51 25.61,-21.04 23.41,-31.4 30.35,-30.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -49,8 +49,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="M29.77,-9.62C36.86,-9.62 45.72,-9.62 54.12,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="54.06,-13.13 64.06,-9.62 54.06,-6.13 54.06,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M29.77,-9.62C36.78,-9.62 45.52,-9.62 53.83,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="53.55,-13.13 63.55,-9.63 53.55,-6.13 53.55,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 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: TH Pages: 1 -->
|
||||
<svg width="108pt" height="45pt"
|
||||
@@ -21,8 +21,8 @@
|
||||
<g id="edge2_Node000001_Node000001" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<g id="a_edge2_Node000001_Node000001"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M4.08,-19.54C-0.78,-28.15 2.77,-37.25 14.75,-37.25 21.49,-37.25 25.56,-34.37 26.97,-30.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="30.3,-29.94 25.42,-20.54 23.37,-30.93 30.3,-29.94"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M4.08,-19.54C-0.78,-28.15 2.77,-37.25 14.75,-37.25 21.3,-37.25 25.33,-34.53 26.84,-30.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="30.35,-30.51 25.61,-21.04 23.41,-31.4 30.35,-30.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -39,8 +39,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="M29.77,-9.62C36.86,-9.62 45.72,-9.62 54.12,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="54.06,-13.13 64.06,-9.62 54.06,-6.13 54.06,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M29.77,-9.62C36.78,-9.62 45.52,-9.62 53.83,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="53.55,-13.13 63.55,-9.63 53.55,-6.13 53.55,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
@@ -1,8 +1,8 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,29,55,55"/>
|
||||
<area shape="rect" id="Node000002" href="$db/d3c/tower__of__hanoi_8cpp.html#ab037f72a5eac476535a6cfbbcb965417" title=" " alt="" coords="103,29,142,55"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,40,88,40,88,45,55,45"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000002" title=" " alt="" coords="106,30,103,21,104,12,111,5,122,3,135,6,141,13,137,16,132,10,122,8,114,10,109,14,108,20,111,28"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="55,40,87,40,87,45,55,45"/>
|
||||
<area shape="poly" id="edge3_Node000002_Node000002" title=" " alt="" coords="106,30,103,21,104,12,111,5,122,3,134,6,140,12,136,16,132,10,122,8,114,10,109,14,108,20,111,28"/>
|
||||
<area shape="rect" id="Node000003" href="$db/d3c/tower__of__hanoi_8cpp.html#af4cfc41e546f1f8d25f01e0804e8b61d" title=" " alt="" coords="190,29,236,55"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="142,40,175,40,175,45,142,45"/>
|
||||
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="142,40,174,40,174,45,142,45"/>
|
||||
</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: main Pages: 1 -->
|
||||
<svg width="181pt" height="45pt"
|
||||
@@ -40,8 +40,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="M37.17,-9.62C44.68,-9.62 53.58,-9.62 61.74,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.59,-13.13 71.59,-9.62 61.59,-6.13 61.59,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.17,-9.62C44.51,-9.62 53.17,-9.62 61.18,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.07,-13.13 71.07,-9.63 61.07,-6.13 61.07,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -49,8 +49,8 @@
|
||||
<g id="edge3_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge3_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M77.08,-19.54C72.22,-28.15 75.77,-37.25 87.75,-37.25 94.49,-37.25 98.56,-34.37 99.97,-30.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="103.3,-29.94 98.42,-20.54 96.37,-30.93 103.3,-29.94"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M77.08,-19.54C72.22,-28.15 75.77,-37.25 87.75,-37.25 94.3,-37.25 98.33,-34.53 99.84,-30.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="103.35,-30.51 98.61,-21.04 96.41,-31.4 103.35,-30.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -67,8 +67,8 @@
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M102.77,-9.62C109.86,-9.62 118.72,-9.62 127.12,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.06,-13.13 137.06,-9.62 127.06,-6.13 127.06,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M102.77,-9.62C109.78,-9.62 118.52,-9.62 126.83,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="126.55,-13.13 136.55,-9.63 126.55,-6.13 126.55,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 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: main Pages: 1 -->
|
||||
<svg width="181pt" height="45pt"
|
||||
@@ -30,8 +30,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="M37.17,-9.62C44.68,-9.62 53.58,-9.62 61.74,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.59,-13.13 71.59,-9.62 61.59,-6.13 61.59,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M37.17,-9.62C44.51,-9.62 53.17,-9.62 61.18,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="61.07,-13.13 71.07,-9.63 61.07,-6.13 61.07,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -39,8 +39,8 @@
|
||||
<g id="edge3_Node000002_Node000002" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<g id="a_edge3_Node000002_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M77.08,-19.54C72.22,-28.15 75.77,-37.25 87.75,-37.25 94.49,-37.25 98.56,-34.37 99.97,-30.32"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="103.3,-29.94 98.42,-20.54 96.37,-30.93 103.3,-29.94"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M77.08,-19.54C72.22,-28.15 75.77,-37.25 87.75,-37.25 94.3,-37.25 98.33,-34.53 99.84,-30.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="103.35,-30.51 98.61,-21.04 96.41,-31.4 103.35,-30.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -57,8 +57,8 @@
|
||||
<g id="edge2_Node000002_Node000003" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M102.77,-9.62C109.86,-9.62 118.72,-9.62 127.12,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.06,-13.13 137.06,-9.62 127.06,-6.13 127.06,-13.13"/>
|
||||
<path fill="none" stroke="#63b8ff" d="M102.77,-9.62C109.78,-9.62 118.52,-9.62 126.83,-9.62"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="126.55,-13.13 136.55,-9.63 126.55,-6.13 126.55,-13.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |