Documentation for 0953376d31
@@ -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.6"/>
|
||||
<meta name="generator" content="Doxygen 1.9.7"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: machine_learning::aystar_search::EightPuzzle< N > Class Template 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.6 -->
|
||||
<!-- Generated by Doxygen 1.9.7 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||||
@@ -112,8 +112,7 @@ $(document).ready(function(){initNavTree('dd/d9c/classmachine__learning_1_1aysta
|
||||
<div class="dynheader">
|
||||
Collaboration diagram for machine_learning::aystar_search::EightPuzzle< N >:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/dff/classmachine__learning_1_1aystar__search_1_1_eight_puzzle__coll__graph.svg" width="646" height="118"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/dff/classmachine__learning_1_1aystar__search_1_1_eight_puzzle__coll__graph.svg" width="646" height="118"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
||||
@@ -189,7 +188,7 @@ Friends</h2></td></tr>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><div class="compoundTemplParams">template<size_t N = 3><br />
|
||||
class machine_learning::aystar_search::EightPuzzle< N ></div><p>A class defining <a href="https://en.wikipedia.org/wiki/15_puzzle" target="_blank">EightPuzzle/15-Puzzle game</a>. </p>
|
||||
<p>A well known 3 x 3 puzzle of the form ` 1 2 3 4 5 6 7 8 0 <code> where</code>0` represents an empty space in the puzzle Given any random state, the goal is to achieve the above configuration (or any other configuration if possible) </p><dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<p>A well known 3 x 3 puzzle of the form <code> 1 2 3 4 5 6 7 8 0 </code> where <code>0</code> represents an empty space in the puzzle Given any random state, the goal is to achieve the above configuration (or any other configuration if possible) </p><dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">N</td><td>size of the square Puzzle, default is set to 3 (since it is <a class="el" href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html" title="A class defining EightPuzzle/15-Puzzle game.">EightPuzzle</a>) </td></tr>
|
||||
</table>
|
||||
@@ -229,7 +228,7 @@ template<size_t N = 3> </div>
|
||||
<div class="line"><span class="lineno"> 125</span> }</div>
|
||||
<div class="line"><span class="lineno"> 126</span> }</div>
|
||||
<div class="line"><span class="lineno"> 127</span> }</div>
|
||||
<div class="ttc" id="adata__structures_2sparse__table_8cpp_html_a10f3ffb3f6f7e1b83d556b9c8de89a5d"><div class="ttname"><a href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">data_structures::sparse_table::N</a></div><div class="ttdeci">constexpr uint32_t N</div><div class="ttdoc">A struct to represent sparse table for min() as their invariant function, for the given array A....</div><div class="ttdef"><b>Definition:</b> sparse_table.cpp:47</div></div>
|
||||
<div class="ttc" id="adata__structures_2sparse__table_8cpp_html_a10f3ffb3f6f7e1b83d556b9c8de89a5d"><div class="ttname"><a href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">data_structures::sparse_table::N</a></div><div class="ttdeci">constexpr uint32_t N</div><div class="ttdoc">A struct to represent sparse table for min() as their invariant function, for the given array A....</div><div class="ttdef"><b>Definition</b> sparse_table.cpp:47</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
@@ -434,17 +433,16 @@ template<size_t N = 3> </div>
|
||||
<div class="line"><span class="lineno"> 193</span> <span class="keywordflow">return</span> NewStates;</div>
|
||||
<div class="line"><span class="lineno"> 194</span> }</div>
|
||||
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a></div></div>
|
||||
<div class="ttc" id="aclassmachine__learning_1_1aystar__search_1_1_eight_puzzle_html_a48d054230468b79037964f474d842b6e"><div class="ttname"><a href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e">machine_learning::aystar_search::EightPuzzle::in_range</a></div><div class="ttdeci">bool in_range(const uint32_t value) const</div><div class="ttdoc">check whether the index value is bounded within the puzzle area</div><div class="ttdef"><b>Definition:</b> a_star_search.cpp:90</div></div>
|
||||
<div class="ttc" id="aclassmachine__learning_1_1aystar__search_1_1_eight_puzzle_html_a94f794bf44f424b1b0ca6ef9f4f6ebd3"><div class="ttname"><a href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a94f794bf44f424b1b0ca6ef9f4f6ebd3">machine_learning::aystar_search::EightPuzzle::find_zero</a></div><div class="ttdeci">std::pair< uint32_t, uint32_t > find_zero()</div><div class="ttdoc">A helper array to evaluate the next state from current state;.</div><div class="ttdef"><b>Definition:</b> a_star_search.cpp:75</div></div>
|
||||
<div class="ttc" id="aclassmachine__learning_1_1aystar__search_1_1_eight_puzzle_html_aa73857052e69b86347859d9148933f71"><div class="ttname"><a href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#aa73857052e69b86347859d9148933f71">machine_learning::aystar_search::EightPuzzle::moves</a></div><div class="ttdeci">std::vector< std::pair< int8_t, int8_t > > moves</div><div class="ttdoc">N x N array to store the current state of the Puzzle.</div><div class="ttdef"><b>Definition:</b> a_star_search.cpp:64</div></div>
|
||||
<div class="ttc" id="aclassmachine__learning_1_1aystar__search_1_1_eight_puzzle_html_a48d054230468b79037964f474d842b6e"><div class="ttname"><a href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e">machine_learning::aystar_search::EightPuzzle::in_range</a></div><div class="ttdeci">bool in_range(const uint32_t value) const</div><div class="ttdoc">check whether the index value is bounded within the puzzle area</div><div class="ttdef"><b>Definition</b> a_star_search.cpp:90</div></div>
|
||||
<div class="ttc" id="aclassmachine__learning_1_1aystar__search_1_1_eight_puzzle_html_a94f794bf44f424b1b0ca6ef9f4f6ebd3"><div class="ttname"><a href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a94f794bf44f424b1b0ca6ef9f4f6ebd3">machine_learning::aystar_search::EightPuzzle::find_zero</a></div><div class="ttdeci">std::pair< uint32_t, uint32_t > find_zero()</div><div class="ttdoc">A helper array to evaluate the next state from current state;.</div><div class="ttdef"><b>Definition</b> a_star_search.cpp:75</div></div>
|
||||
<div class="ttc" id="aclassmachine__learning_1_1aystar__search_1_1_eight_puzzle_html_aa73857052e69b86347859d9148933f71"><div class="ttname"><a href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#aa73857052e69b86347859d9148933f71">machine_learning::aystar_search::EightPuzzle::moves</a></div><div class="ttdeci">std::vector< std::pair< int8_t, int8_t > > moves</div><div class="ttdoc">N x N array to store the current state of the Puzzle.</div><div class="ttdef"><b>Definition</b> a_star_search.cpp:64</div></div>
|
||||
<div class="ttc" id="aemplace_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html">std::vector::emplace_back</a></div><div class="ttdeci">T emplace_back(T... args)</div></div>
|
||||
<div class="ttc" id="aswap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/swap.html">std::swap</a></div><div class="ttdeci">T swap(T... args)</div></div>
|
||||
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></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="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle_a26a976171392d257ca0f814ed73e0658_cgraph.svg" width="468" height="216"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle_a26a976171392d257ca0f814ed73e0658_cgraph.svg" width="468" height="216"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -505,8 +503,7 @@ template<size_t N = 3> </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="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle_aa5c0486c7f29f323a2aced2ab33af420_cgraph.svg" width="432" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle_aa5c0486c7f29f323a2aced2ab33af420_cgraph.svg" width="432" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -648,7 +645,7 @@ template<size_t N = 3> </div>
|
||||
<div class="line"><span class="lineno"> 225</span> }</div>
|
||||
<div class="line"><span class="lineno"> 226</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><span class="lineno"> 227</span> }</div>
|
||||
<div class="ttc" id="aword__break_8cpp_html_a272b0f5cdb4e41fd6dee4538b808c06a"><div class="ttname"><a href="../../d3/d84/word__break_8cpp.html#a272b0f5cdb4e41fd6dee4538b808c06a">dynamic_programming::word_break::check</a></div><div class="ttdeci">bool check(const std::string &s, const std::unordered_set< std::string > &strSet, int pos, std::vector< int > *dp)</div><div class="ttdoc">Function that checks if the string passed in param can be segmented from position 'pos',...</div><div class="ttdef"><b>Definition:</b> word_break.cpp:80</div></div>
|
||||
<div class="ttc" id="aword__break_8cpp_html_a272b0f5cdb4e41fd6dee4538b808c06a"><div class="ttname"><a href="../../d3/d84/word__break_8cpp.html#a272b0f5cdb4e41fd6dee4538b808c06a">dynamic_programming::word_break::check</a></div><div class="ttdeci">bool check(const std::string &s, const std::unordered_set< std::string > &strSet, int pos, std::vector< int > *dp)</div><div class="ttdoc">Function that checks if the string passed in param can be segmented from position 'pos',...</div><div class="ttdef"><b>Definition</b> word_break.cpp:80</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
@@ -773,8 +770,7 @@ template<size_t N = 3> </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="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle_a1802cf6197a255055cb734d626abc101_cgraph.svg" width="347" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle_a1802cf6197a255055cb734d626abc101_cgraph.svg" width="347" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -823,7 +819,7 @@ template<size_t N = 3> </div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Friends And Related Function Documentation</h2>
|
||||
<h2 class="groupheader">Friends And Related Symbol Documentation</h2>
|
||||
<a id="a9517e162e2988f7db052296bd550a742" name="a9517e162e2988f7db052296bd550a742"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9517e162e2988f7db052296bd550a742">◆ </a></span>operator<<</h2>
|
||||
|
||||
@@ -923,7 +919,7 @@ template<size_t N = 3> </div>
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d8/d77/namespacemachine__learning.html">machine_learning</a></li><li class="navelem"><b>aystar_search</b></li><li class="navelem"><a class="el" href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html">EightPuzzle</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.6 </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>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<map id="machine_learning::aystar_search::EightPuzzle::operator=" name="machine_learning::aystar_search::EightPuzzle::operator=">
|
||||
<area shape="rect" id="node1" title="Move assignment operator." alt="" coords="5,5,214,46"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/move.html#" title=" " alt="" coords="262,13,341,39"/>
|
||||
<area shape="rect" id="Node000001" title="Move assignment operator." alt="" coords="5,5,214,46"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/utility/move.html#" title=" " alt="" coords="262,13,341,39"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="214,23,247,23,247,28,214,28"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
e1097e27eb55b2c63e94d878bbd6706d
|
||||
19d5e02444c59f8093111792b2e3780a
|
||||
@@ -6,12 +6,22 @@
|
||||
<!-- Title: machine_learning::aystar_search::EightPuzzle::operator= Pages: 1 -->
|
||||
<svg width="260pt" height="39pt"
|
||||
viewBox="0.00 0.00 259.75 38.50" 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" onload="init(evt)">
|
||||
<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 34.5)">
|
||||
<title>machine_learning::aystar_search::EightPuzzle::operator=</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Move assignment operator.">
|
||||
<g id="a_Node000001"><a xlink:title="Move assignment operator.">
|
||||
<polygon fill="#999999" stroke="#666666" points="156.25,-30.5 0,-30.5 0,0 156.25,0 156.25,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="78.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::operator=</text>
|
||||
@@ -19,19 +29,37 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/move.html#" xlink:title=" ">
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/move.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="251.75,-24.88 192.25,-24.88 192.25,-5.63 251.75,-5.63 251.75,-24.88"/>
|
||||
<text text-anchor="middle" x="222" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::move</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<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="M156.7,-15.25C165.14,-15.25 173.44,-15.25 181.14,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="180.93,-18.75 190.93,-15.25 180.93,-11.75 180.93,-18.75"/>
|
||||
</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>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,40 @@
|
||||
<?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.5 (20230430.1635)
|
||||
-->
|
||||
<!-- Title: machine_learning::aystar_search::EightPuzzle::operator= Pages: 1 -->
|
||||
<svg width="260pt" height="39pt"
|
||||
viewBox="0.00 0.00 259.75 38.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 34.5)">
|
||||
<title>machine_learning::aystar_search::EightPuzzle::operator=</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Move assignment operator.">
|
||||
<polygon fill="#999999" stroke="#666666" points="156.25,-30.5 0,-30.5 0,0 156.25,0 156.25,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="78.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::operator=</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/utility/move.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="251.75,-24.88 192.25,-24.88 192.25,-5.63 251.75,-5.63 251.75,-24.88"/>
|
||||
<text text-anchor="middle" x="222" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::move</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="M156.7,-15.25C165.14,-15.25 173.44,-15.25 181.14,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="180.93,-18.75 190.93,-15.25 180.93,-11.75 180.93,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -1,7 +1,11 @@
|
||||
<map id="machine_learning::aystar_search::EightPuzzle::generate_possible_moves" name="machine_learning::aystar_search::EightPuzzle::generate_possible_moves">
|
||||
<area shape="rect" id="node1" title="Find all possible states after processing all possible moves, given the current state of the puzzle." alt="" coords="5,81,209,137"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/emplace_back.html#" title=" " alt="" coords="272,5,448,31"/>
|
||||
<area shape="rect" id="node3" href="$dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a94f794bf44f424b1b0ca6ef9f4f6ebd3" title="A helper array to evaluate the next state from current state;." alt="" coords="257,55,463,96"/>
|
||||
<area shape="rect" id="node4" href="$dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" title="check whether the index value is bounded within the puzzle area" alt="" coords="259,121,461,161"/>
|
||||
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="321,185,399,211"/>
|
||||
<area shape="rect" id="Node000001" title="Find all possible states after processing all possible moves, given the current state of the puzzle." alt="" coords="5,81,209,137"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/emplace_back.html#" title=" " alt="" coords="272,5,448,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="166,78,256,41,282,33,284,38,258,46,168,83"/>
|
||||
<area shape="rect" id="Node000003" href="$dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a94f794bf44f424b1b0ca6ef9f4f6ebd3" title="A helper array to evaluate the next state from current state;." alt="" coords="257,55,463,96"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="209,93,242,88,242,94,209,98"/>
|
||||
<area shape="rect" id="Node000004" href="$dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" title="check whether the index value is bounded within the puzzle area" alt="" coords="259,121,461,161"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="209,119,244,123,243,129,209,124"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="321,185,399,211"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="169,135,258,170,307,184,305,189,256,175,167,140"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
56bb217e0f89776dc96bfa4745ba4d19
|
||||
ca63993a0c35443092e60c640481c0b0
|
||||
@@ -6,12 +6,22 @@
|
||||
<!-- Title: machine_learning::aystar_search::EightPuzzle::generate_possible_moves Pages: 1 -->
|
||||
<svg width="351pt" height="162pt"
|
||||
viewBox="0.00 0.00 351.25 162.25" 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" onload="init(evt)">
|
||||
<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 158.25)">
|
||||
<title>machine_learning::aystar_search::EightPuzzle::generate_possible_moves</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Find all possible states after processing all possible moves, given the current state of the puzzle.">
|
||||
<g id="a_Node000001"><a xlink:title="Find all possible states after processing all possible moves, given the current state of the puzzle.">
|
||||
<polygon fill="#999999" stroke="#666666" points="152.5,-97.5 0,-97.5 0,-55.75 152.5,-55.75 152.5,-97.5"/>
|
||||
<text text-anchor="start" x="8" y="-84" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="start" x="8" y="-72.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::generate</text>
|
||||
@@ -20,24 +30,27 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html#" xlink:title=" ">
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="331.62,-154.25 200.12,-154.25 200.12,-135 331.62,-135 331.62,-154.25"/>
|
||||
<text text-anchor="middle" x="265.88" y="-140.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::emplace_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<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="M120.95,-97.95C141.18,-107.28 165.73,-117.84 188.5,-125.62 194.86,-127.8 201.6,-129.84 208.34,-131.72"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="207.3,-135.33 217.87,-134.53 209.11,-128.57 207.3,-135.33"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a94f794bf44f424b1b0ca6ef9f4f6ebd3" target="_top" xlink:title="A helper array to evaluate the next state from current state;.">
|
||||
<g id="a_Node000003"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a94f794bf44f424b1b0ca6ef9f4f6ebd3" target="_top" xlink:title="A helper array to evaluate the next state from current state;.">
|
||||
<polygon fill="white" stroke="#666666" points="343.25,-116.88 188.5,-116.88 188.5,-86.38 343.25,-86.38 343.25,-116.88"/>
|
||||
<text text-anchor="start" x="196.5" y="-103.38" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="265.88" y="-92.12" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::find_zero</text>
|
||||
@@ -45,15 +58,18 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<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="M152.75,-86.69C160.9,-87.77 169.23,-88.88 177.5,-89.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="176.93,-93.57 187.3,-91.42 177.85,-86.63 176.93,-93.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" target="_top" xlink:title="check whether the index value is bounded within the puzzle area">
|
||||
<g id="a_Node000004"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" target="_top" xlink:title="check whether the index value is bounded within the puzzle area">
|
||||
<polygon fill="white" stroke="#666666" points="341.75,-67.88 190,-67.88 190,-37.38 341.75,-37.38 341.75,-67.88"/>
|
||||
<text text-anchor="start" x="198" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="265.88" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::in_range</text>
|
||||
@@ -61,25 +77,46 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<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="M152.75,-66.97C161.27,-65.88 170,-64.76 178.65,-63.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="179.05,-67 188.53,-62.26 178.16,-60.06 179.05,-67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="295.25,-19.25 236.5,-19.25 236.5,0 295.25,0 295.25,-19.25"/>
|
||||
<text text-anchor="middle" x="265.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<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="M122.06,-55.3C142.09,-46.29 166.18,-36.16 188.5,-28.62 200.39,-24.61 213.59,-21.03 225.62,-18.09"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="226.34,-21.28 235.27,-15.57 224.73,-14.47 226.34,-21.28"/>
|
||||
</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>
|
||||
|
||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,97 @@
|
||||
<?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.5 (20230430.1635)
|
||||
-->
|
||||
<!-- Title: machine_learning::aystar_search::EightPuzzle::generate_possible_moves Pages: 1 -->
|
||||
<svg width="351pt" height="162pt"
|
||||
viewBox="0.00 0.00 351.25 162.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 158.25)">
|
||||
<title>machine_learning::aystar_search::EightPuzzle::generate_possible_moves</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Find all possible states after processing all possible moves, given the current state of the puzzle.">
|
||||
<polygon fill="#999999" stroke="#666666" points="152.5,-97.5 0,-97.5 0,-55.75 152.5,-55.75 152.5,-97.5"/>
|
||||
<text text-anchor="start" x="8" y="-84" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="start" x="8" y="-72.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::generate</text>
|
||||
<text text-anchor="middle" x="76.25" y="-61.5" font-family="Helvetica,sans-Serif" font-size="10.00">_possible_moves</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="331.62,-154.25 200.12,-154.25 200.12,-135 331.62,-135 331.62,-154.25"/>
|
||||
<text text-anchor="middle" x="265.88" y="-140.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::emplace_back</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="M120.95,-97.95C141.18,-107.28 165.73,-117.84 188.5,-125.62 194.86,-127.8 201.6,-129.84 208.34,-131.72"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="207.3,-135.33 217.87,-134.53 209.11,-128.57 207.3,-135.33"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a94f794bf44f424b1b0ca6ef9f4f6ebd3" target="_top" xlink:title="A helper array to evaluate the next state from current state;.">
|
||||
<polygon fill="white" stroke="#666666" points="343.25,-116.88 188.5,-116.88 188.5,-86.38 343.25,-86.38 343.25,-116.88"/>
|
||||
<text text-anchor="start" x="196.5" y="-103.38" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="265.88" y="-92.12" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::find_zero</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="M152.75,-86.69C160.9,-87.77 169.23,-88.88 177.5,-89.98"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="176.93,-93.57 187.3,-91.42 177.85,-86.63 176.93,-93.57"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" target="_top" xlink:title="check whether the index value is bounded within the puzzle area">
|
||||
<polygon fill="white" stroke="#666666" points="341.75,-67.88 190,-67.88 190,-37.38 341.75,-37.38 341.75,-67.88"/>
|
||||
<text text-anchor="start" x="198" y="-54.38" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="265.88" y="-43.12" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::in_range</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="M152.75,-66.97C161.27,-65.88 170,-64.76 178.65,-63.65"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="179.05,-67 188.53,-62.26 178.16,-60.06 179.05,-67"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="295.25,-19.25 236.5,-19.25 236.5,0 295.25,0 295.25,-19.25"/>
|
||||
<text text-anchor="middle" x="265.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</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="M122.06,-55.3C142.09,-46.29 166.18,-36.16 188.5,-28.62 200.39,-24.61 213.59,-21.03 225.62,-18.09"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="226.34,-21.28 235.27,-15.57 224.73,-14.47 226.34,-21.28"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.2 KiB |
@@ -1,4 +1,5 @@
|
||||
<map id="machine_learning::aystar_search::EightPuzzle::get" name="machine_learning::aystar_search::EightPuzzle::get">
|
||||
<area shape="rect" id="node1" title="get the value from i units from right and j units from left side of the board" alt="" coords="5,5,177,46"/>
|
||||
<area shape="rect" id="node2" href="$dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" title="check whether the index value is bounded within the puzzle area" alt="" coords="225,5,427,46"/>
|
||||
<area shape="rect" id="Node000001" title="get the value from i units from right and j units from left side of the board" alt="" coords="5,5,177,46"/>
|
||||
<area shape="rect" id="Node000002" href="$dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" title="check whether the index value is bounded within the puzzle area" alt="" coords="225,5,427,46"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="177,23,210,23,210,28,177,28"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
bc6ba73e0549cf14c5bdd6db124412ff
|
||||
44a16f878fa2e891597c773c40857a4d
|
||||
@@ -6,12 +6,22 @@
|
||||
<!-- Title: machine_learning::aystar_search::EightPuzzle::get Pages: 1 -->
|
||||
<svg width="324pt" height="39pt"
|
||||
viewBox="0.00 0.00 324.25 38.50" 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" onload="init(evt)">
|
||||
<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 34.5)">
|
||||
<title>machine_learning::aystar_search::EightPuzzle::get</title>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="get the value from i units from right and j units from left side of the board">
|
||||
<g id="a_Node000001"><a xlink:title="get the value from i units from right and j units from left side of the board">
|
||||
<polygon fill="#999999" stroke="#666666" points="128.5,-30.5 0,-30.5 0,0 128.5,0 128.5,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="64.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::get</text>
|
||||
@@ -19,9 +29,9 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" target="_top" xlink:title="check whether the index value is bounded within the puzzle area">
|
||||
<g id="a_Node000002"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" target="_top" xlink:title="check whether the index value is bounded within the puzzle area">
|
||||
<polygon fill="white" stroke="#666666" points="316.25,-30.5 164.5,-30.5 164.5,0 316.25,0 316.25,-30.5"/>
|
||||
<text text-anchor="start" x="172.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="240.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::in_range</text>
|
||||
@@ -29,10 +39,28 @@
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<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="M128.61,-15.25C136.65,-15.25 144.99,-15.25 153.32,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.23,-18.75 163.23,-15.25 153.23,-11.75 153.23,-18.75"/>
|
||||
</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>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1,41 @@
|
||||
<?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.5 (20230430.1635)
|
||||
-->
|
||||
<!-- Title: machine_learning::aystar_search::EightPuzzle::get Pages: 1 -->
|
||||
<svg width="324pt" height="39pt"
|
||||
viewBox="0.00 0.00 324.25 38.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 34.5)">
|
||||
<title>machine_learning::aystar_search::EightPuzzle::get</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="get the value from i units from right and j units from left side of the board">
|
||||
<polygon fill="#999999" stroke="#666666" points="128.5,-30.5 0,-30.5 0,0 128.5,0 128.5,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="64.25" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::get</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a xlink:href="../../dd/d9c/classmachine__learning_1_1aystar__search_1_1_eight_puzzle.html#a48d054230468b79037964f474d842b6e" target="_top" xlink:title="check whether the index value is bounded within the puzzle area">
|
||||
<polygon fill="white" stroke="#666666" points="316.25,-30.5 164.5,-30.5 164.5,0 316.25,0 316.25,-30.5"/>
|
||||
<text text-anchor="start" x="172.5" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
|
||||
<text text-anchor="middle" x="240.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::EightPuzzle::in_range</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="M128.61,-15.25C136.65,-15.25 144.99,-15.25 153.32,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="153.23,-18.75 163.23,-15.25 153.23,-11.75 153.23,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |