Documentation for 6376bf46af

This commit is contained in:
github-actions
2023-09-27 18:42:32 +00:00
parent d28eba1fef
commit b5b4d78981
5708 changed files with 52275 additions and 51112 deletions

View File

@@ -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++: backtracking/knight_tour.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&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -116,22 +116,22 @@ Include dependency graph for knight_tour.cpp:</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:db/dc0/namespacebacktracking"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dc0/namespacebacktracking.html">backtracking</a></td></tr>
<tr class="memitem:db/dc0/namespacebacktracking" id="r_db/dc0/namespacebacktracking"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dc0/namespacebacktracking.html">backtracking</a></td></tr>
<tr class="memdesc:db/dc0/namespacebacktracking"><td class="mdescLeft">&#160;</td><td class="mdescRight">for vector container <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:d1/db6/namespaceknight__tour"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/db6/namespaceknight__tour.html">knight_tour</a></td></tr>
<tr class="memitem:d1/db6/namespaceknight__tour" id="r_d1/db6/namespaceknight__tour"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/db6/namespaceknight__tour.html">knight_tour</a></td></tr>
<tr class="memdesc:d1/db6/namespaceknight__tour"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functions for the <a href="https://en.wikipedia.org/wiki/Knight%27s_tour" target="_blank">Knight's tour</a> algorithm. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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:af27031fbff093ffd625f64010d98aab2"><td class="memTemplParams" colspan="2">template&lt;size_t V&gt; </td></tr>
<tr class="memitem:af27031fbff093ffd625f64010d98aab2" id="r_af27031fbff093ffd625f64010d98aab2"><td class="memTemplParams" colspan="2">template&lt;size_t V&gt; </td></tr>
<tr class="memitem:af27031fbff093ffd625f64010d98aab2"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d1/d2a/knight__tour_8cpp.html#af27031fbff093ffd625f64010d98aab2">backtracking::knight_tour::issafe</a> (int x, int y, const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; int, V &gt;, V &gt; &amp;sol)</td></tr>
<tr class="separator:af27031fbff093ffd625f64010d98aab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa47356d98676cf5315d978f741e29c9"><td class="memTemplParams" colspan="2">template&lt;size_t V&gt; </td></tr>
<tr class="memitem:aaa47356d98676cf5315d978f741e29c9" id="r_aaa47356d98676cf5315d978f741e29c9"><td class="memTemplParams" colspan="2">template&lt;size_t V&gt; </td></tr>
<tr class="memitem:aaa47356d98676cf5315d978f741e29c9"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d1/d2a/knight__tour_8cpp.html#aaa47356d98676cf5315d978f741e29c9">backtracking::knight_tour::solve</a> (int x, int y, int <a class="el" href="../../db/d3c/tower__of__hanoi_8cpp.html#af4cfc41e546f1f8d25f01e0804e8b61d">mov</a>, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; int, V &gt;, V &gt; &amp;sol, const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; int, V &gt; &amp;xmov, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; int, V &gt; &amp;ymov)</td></tr>
<tr class="separator:aaa47356d98676cf5315d978f741e29c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d2a/knight__tour_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d2a/knight__tour_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function. <br /></td></tr>
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
@@ -365,7 +365,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_c11585dfcef32a26e29098facab6c144.html">backtracking</a></li><li class="navelem"><a class="el" href="../../d1/d2a/knight__tour_8cpp.html">knight_tour.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>

View File

@@ -1,6 +1,6 @@
<map id="backtracking::knight_tour::solve" name="backtracking::knight_tour::solve">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,29,144,70"/>
<area shape="poly" id="edge2_Node000001_Node000001" title=" " alt="" coords="47,29,46,20,50,11,60,5,75,3,91,5,100,12,97,16,89,10,74,8,62,10,54,14,51,20,52,28"/>
<area shape="poly" id="edge2_Node000001_Node000001" title=" " alt="" coords="47,29,46,20,50,11,60,5,75,3,90,5,100,12,97,16,88,10,74,8,62,10,54,14,51,20,52,28"/>
<area shape="rect" id="Node000002" href="$db/d3c/tower__of__hanoi_8cpp.html#af4cfc41e546f1f8d25f01e0804e8b61d" title=" " alt="" coords="192,37,238,63"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="144,47,177,47,177,52,144,52"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="144,47,176,47,176,52,144,52"/>
</map>

View File

@@ -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: backtracking::knight_tour::solve Pages: 1 -->
<svg width="183pt" height="57pt"
@@ -32,8 +32,8 @@
<g id="edge2_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge2_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M33.22,-30.99C29.42,-40.06 35.64,-48.5 51.88,-48.5 61.01,-48.5 66.97,-45.83 69.77,-41.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.32,-42.21 70.53,-31.99 66.34,-41.72 73.32,-42.21"/>
<path fill="none" stroke="#63b8ff" d="M33.22,-30.99C29.42,-40.06 35.64,-48.5 51.88,-48.5 60.76,-48.5 66.64,-45.97 69.53,-42.2"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.99,-42.76 70.39,-32.49 66.02,-42.14 72.99,-42.76"/>
</a>
</g>
</g>
@@ -50,8 +50,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M104.2,-15.25C112.57,-15.25 120.95,-15.25 128.46,-15.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="128.42,-18.75 138.42,-15.25 128.42,-11.75 128.42,-18.75"/>
<path fill="none" stroke="#63b8ff" d="M104.2,-15.25C112.37,-15.25 120.55,-15.25 127.92,-15.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.91,-18.75 137.91,-15.25 127.91,-11.75 127.91,-18.75"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -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: backtracking::knight_tour::solve Pages: 1 -->
<svg width="183pt" height="57pt"
@@ -22,8 +22,8 @@
<g id="edge2_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge2_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M33.22,-30.99C29.42,-40.06 35.64,-48.5 51.88,-48.5 61.01,-48.5 66.97,-45.83 69.77,-41.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.32,-42.21 70.53,-31.99 66.34,-41.72 73.32,-42.21"/>
<path fill="none" stroke="#63b8ff" d="M33.22,-30.99C29.42,-40.06 35.64,-48.5 51.88,-48.5 60.76,-48.5 66.64,-45.97 69.53,-42.2"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.99,-42.76 70.39,-32.49 66.02,-42.14 72.99,-42.76"/>
</a>
</g>
</g>
@@ -40,8 +40,8 @@
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M104.2,-15.25C112.57,-15.25 120.95,-15.25 128.46,-15.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="128.42,-18.75 138.42,-15.25 128.42,-11.75 128.42,-18.75"/>
<path fill="none" stroke="#63b8ff" d="M104.2,-15.25C112.37,-15.25 120.55,-15.25 127.92,-15.25"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.91,-18.75 137.91,-15.25 127.91,-11.75 127.91,-18.75"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -1,4 +1,4 @@
<map id="backtracking::knight_tour::issafe" name="backtracking::knight_tour::issafe">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,29,144,70"/>
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="47,29,46,20,50,11,60,5,75,3,90,5,100,12,96,16,88,10,74,8,62,10,54,14,51,20,53,28"/>
<area shape="poly" id="edge1_Node000001_Node000001" title=" " alt="" coords="47,29,46,20,50,11,60,5,75,3,90,5,99,12,96,16,88,10,74,8,62,10,54,14,51,20,53,28"/>
</map>

View File

@@ -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: backtracking::knight_tour::issafe Pages: 1 -->
<svg width="112pt" height="57pt"
@@ -32,8 +32,8 @@
<g id="edge1_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M33.49,-30.99C29.74,-40.06 35.87,-48.5 51.88,-48.5 60.88,-48.5 66.76,-45.83 69.51,-41.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.07,-42.2 70.26,-31.99 66.08,-41.72 73.07,-42.2"/>
<path fill="none" stroke="#63b8ff" d="M33.49,-30.99C29.74,-40.06 35.87,-48.5 51.88,-48.5 60.63,-48.5 66.43,-45.97 69.27,-42.2"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.74,-42.76 70.13,-32.49 65.77,-42.15 72.74,-42.76"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -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: backtracking::knight_tour::issafe Pages: 1 -->
<svg width="112pt" height="57pt"
@@ -22,8 +22,8 @@
<g id="edge1_Node000001_Node000001" class="edge">
<title>Node1&#45;&gt;Node1</title>
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M33.49,-30.99C29.74,-40.06 35.87,-48.5 51.88,-48.5 60.88,-48.5 66.76,-45.83 69.51,-41.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="73.07,-42.2 70.26,-31.99 66.08,-41.72 73.07,-42.2"/>
<path fill="none" stroke="#63b8ff" d="M33.49,-30.99C29.74,-40.06 35.87,-48.5 51.88,-48.5 60.63,-48.5 66.43,-45.97 69.27,-42.2"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="72.74,-42.76 70.13,-32.49 65.77,-42.15 72.74,-42.76"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB