Documentation for 8b1eab204b

This commit is contained in:
realstealthninja
2024-11-04 12:43:05 +00:00
parent 4fb6e622e9
commit a7bccf7d01
6732 changed files with 153919 additions and 365711 deletions

View File

@@ -1,3 +1,4 @@
<!-- HTML header for doxygen 1.12.0-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
@@ -5,10 +6,15 @@
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: machine_learning::aystar_search::AyStarSearch&lt; Puzzle &gt; Class Template Reference</title>
<title>TheAlgorithms/C++: machine_learning::aystar_search::AyStarSearch&lt; Puzzle &gt; Class Template Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
</script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../navtreedata.js"></script>
@@ -18,14 +24,24 @@
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
<script type="text/javascript">
window.MathJax = {
options: {
ignoreHtmlClass: 'tex2jax_ignore',
processHtmlClass: 'tex2jax_process'
},
loader: {
load: ['[tex]/ams']
},
tex: {
macros: {},
packages: ['base','configmacros','ams']
}
};
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
@@ -33,10 +49,11 @@ MathJax.Hub.Config({
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
<td id="projectalign">
<div id="projectname">Algorithms_in_C++<span id="projectnumber">&#160;1.0.0</span>
<div id="projectname">TheAlgorithms/C++<span id="projectnumber">&#160;1.0.0</span>
</div>
<div id="projectbrief">Set of algorithms implemented in C++.</div>
<div id="projectbrief">All the algorithms implemented in C++</div>
</td>
</tr>
</tbody>
@@ -146,10 +163,10 @@ Public Member Functions</h2></td></tr>
<tr class="memitem:abaff2ea6d309e1133fd95bbd1e39946e" id="r_abaff2ea6d309e1133fd95bbd1e39946e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abaff2ea6d309e1133fd95bbd1e39946e">AyStarSearch</a> (const Puzzle &amp;initial, const Puzzle &amp;final)</td></tr>
<tr class="memdesc:abaff2ea6d309e1133fd95bbd1e39946e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameterized constructor for <a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html" title="A class defining A* search algorithm. for some initial state and final state.">AyStarSearch</a>. <br /></td></tr>
<tr class="separator:abaff2ea6d309e1133fd95bbd1e39946e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a26aa9ad3d73707370d9fe83707aca4" id="r_a0a26aa9ad3d73707370d9fe83707aca4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; Puzzle &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0a26aa9ad3d73707370d9fe83707aca4">Solution</a> (<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a> &gt; FinalState, const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/map.html">MapOfPuzzleInfoWithPuzzleInfo</a> &amp;parent_of)</td></tr>
<tr class="memitem:a0a26aa9ad3d73707370d9fe83707aca4" id="r_a0a26aa9ad3d73707370d9fe83707aca4"><td class="memItemLeft" align="right" valign="top">std::vector&lt; Puzzle &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0a26aa9ad3d73707370d9fe83707aca4">Solution</a> (std::shared_ptr&lt; <a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a> &gt; FinalState, const MapOfPuzzleInfoWithPuzzleInfo &amp;parent_of)</td></tr>
<tr class="memdesc:a0a26aa9ad3d73707370d9fe83707aca4"><td class="mdescLeft">&#160;</td><td class="mdescRight">A helper solution: launches when a solution for <a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html" title="A class defining A* search algorithm. for some initial state and final state.">AyStarSearch</a> is found. <br /></td></tr>
<tr class="separator:a0a26aa9ad3d73707370d9fe83707aca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48284e156fdd48fd0c41008c7e48f201" id="r_a48284e156fdd48fd0c41008c7e48f201"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; Puzzle &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a48284e156fdd48fd0c41008c7e48f201">a_star_search</a> (const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; uint32_t(const Puzzle &amp;, const Puzzle &amp;)&gt; &amp;dist, const uint32_t permissible_depth=30)</td></tr>
<tr class="memitem:a48284e156fdd48fd0c41008c7e48f201" id="r_a48284e156fdd48fd0c41008c7e48f201"><td class="memItemLeft" align="right" valign="top">std::vector&lt; Puzzle &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a48284e156fdd48fd0c41008c7e48f201">a_star_search</a> (const std::function&lt; uint32_t(const Puzzle &amp;, const Puzzle &amp;)&gt; &amp;dist, const uint32_t permissible_depth=30)</td></tr>
<tr class="separator:a48284e156fdd48fd0c41008c7e48f201"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-types" name="pri-types"></a>
@@ -161,11 +178,9 @@ typedef struct machine_learning::aystar_search::AyStarSearch::Info&#160;</td><td
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac11d62d01fac136efbd2bace6c55cea5" id="r_ac11d62d01fac136efbd2bace6c55cea5"><td class="memItemLeft" align="right" valign="top"><a id="ac11d62d01fac136efbd2bace6c55cea5" name="ac11d62d01fac136efbd2bace6c55cea5"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Initial</b></td></tr>
<tr class="memitem:ac11d62d01fac136efbd2bace6c55cea5" id="r_ac11d62d01fac136efbd2bace6c55cea5"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac11d62d01fac136efbd2bace6c55cea5">Initial</a></td></tr>
<tr class="separator:ac11d62d01fac136efbd2bace6c55cea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1686cbc0c50ae9e6f949b1e4b46be9ff" id="r_a1686cbc0c50ae9e6f949b1e4b46be9ff"><td class="memItemLeft" align="right" valign="top"><a id="a1686cbc0c50ae9e6f949b1e4b46be9ff" name="a1686cbc0c50ae9e6f949b1e4b46be9ff"></a>
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Final</b></td></tr>
<tr class="memitem:a1686cbc0c50ae9e6f949b1e4b46be9ff" id="r_a1686cbc0c50ae9e6f949b1e4b46be9ff"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1686cbc0c50ae9e6f949b1e4b46be9ff">Final</a></td></tr>
<tr class="separator:a1686cbc0c50ae9e6f949b1e4b46be9ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
@@ -181,6 +196,8 @@ class machine_learning::aystar_search::AyStarSearch&lt; Puzzle &gt;</div><p>A cl
<li>For <code><a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html" title="A class defining A* search algorithm. for some initial state and final state.">AyStarSearch</a></code> to work, the definitions for template Puzzle is compulsory. a. Comparison operator for template Puzzle (<code>&lt;</code>, <code>==</code>, and <code>&lt;=</code>) b. <code>generate_possible_moves()</code> </li>
</ol>
</dd></dl>
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00288">288</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a0c683b037f42e827a16420ce8bccfab9" name="a0c683b037f42e827a16420ce8bccfab9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c683b037f42e827a16420ce8bccfab9">&#9670;&#160;</a></span>MapOfPuzzleInfoWithInteger</h2>
@@ -196,9 +213,10 @@ template&lt;typename Puzzle &gt; </div>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line"> </div>
<div class="line"> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/map.html">std::map&lt;std::shared_ptr&lt;Info&gt;</a>, uint32_t, comparison_operator&gt;</div>
<div class="ttc" id="amap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a></div></div>
<div class="line"> std::map&lt;std::shared_ptr&lt;Info&gt;, uint32_t, comparison_operator&gt;</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00382">382</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
</div>
</div>
<a id="a9e0065bda9eeaa2247a32e89f326b9a8" name="a9e0065bda9eeaa2247a32e89f326b9a8"></a>
@@ -215,10 +233,11 @@ template&lt;typename Puzzle &gt; </div>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line"> </div>
<div class="line"> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/map.html">std::map&lt;std::shared_ptr&lt;Info&gt;</a>, <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Info&gt;</a>,</div>
<div class="line"> std::map&lt;std::shared_ptr&lt;Info&gt;, std::shared_ptr&lt;Info&gt;,</div>
<div class="line"> comparison_operator&gt;</div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div></div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00378">378</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
</div>
</div>
<a id="ae8c3627dd2c94f297eb0fbbcad4ad101" name="ae8c3627dd2c94f297eb0fbbcad4ad101"></a>
@@ -235,9 +254,10 @@ template&lt;typename Puzzle &gt; </div>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line"> </div>
<div class="line"> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/set.html">std::set&lt;std::shared_ptr&lt;Info&gt;</a>, comparison_operator&gt;</div>
<div class="ttc" id="aset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a></div></div>
<div class="line"> std::set&lt;std::shared_ptr&lt;Info&gt;, comparison_operator&gt;</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00385">385</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
@@ -278,17 +298,13 @@ template&lt;typename Puzzle &gt; </div>
</table>
</dd>
</dl>
<div class="fragment"><div class="line"><span class="lineno"> 392</span> {</div>
<div class="line"><span class="lineno"> 393</span> Initial = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared&lt;Info&gt;</a>(initial);</div>
<div class="line"><span class="lineno"> 394</span> Final = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared&lt;Info&gt;</a>(<span class="keyword">final</span>);</div>
<div class="line"><span class="lineno"> 395</span> }</div>
<div class="ttc" id="amake_shared_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared</a></div><div class="ttdeci">T make_shared(T... args)</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="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search_abaff2ea6d309e1133fd95bbd1e39946e_cgraph.svg" width="351" height="67"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00392">392</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 392</span> {</div>
<div class="line"><span class="lineno"> 393</span> Initial = std::make_shared&lt;Info&gt;(initial);</div>
<div class="line"><span class="lineno"> 394</span> Final = std::make_shared&lt;Info&gt;(<span class="keyword">final</span>);</div>
<div class="line"><span class="lineno"> 395</span> }</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
@@ -304,9 +320,9 @@ template&lt;typename Puzzle &gt; </div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; Puzzle &gt; <a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html">machine_learning::aystar_search::AyStarSearch</a>&lt; Puzzle &gt;::a_star_search </td>
<td class="memname">std::vector&lt; Puzzle &gt; <a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html">machine_learning::aystar_search::AyStarSearch</a>&lt; Puzzle &gt;::a_star_search </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; uint32_t(const Puzzle &amp;, const Puzzle &amp;)&gt; &amp;</td> <td class="paramname"><span class="paramname"><em>dist</em></span>, </td>
<td class="paramtype">const std::function&lt; uint32_t(const Puzzle &amp;, const Puzzle &amp;)&gt; &amp;</td> <td class="paramname"><span class="paramname"><em>dist</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
@@ -332,12 +348,14 @@ template&lt;typename Puzzle &gt; </div>
<p>Stores the g_score</p>
<p>Stores the list to explore</p>
<p>Stores the list that are explored</p>
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00429">429</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 431</span> {</div>
<div class="line"><span class="lineno"> 432</span> MapOfPuzzleInfoWithPuzzleInfo</div>
<div class="line"><span class="lineno"> 433</span> parent_of; <span class="comment">/// Stores the parent of the states</span></div>
<div class="line"><span class="lineno"> 434</span> MapOfPuzzleInfoWithInteger g_score; <span class="comment">/// Stores the g_score</span></div>
<div class="line"><span class="lineno"> 435</span> SetOfPuzzleInfo open_list; <span class="comment">/// Stores the list to explore</span></div>
<div class="line"><span class="lineno"> 436</span> SetOfPuzzleInfo closed_list; <span class="comment">/// Stores the list that are explored</span></div>
<div class="line"><span class="lineno"> 433</span> parent_of; </div>
<div class="line"><span class="lineno"> 434</span> MapOfPuzzleInfoWithInteger g_score; </div>
<div class="line"><span class="lineno"> 435</span> SetOfPuzzleInfo open_list; </div>
<div class="line"><span class="lineno"> 436</span> SetOfPuzzleInfo closed_list; </div>
<div class="line"><span class="lineno"> 437</span> </div>
<div class="line"><span class="lineno"> 438</span> <span class="comment">// Before starting the AyStartSearch, initialize the set and maps</span></div>
<div class="line"><span class="lineno"> 439</span> open_list.emplace(Initial);</div>
@@ -360,7 +378,7 @@ template&lt;typename Puzzle &gt; </div>
<div class="line"><span class="lineno"> 456</span> }</div>
<div class="line"><span class="lineno"> 457</span> </div>
<div class="line"><span class="lineno"> 458</span> <span class="comment">// current_state, stores lowest f score so far for this state.</span></div>
<div class="line"><span class="lineno"> 459</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Info&gt;</a> current_state = *it_low_f_score;</div>
<div class="line"><span class="lineno"> 459</span> std::shared_ptr&lt;Info&gt; current_state = *it_low_f_score;</div>
<div class="line"><span class="lineno"> 460</span> </div>
<div class="line"><span class="lineno"> 461</span> <span class="comment">// if this current state is equal to final, return</span></div>
<div class="line"><span class="lineno"> 462</span> <span class="keywordflow">if</span> (*(current_state-&gt;state) == *(Final-&gt;state)) {</div>
@@ -375,13 +393,13 @@ template&lt;typename Puzzle &gt; </div>
<div class="line"><span class="lineno"> 471</span> }</div>
<div class="line"><span class="lineno"> 472</span> <span class="comment">// Generate all possible moves (neighbors) given the current</span></div>
<div class="line"><span class="lineno"> 473</span> <span class="comment">// state</span></div>
<div class="line"><span class="lineno"> 474</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;Puzzle&gt;</a> total_possible_moves =</div>
<div class="line"><span class="lineno"> 474</span> std::vector&lt;Puzzle&gt; total_possible_moves =</div>
<div class="line"><span class="lineno"> 475</span> current_state-&gt;state-&gt;generate_possible_moves();</div>
<div class="line"><span class="lineno"> 476</span> </div>
<div class="line"><span class="lineno"> 477</span> <span class="keywordflow">for</span> (Puzzle &amp;neighbor : total_possible_moves) {</div>
<div class="line"><span class="lineno"> 478</span> <span class="comment">// calculate score of neighbors with respect to</span></div>
<div class="line"><span class="lineno"> 479</span> <span class="comment">// current_state</span></div>
<div class="line"><span class="lineno"> 480</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Info&gt;</a> Neighbor = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html">std::make_shared&lt;Info&gt;</a>(</div>
<div class="line"><span class="lineno"> 480</span> std::shared_ptr&lt;Info&gt; Neighbor = std::make_shared&lt;Info&gt;(</div>
<div class="line"><span class="lineno"> 481</span> neighbor, dist(neighbor, *(Final-&gt;state)),</div>
<div class="line"><span class="lineno"> 482</span> current_state-&gt;depth + 1U);</div>
<div class="line"><span class="lineno"> 483</span> uint32_t temp_g_score = Neighbor-&gt;depth;</div>
@@ -425,16 +443,10 @@ template&lt;typename Puzzle &gt; </div>
<div class="line"><span class="lineno"> 521</span> closed_list.emplace(current_state);</div>
<div class="line"><span class="lineno"> 522</span> }</div>
<div class="line"><span class="lineno"> 523</span> <span class="comment">// Cannot find the solution, return empty vector</span></div>
<div class="line"><span class="lineno"> 524</span> <span class="keywordflow">return</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;Puzzle&gt;</a>(0);</div>
<div class="line"><span class="lineno"> 524</span> <span class="keywordflow">return</span> std::vector&lt;Puzzle&gt;(0);</div>
<div class="line"><span class="lineno"> 525</span> }</div>
<div class="ttc" id="aclassmachine__learning_1_1aystar__search_1_1_ay_star_search_html_a0a26aa9ad3d73707370d9fe83707aca4"><div class="ttname"><a href="#a0a26aa9ad3d73707370d9fe83707aca4">machine_learning::aystar_search::AyStarSearch::Solution</a></div><div class="ttdeci">std::vector&lt; Puzzle &gt; Solution(std::shared_ptr&lt; Info &gt; FinalState, const MapOfPuzzleInfoWithPuzzleInfo &amp;parent_of)</div><div class="ttdoc">A helper solution: launches when a solution for AyStarSearch is found.</div><div class="ttdef"><b>Definition</b> a_star_search.cpp:405</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="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search_a48284e156fdd48fd0c41008c7e48f201_cgraph.svg" width="615" height="515"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<div class="ttc" id="aclassmachine__learning_1_1aystar__search_1_1_ay_star_search_html_a0a26aa9ad3d73707370d9fe83707aca4"><div class="ttname"><a href="#a0a26aa9ad3d73707370d9fe83707aca4">machine_learning::aystar_search::AyStarSearch::Solution</a></div><div class="ttdeci">std::vector&lt; Puzzle &gt; Solution(std::shared_ptr&lt; Info &gt; FinalState, const MapOfPuzzleInfoWithPuzzleInfo &amp;parent_of)</div><div class="ttdoc">A helper solution: launches when a solution for AyStarSearch is found.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/dec/a__star__search_8cpp_source.html#l00405">a_star_search.cpp:405</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a0a26aa9ad3d73707370d9fe83707aca4" name="a0a26aa9ad3d73707370d9fe83707aca4"></a>
@@ -449,14 +461,14 @@ template&lt;typename Puzzle &gt; </div>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; Puzzle &gt; <a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html">machine_learning::aystar_search::AyStarSearch</a>&lt; Puzzle &gt;<a class="el" href="../../dd/d4f/class_solution.html">::Solution</a> </td>
<td class="memname">std::vector&lt; Puzzle &gt; <a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html">machine_learning::aystar_search::AyStarSearch</a>&lt; Puzzle &gt;<a class="el" href="../../dd/d4f/class_solution.html">::Solution</a> </td>
<td>(</td>
<td class="paramtype"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a> &gt;</td> <td class="paramname"><span class="paramname"><em>FinalState</em></span>, </td>
<td class="paramtype">std::shared_ptr&lt; <a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a> &gt;</td> <td class="paramname"><span class="paramname"><em>FinalState</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/map.html">MapOfPuzzleInfoWithPuzzleInfo</a> &amp;</td> <td class="paramname"><span class="paramname"><em>parent_of</em></span>&#160;)</td>
<td class="paramtype">const MapOfPuzzleInfoWithPuzzleInfo &amp;</td> <td class="paramname"><span class="paramname"><em>parent_of</em></span>&#160;)</td>
</tr>
</table>
</td>
@@ -475,6 +487,8 @@ template&lt;typename Puzzle &gt; </div>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the list of moves denoting moves from final state to initial state (in reverse) </dd></dl>
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00405">405</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
<div class="fragment"><div class="line"><span class="lineno"> 407</span> {</div>
<div class="line"><span class="lineno"> 408</span> <span class="comment">// Useful for traversing from final state to current state.</span></div>
<div class="line"><span class="lineno"> 409</span> <span class="keyword">auto</span> current_state = FinalState;</div>
@@ -482,24 +496,71 @@ template&lt;typename Puzzle &gt; </div>
<div class="line"><span class="lineno"> 411</span><span class="comment"> * For storing the solution tree starting from initial state to</span></div>
<div class="line"><span class="lineno"> 412</span><span class="comment"> * final state</span></div>
<div class="line"><span class="lineno"> 413</span><span class="comment"> */</span></div>
<div class="line"><span class="lineno"> 414</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;Puzzle&gt;</a> answer;</div>
<div class="line"><span class="lineno"> 414</span> std::vector&lt;Puzzle&gt; answer;</div>
<div class="line"><span class="lineno"> 415</span> <span class="keywordflow">while</span> (current_state != <span class="keyword">nullptr</span>) {</div>
<div class="line"><span class="lineno"> 416</span> answer.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html">emplace_back</a>(*current_state-&gt;state);</div>
<div class="line"><span class="lineno"> 416</span> answer.emplace_back(*current_state-&gt;state);</div>
<div class="line"><span class="lineno"> 417</span> current_state = parent_of.find(current_state)-&gt;second;</div>
<div class="line"><span class="lineno"> 418</span> }</div>
<div class="line"><span class="lineno"> 419</span> <span class="keywordflow">return</span> answer;</div>
<div class="line"><span class="lineno"> 420</span> }</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><!-- 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="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search_a0a26aa9ad3d73707370d9fe83707aca4_cgraph.svg" width="400" height="86"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a1686cbc0c50ae9e6f949b1e4b46be9ff" name="a1686cbc0c50ae9e6f949b1e4b46be9ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1686cbc0c50ae9e6f949b1e4b46be9ff">&#9670;&#160;</a></span>Final</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Puzzle &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::shared_ptr&lt;<a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a>&gt; <a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html">machine_learning::aystar_search::AyStarSearch</a>&lt; Puzzle &gt;::Final</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00366">366</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
</div>
</div>
<a id="ac11d62d01fac136efbd2bace6c55cea5" name="ac11d62d01fac136efbd2bace6c55cea5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac11d62d01fac136efbd2bace6c55cea5">&#9670;&#160;</a></span>Initial</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Puzzle &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::shared_ptr&lt;<a class="el" href="../../da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">Info</a>&gt; <a class="el" href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html">machine_learning::aystar_search::AyStarSearch</a>&lt; Puzzle &gt;::Initial</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html#l00365">365</a> of file <a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>machine_learning/<b>a_star_search.cpp</b></li>
<li>machine_learning/<a class="el" href="../../dd/dec/a__star__search_8cpp_source.html">a_star_search.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->

View File

@@ -1,7 +0,0 @@
<map id="machine_learning::aystar_search::AyStarSearch::Solution" name="machine_learning::aystar_search::AyStarSearch::Solution">
<area shape="rect" id="Node000001" title="A helper solution: launches when a solution for AyStarSearch is found." alt="" coords="5,16,172,71"/>
<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="220,5,395,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="172,31,204,27,204,33,172,36"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/map/find.html#" title=" " alt="" coords="257,55,358,80"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="172,50,241,58,241,63,172,55"/>
</map>

View File

@@ -1,85 +0,0 @@
<?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 12.1.2 (20240928.0832)
-->
<!-- Title: machine_learning::aystar_search::AyStarSearch::Solution Pages: 1 -->
<svg width="300pt" height="64pt"
viewBox="0.00 0.00 300.25 64.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">
<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 60.25)">
<title>machine_learning::aystar_search::AyStarSearch::Solution</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A helper solution: launches when a solution for AyStarSearch is found.">
<polygon fill="#999999" stroke="#666666" points="124.75,-48.5 0,-48.5 0,-6.75 124.75,-6.75 124.75,-48.5"/>
<text text-anchor="start" x="8" y="-35" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
<text text-anchor="start" x="8" y="-23.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::AyStarSearch::</text>
<text text-anchor="middle" x="62.38" y="-12.5" font-family="Helvetica,sans-Serif" font-size="10.00">Solution</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="292.25,-56.25 160.75,-56.25 160.75,-37 292.25,-37 292.25,-56.25"/>
<text text-anchor="middle" x="226.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::emplace_back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<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="M125.13,-34.86C132.98,-35.78 141.08,-36.73 149.12,-37.67"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.57,-41.13 158.91,-38.82 149.38,-34.18 148.57,-41.13"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="264.5,-19.25 188.5,-19.25 188.5,0 264.5,0 264.5,-19.25"/>
<text text-anchor="middle" x="226.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::map::find</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M125.13,-20.77C142.27,-18.87 160.63,-16.83 176.9,-15.02"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="177.27,-18.5 186.82,-13.92 176.5,-11.54 177.27,-18.5"/>
</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: 3.7 KiB

View File

@@ -1,59 +0,0 @@
<?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 12.1.2 (20240928.0832)
-->
<!-- Title: machine_learning::aystar_search::AyStarSearch::Solution Pages: 1 -->
<svg width="300pt" height="64pt"
viewBox="0.00 0.00 300.25 64.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 60.25)">
<title>machine_learning::aystar_search::AyStarSearch::Solution</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="A helper solution: launches when a solution for AyStarSearch is found.">
<polygon fill="#999999" stroke="#666666" points="124.75,-48.5 0,-48.5 0,-6.75 124.75,-6.75 124.75,-48.5"/>
<text text-anchor="start" x="8" y="-35" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
<text text-anchor="start" x="8" y="-23.75" font-family="Helvetica,sans-Serif" font-size="10.00">_search::AyStarSearch::</text>
<text text-anchor="middle" x="62.38" y="-12.5" font-family="Helvetica,sans-Serif" font-size="10.00">Solution</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="292.25,-56.25 160.75,-56.25 160.75,-37 292.25,-37 292.25,-56.25"/>
<text text-anchor="middle" x="226.5" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::emplace_back</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<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="M125.13,-34.86C132.98,-35.78 141.08,-36.73 149.12,-37.67"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.57,-41.13 158.91,-38.82 149.38,-34.18 148.57,-41.13"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="264.5,-19.25 188.5,-19.25 188.5,0 264.5,0 264.5,-19.25"/>
<text text-anchor="middle" x="226.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::map::find</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M125.13,-20.77C142.27,-18.87 160.63,-16.83 176.9,-15.02"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="177.27,-18.5 186.82,-13.92 176.5,-11.54 177.27,-18.5"/>
</a>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -1,26 +0,0 @@
<map id="machine_learning::aystar_search::AyStarSearch::a_star_search" name="machine_learning::aystar_search::AyStarSearch::a_star_search">
<area shape="rect" id="Node000001" title=" " alt="" coords="5,213,172,269"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/set/begin.html#" title=" " alt="" coords="251,5,355,31"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="98,211,116,173,142,127,176,80,218,40,235,30,238,35,221,44,180,83,147,129,121,175,103,214"/>
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/set/emplace.html#" title=" " alt="" coords="242,55,364,80"/>
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="105,211,151,150,182,117,218,89,226,85,229,89,221,94,186,121,155,153,109,214"/>
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/set/empty.html#" title=" " alt="" coords="248,104,358,130"/>
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="118,211,163,173,218,138,232,132,234,137,221,143,167,178,121,215"/>
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/map/end.html#" title=" " alt="" coords="252,153,354,179"/>
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="159,210,219,188,238,181,240,186,221,193,160,215"/>
<area shape="rect" id="Node000006" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/set/end.html#" title=" " alt="" coords="256,203,350,228"/>
<area shape="poly" id="edge5_Node000001_Node000006" title=" " alt="" coords="172,228,240,220,240,225,173,234"/>
<area shape="rect" id="Node000007" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/set/erase.html#" title=" " alt="" coords="250,252,356,278"/>
<area shape="poly" id="edge6_Node000001_Node000007" title=" " alt="" coords="173,248,235,255,235,260,172,253"/>
<area shape="rect" id="Node000008" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/map/find.html#" title=" " alt="" coords="471,361,572,387"/>
<area shape="poly" id="edge7_Node000001_Node000008" title=" " alt="" coords="162,267,221,288,346,325,456,355,455,360,344,331,219,293,160,272"/>
<area shape="rect" id="Node000009" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/set/find.html#" title=" " alt="" coords="256,353,350,379"/>
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="126,267,170,300,221,332,249,345,247,350,218,337,167,304,122,271"/>
<area shape="rect" id="Node000010" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="240,403,366,428"/>
<area shape="poly" id="edge9_Node000001_Node000010" title=" " alt="" coords="109,267,155,329,186,362,221,389,229,394,226,398,218,394,182,366,151,333,105,271"/>
<area shape="rect" id="Node000011" href="$da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html#a0a26aa9ad3d73707370d9fe83707aca4" title="A helper solution: launches when a solution for AyStarSearch is found." alt="" coords="220,453,386,509"/>
<area shape="poly" id="edge10_Node000001_Node000011" title=" " alt="" coords="104,268,149,351,182,397,222,439,225,442,221,446,218,443,178,401,145,354,100,270"/>
<area shape="poly" id="edge12_Node000011_Node000008" title=" " alt="" coords="361,450,385,438,479,392,481,397,387,443,363,455"/>
<area shape="rect" id="Node000012" 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="434,468,609,494"/>
<area shape="poly" id="edge11_Node000011_Node000012" title=" " alt="" coords="387,478,418,478,418,484,387,484"/>
</map>

View File

@@ -1,258 +0,0 @@
<?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 12.1.2 (20240928.0832)
-->
<!-- Title: machine_learning::aystar_search::AyStarSearch::a_star_search Pages: 1 -->
<svg width="461pt" height="386pt"
viewBox="0.00 0.00 461.00 385.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">
<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 381.5)">
<title>machine_learning::aystar_search::AyStarSearch::a_star_search</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title=" ">
<polygon fill="#999999" stroke="#666666" points="124.75,-221.75 0,-221.75 0,-180 124.75,-180 124.75,-221.75"/>
<text text-anchor="start" x="8" y="-208.25" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
<text text-anchor="start" x="8" y="-197" font-family="Helvetica,sans-Serif" font-size="10.00">_search::AyStarSearch::</text>
<text text-anchor="middle" x="62.38" y="-185.75" font-family="Helvetica,sans-Serif" font-size="10.00">a_star_search</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/set/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="262.25,-377.5 184,-377.5 184,-358.25 262.25,-358.25 262.25,-377.5"/>
<text text-anchor="middle" x="223.12" y="-364" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::begin</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<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="M71.54,-222.09C85.1,-254.51 115.34,-316.17 160.75,-349.88 164.56,-352.7 168.81,-355.09 173.25,-357.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="171.81,-360.3 182.4,-360.61 174.32,-353.77 171.81,-360.3"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/emplace.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="269,-340.5 177.25,-340.5 177.25,-321.25 269,-321.25 269,-340.5"/>
<text text-anchor="middle" x="223.12" y="-327" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::emplace</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M76.18,-221.85C92.67,-247.11 123.66,-289.09 160.75,-312.88 162.61,-314.07 164.55,-315.18 166.54,-316.22"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="164.96,-319.35 175.52,-320.24 167.82,-312.96 164.96,-319.35"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/empty.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="264.12,-303.5 182.12,-303.5 182.12,-284.25 264.12,-284.25 264.12,-303.5"/>
<text text-anchor="middle" x="223.12" y="-290" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::empty</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M85.72,-222.01C104.46,-238.72 132.6,-261.55 160.75,-275.88 164.02,-277.54 167.46,-279.07 170.98,-280.48"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="169.66,-283.72 180.25,-283.83 172.04,-277.14 169.66,-283.72"/>
</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/container/map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="261.12,-266.5 185.12,-266.5 185.12,-247.25 261.12,-247.25 261.12,-266.5"/>
<text text-anchor="middle" x="223.12" y="-253" font-family="Helvetica,sans-Serif" font-size="10.00">std::map::end</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M115.62,-222.23C130.14,-227.9 145.98,-233.84 160.75,-238.88 165.43,-240.47 170.34,-242.06 175.25,-243.59"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="173.9,-246.83 184.49,-246.39 175.94,-240.14 173.9,-246.83"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="258.5,-229.5 187.75,-229.5 187.75,-210.25 258.5,-210.25 258.5,-229.5"/>
<text text-anchor="middle" x="223.12" y="-216" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::end</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge5_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M125.21,-208.28C142.16,-210.3 160.24,-212.47 176.13,-214.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.42,-217.81 185.77,-215.52 176.26,-210.86 175.42,-217.81"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="262.62,-192.5 183.62,-192.5 183.62,-173.25 262.62,-173.25 262.62,-192.5"/>
<text text-anchor="middle" x="223.12" y="-179" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::erase</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M125.21,-193.86C140.75,-192.1 157.23,-190.23 172.11,-188.55"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="172.09,-192.07 181.63,-187.47 171.3,-185.12 172.09,-192.07"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="425.25,-110.5 349.25,-110.5 349.25,-91.25 425.25,-91.25 425.25,-110.5"/>
<text text-anchor="middle" x="387.25" y="-97" font-family="Helvetica,sans-Serif" font-size="10.00">std::map::find</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge7_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M116.89,-179.54C131.06,-174.17 146.41,-168.59 160.75,-163.88 221.09,-144.03 291.78,-124.94 337.71,-113.08"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="338.55,-116.47 347.36,-110.6 336.81,-109.69 338.55,-116.47"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="258.5,-116.5 187.75,-116.5 187.75,-97.25 258.5,-97.25 258.5,-116.5"/>
<text text-anchor="middle" x="223.12" y="-103" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::find</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<g id="edge8_Node000001_Node000009" class="edge">
<title>Node1&#45;&gt;Node9</title>
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M89.06,-179.68C108.04,-164.71 134.96,-144.9 160.75,-130.88 167.37,-127.28 174.64,-123.94 181.8,-120.97"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="182.68,-124.39 190.7,-117.45 180.11,-117.88 182.68,-124.39"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="270.12,-79.5 176.12,-79.5 176.12,-60.25 270.12,-60.25 270.12,-79.5"/>
<text text-anchor="middle" x="223.12" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node10 -->
<g id="edge9_Node000001_Node000010" class="edge">
<title>Node1&#45;&gt;Node10</title>
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M76.14,-179.71C92.58,-154.22 123.52,-111.86 160.75,-87.88 162.57,-86.7 164.47,-85.6 166.42,-84.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="167.52,-87.92 175.19,-80.61 164.63,-81.54 167.52,-87.92"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a xlink:href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html#a0a26aa9ad3d73707370d9fe83707aca4" target="_top" xlink:title="A helper solution: launches when a solution for AyStarSearch is found.">
<polygon fill="white" stroke="#666666" points="285.5,-41.75 160.75,-41.75 160.75,0 285.5,0 285.5,-41.75"/>
<text text-anchor="start" x="168.75" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
<text text-anchor="start" x="168.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_search::AyStarSearch::</text>
<text text-anchor="middle" x="223.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">Solution</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node11 -->
<g id="edge10_Node000001_Node000011" class="edge">
<title>Node1&#45;&gt;Node11</title>
<g id="a_edge10_Node000001_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M72.6,-179.65C87.25,-148.02 118.56,-88.24 160.75,-50.88 161.53,-50.19 162.32,-49.51 163.13,-48.85"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="165.07,-51.76 171.13,-43.07 160.98,-46.09 165.07,-51.76"/>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node8 -->
<g id="edge12_Node000011_Node000008" class="edge">
<title>Node11&#45;&gt;Node8</title>
<g id="a_edge12_Node000011_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M267.73,-42.15C273.7,-45.07 279.75,-48.05 285.5,-50.88 309.26,-62.58 336.12,-75.91 356.13,-85.87"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="354.33,-88.88 364.84,-90.2 357.45,-82.61 354.33,-88.88"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="453,-30.5 321.5,-30.5 321.5,-11.25 453,-11.25 453,-30.5"/>
<text text-anchor="middle" x="387.25" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::emplace_back</text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge11_Node000011_Node000012" class="edge">
<title>Node11&#45;&gt;Node12</title>
<g id="a_edge11_Node000011_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M285.88,-20.88C293.73,-20.88 301.83,-20.88 309.87,-20.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.65,-24.38 319.65,-20.88 309.65,-17.38 309.65,-24.38"/>
</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: 12 KiB

View File

@@ -1,232 +0,0 @@
<?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 12.1.2 (20240928.0832)
-->
<!-- Title: machine_learning::aystar_search::AyStarSearch::a_star_search Pages: 1 -->
<svg width="461pt" height="386pt"
viewBox="0.00 0.00 461.00 385.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 381.5)">
<title>machine_learning::aystar_search::AyStarSearch::a_star_search</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title=" ">
<polygon fill="#999999" stroke="#666666" points="124.75,-221.75 0,-221.75 0,-180 124.75,-180 124.75,-221.75"/>
<text text-anchor="start" x="8" y="-208.25" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
<text text-anchor="start" x="8" y="-197" font-family="Helvetica,sans-Serif" font-size="10.00">_search::AyStarSearch::</text>
<text text-anchor="middle" x="62.38" y="-185.75" font-family="Helvetica,sans-Serif" font-size="10.00">a_star_search</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/set/begin.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="262.25,-377.5 184,-377.5 184,-358.25 262.25,-358.25 262.25,-377.5"/>
<text text-anchor="middle" x="223.12" y="-364" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::begin</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<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="M71.54,-222.09C85.1,-254.51 115.34,-316.17 160.75,-349.88 164.56,-352.7 168.81,-355.09 173.25,-357.1"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="171.81,-360.3 182.4,-360.61 174.32,-353.77 171.81,-360.3"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/emplace.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="269,-340.5 177.25,-340.5 177.25,-321.25 269,-321.25 269,-340.5"/>
<text text-anchor="middle" x="223.12" y="-327" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::emplace</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M76.18,-221.85C92.67,-247.11 123.66,-289.09 160.75,-312.88 162.61,-314.07 164.55,-315.18 166.54,-316.22"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="164.96,-319.35 175.52,-320.24 167.82,-312.96 164.96,-319.35"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/empty.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="264.12,-303.5 182.12,-303.5 182.12,-284.25 264.12,-284.25 264.12,-303.5"/>
<text text-anchor="middle" x="223.12" y="-290" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::empty</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M85.72,-222.01C104.46,-238.72 132.6,-261.55 160.75,-275.88 164.02,-277.54 167.46,-279.07 170.98,-280.48"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="169.66,-283.72 180.25,-283.83 172.04,-277.14 169.66,-283.72"/>
</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/container/map/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="261.12,-266.5 185.12,-266.5 185.12,-247.25 261.12,-247.25 261.12,-266.5"/>
<text text-anchor="middle" x="223.12" y="-253" font-family="Helvetica,sans-Serif" font-size="10.00">std::map::end</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M115.62,-222.23C130.14,-227.9 145.98,-233.84 160.75,-238.88 165.43,-240.47 170.34,-242.06 175.25,-243.59"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="173.9,-246.83 184.49,-246.39 175.94,-240.14 173.9,-246.83"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/end.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="258.5,-229.5 187.75,-229.5 187.75,-210.25 258.5,-210.25 258.5,-229.5"/>
<text text-anchor="middle" x="223.12" y="-216" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::end</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge5_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M125.21,-208.28C142.16,-210.3 160.24,-212.47 176.13,-214.37"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="175.42,-217.81 185.77,-215.52 176.26,-210.86 175.42,-217.81"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/erase.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="262.62,-192.5 183.62,-192.5 183.62,-173.25 262.62,-173.25 262.62,-192.5"/>
<text text-anchor="middle" x="223.12" y="-179" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::erase</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M125.21,-193.86C140.75,-192.1 157.23,-190.23 172.11,-188.55"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="172.09,-192.07 181.63,-187.47 171.3,-185.12 172.09,-192.07"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/map/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="425.25,-110.5 349.25,-110.5 349.25,-91.25 425.25,-91.25 425.25,-110.5"/>
<text text-anchor="middle" x="387.25" y="-97" font-family="Helvetica,sans-Serif" font-size="10.00">std::map::find</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge7_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M116.89,-179.54C131.06,-174.17 146.41,-168.59 160.75,-163.88 221.09,-144.03 291.78,-124.94 337.71,-113.08"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="338.55,-116.47 347.36,-110.6 336.81,-109.69 338.55,-116.47"/>
</a>
</g>
</g>
<!-- Node9 -->
<g id="Node000009" class="node">
<title>Node9</title>
<g id="a_Node000009"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/set/find.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="258.5,-116.5 187.75,-116.5 187.75,-97.25 258.5,-97.25 258.5,-116.5"/>
<text text-anchor="middle" x="223.12" y="-103" font-family="Helvetica,sans-Serif" font-size="10.00">std::set::find</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node9 -->
<g id="edge8_Node000001_Node000009" class="edge">
<title>Node1&#45;&gt;Node9</title>
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M89.06,-179.68C108.04,-164.71 134.96,-144.9 160.75,-130.88 167.37,-127.28 174.64,-123.94 181.8,-120.97"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="182.68,-124.39 190.7,-117.45 180.11,-117.88 182.68,-124.39"/>
</a>
</g>
</g>
<!-- Node10 -->
<g id="Node000010" class="node">
<title>Node10</title>
<g id="a_Node000010"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="270.12,-79.5 176.12,-79.5 176.12,-60.25 270.12,-60.25 270.12,-79.5"/>
<text text-anchor="middle" x="223.12" y="-66" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node10 -->
<g id="edge9_Node000001_Node000010" class="edge">
<title>Node1&#45;&gt;Node10</title>
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M76.14,-179.71C92.58,-154.22 123.52,-111.86 160.75,-87.88 162.57,-86.7 164.47,-85.6 166.42,-84.57"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="167.52,-87.92 175.19,-80.61 164.63,-81.54 167.52,-87.92"/>
</a>
</g>
</g>
<!-- Node11 -->
<g id="Node000011" class="node">
<title>Node11</title>
<g id="a_Node000011"><a xlink:href="../../da/d02/classmachine__learning_1_1aystar__search_1_1_ay_star_search.html#a0a26aa9ad3d73707370d9fe83707aca4" target="_top" xlink:title="A helper solution: launches when a solution for AyStarSearch is found.">
<polygon fill="white" stroke="#666666" points="285.5,-41.75 160.75,-41.75 160.75,0 285.5,0 285.5,-41.75"/>
<text text-anchor="start" x="168.75" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
<text text-anchor="start" x="168.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_search::AyStarSearch::</text>
<text text-anchor="middle" x="223.12" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">Solution</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node11 -->
<g id="edge10_Node000001_Node000011" class="edge">
<title>Node1&#45;&gt;Node11</title>
<g id="a_edge10_Node000001_Node000011"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M72.6,-179.65C87.25,-148.02 118.56,-88.24 160.75,-50.88 161.53,-50.19 162.32,-49.51 163.13,-48.85"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="165.07,-51.76 171.13,-43.07 160.98,-46.09 165.07,-51.76"/>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node8 -->
<g id="edge12_Node000011_Node000008" class="edge">
<title>Node11&#45;&gt;Node8</title>
<g id="a_edge12_Node000011_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M267.73,-42.15C273.7,-45.07 279.75,-48.05 285.5,-50.88 309.26,-62.58 336.12,-75.91 356.13,-85.87"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="354.33,-88.88 364.84,-90.2 357.45,-82.61 354.33,-88.88"/>
</a>
</g>
</g>
<!-- Node12 -->
<g id="Node000012" class="node">
<title>Node12</title>
<g id="a_Node000012"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/emplace_back.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="453,-30.5 321.5,-30.5 321.5,-11.25 453,-11.25 453,-30.5"/>
<text text-anchor="middle" x="387.25" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::emplace_back</text>
</a>
</g>
</g>
<!-- Node11&#45;&gt;Node12 -->
<g id="edge11_Node000011_Node000012" class="edge">
<title>Node11&#45;&gt;Node12</title>
<g id="a_edge11_Node000011_Node000012"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M285.88,-20.88C293.73,-20.88 301.83,-20.88 309.87,-20.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="309.65,-24.38 319.65,-20.88 309.65,-17.38 309.65,-24.38"/>
</a>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,5 +0,0 @@
<map id="machine_learning::aystar_search::AyStarSearch::AyStarSearch" name="machine_learning::aystar_search::AyStarSearch::AyStarSearch">
<area shape="rect" id="Node000001" title="Parameterized constructor for AyStarSearch." alt="" coords="5,5,172,61"/>
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/memory/shared_ptr/make_shared.html#" title=" " alt="" coords="220,20,345,46"/>
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="172,30,204,30,204,36,172,36"/>
</map>

View File

@@ -1,67 +0,0 @@
<?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 12.1.2 (20240928.0832)
-->
<!-- Title: machine_learning::aystar_search::AyStarSearch::AyStarSearch Pages: 1 -->
<svg width="263pt" height="50pt"
viewBox="0.00 0.00 262.75 49.75" 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">
<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 45.75)">
<title>machine_learning::aystar_search::AyStarSearch::AyStarSearch</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Parameterized constructor for AyStarSearch.">
<polygon fill="#999999" stroke="#666666" points="124.75,-41.75 0,-41.75 0,0 124.75,0 124.75,-41.75"/>
<text text-anchor="start" x="8" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_search::AyStarSearch::</text>
<text text-anchor="middle" x="62.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">AyStarSearch</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="254.75,-30.5 160.75,-30.5 160.75,-11.25 254.75,-11.25 254.75,-30.5"/>
<text text-anchor="middle" x="207.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<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="M125.01,-20.88C132.97,-20.88 141.09,-20.88 148.98,-20.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.81,-24.38 158.81,-20.88 148.81,-17.38 148.81,-24.38"/>
</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.8 KiB

View File

@@ -1,41 +0,0 @@
<?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 12.1.2 (20240928.0832)
-->
<!-- Title: machine_learning::aystar_search::AyStarSearch::AyStarSearch Pages: 1 -->
<svg width="263pt" height="50pt"
viewBox="0.00 0.00 262.75 49.75" 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 45.75)">
<title>machine_learning::aystar_search::AyStarSearch::AyStarSearch</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Parameterized constructor for AyStarSearch.">
<polygon fill="#999999" stroke="#666666" points="124.75,-41.75 0,-41.75 0,0 124.75,0 124.75,-41.75"/>
<text text-anchor="start" x="8" y="-28.25" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::aystar</text>
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">_search::AyStarSearch::</text>
<text text-anchor="middle" x="62.38" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">AyStarSearch</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/memory/shared_ptr/make_shared.html#" xlink:title=" ">
<polygon fill="white" stroke="#666666" points="254.75,-30.5 160.75,-30.5 160.75,-11.25 254.75,-11.25 254.75,-30.5"/>
<text text-anchor="middle" x="207.75" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">std::make_shared</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<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="M125.01,-20.88C132.97,-20.88 141.09,-20.88 148.98,-20.88"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="148.81,-24.38 158.81,-20.88 148.81,-17.38 148.81,-24.38"/>
</a>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB