Documentation for 53a6c16730

This commit is contained in:
github-actions
2022-01-16 16:05:19 +00:00
parent 778f1be9e5
commit 2cab28c905
3620 changed files with 52045 additions and 41188 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Algorithms_in_C++: machine_learning/kohonen_som_topology.cpp File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
@@ -30,8 +30,8 @@ MathJax.Hub.Config({
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Algorithms_in_C++<span id="projectnumber">&#160;1.0.0</span>
</div>
<div id="projectbrief">Set of algorithms implemented in C++.</div>
@@ -41,7 +41,7 @@ MathJax.Hub.Config({
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search",'Search','.html');
@@ -203,9 +203,9 @@ The compiled code is much slower when compiled with MS Visual C++ 2019 than with
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>time difference in seconds </dd></dl>
<div class="fragment"><div class="line"><a id="l00577" name="l00577"></a><span class="lineno"> 577</span> {</div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno"> 578</span> <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(end_t - start_t) / CLOCKS_PER_SEC;</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno"> 579</span>}</div>
<div class="fragment"><div class="line"><span class="lineno"> 577</span> {</div>
<div class="line"><span class="lineno"> 578</span> <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">double</span><span class="keyword">&gt;</span>(end_t - start_t) / CLOCKS_PER_SEC;</div>
<div class="line"><span class="lineno"> 579</span>}</div>
</div><!-- fragment -->
</div>
</div>
@@ -235,38 +235,38 @@ The compiled code is much slower when compiled with MS Visual C++ 2019 than with
</table>
</div><div class="memdoc">
<p >Main function </p>
<div class="fragment"><div class="line"><a id="l00582" name="l00582"></a><span class="lineno"> 582</span> {</div>
<div class="line"><a id="l00583" name="l00583"></a><span class="lineno"> 583</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><a id="l00584" name="l00584"></a><span class="lineno"> 584</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Using OpenMP based parallelization\n&quot;</span>;</div>
<div class="line"><a id="l00585" name="l00585"></a><span class="lineno"> 585</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00586" name="l00586"></a><span class="lineno"> 586</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;NOT using OpenMP based parallelization\n&quot;</span>;</div>
<div class="line"><a id="l00587" name="l00587"></a><span class="lineno"> 587</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00588" name="l00588"></a><span class="lineno"> 588</span> </div>
<div class="line"><a id="l00589" name="l00589"></a><span class="lineno"> 589</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/srand.html">std::srand</a>(<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/time.html">std::time</a>(<span class="keyword">nullptr</span>));</div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno"> 590</span> </div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno"> 591</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock_t.html">std::clock_t</a> start_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno"> 592</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a>();</div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno"> 593</span> <span class="keyword">auto</span> end_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno"> 594</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Test 1 completed in &quot;</span> &lt;&lt; <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a>(start_clk, end_clk)</div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno"> 595</span> &lt;&lt; <span class="stringliteral">&quot; sec\n&quot;</span>;</div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno"> 596</span> </div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno"> 597</span> start_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno"> 598</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a0283886819c7c140a023582b7269e2d0">test2</a>();</div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno"> 599</span> end_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><a id="l00600" name="l00600"></a><span class="lineno"> 600</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Test 2 completed in &quot;</span> &lt;&lt; <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a>(start_clk, end_clk)</div>
<div class="line"><a id="l00601" name="l00601"></a><span class="lineno"> 601</span> &lt;&lt; <span class="stringliteral">&quot; sec\n&quot;</span>;</div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno"> 602</span> </div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno"> 603</span> start_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno"> 604</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a6d0455dd5c30adda100e95f0423c786e">test3</a>();</div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno"> 605</span> end_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno"> 606</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Test 3 completed in &quot;</span> &lt;&lt; <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a>(start_clk, end_clk)</div>
<div class="line"><a id="l00607" name="l00607"></a><span class="lineno"> 607</span> &lt;&lt; <span class="stringliteral">&quot; sec\n&quot;</span>;</div>
<div class="line"><a id="l00608" name="l00608"></a><span class="lineno"> 608</span> </div>
<div class="line"><a id="l00609" name="l00609"></a><span class="lineno"> 609</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div>
<div class="line"><a id="l00610" name="l00610"></a><span class="lineno"> 610</span> &lt;&lt; <span class="stringliteral">&quot;(Note: Calculated times include: creating test sets, training &quot;</span></div>
<div class="line"><a id="l00611" name="l00611"></a><span class="lineno"> 611</span> <span class="stringliteral">&quot;model and writing files to disk.)\n\n&quot;</span>;</div>
<div class="line"><a id="l00612" name="l00612"></a><span class="lineno"> 612</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno"> 613</span>}</div>
<div class="fragment"><div class="line"><span class="lineno"> 582</span> {</div>
<div class="line"><span class="lineno"> 583</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><span class="lineno"> 584</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Using OpenMP based parallelization\n&quot;</span>;</div>
<div class="line"><span class="lineno"> 585</span><span class="preprocessor">#else</span></div>
<div class="line"><span class="lineno"> 586</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;NOT using OpenMP based parallelization\n&quot;</span>;</div>
<div class="line"><span class="lineno"> 587</span><span class="preprocessor">#endif</span></div>
<div class="line"><span class="lineno"> 588</span> </div>
<div class="line"><span class="lineno"> 589</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/srand.html">std::srand</a>(<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/time.html">std::time</a>(<span class="keyword">nullptr</span>));</div>
<div class="line"><span class="lineno"> 590</span> </div>
<div class="line"><span class="lineno"> 591</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock_t.html">std::clock_t</a> start_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><span class="lineno"> 592</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0">test1</a>();</div>
<div class="line"><span class="lineno"> 593</span> <span class="keyword">auto</span> end_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><span class="lineno"> 594</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Test 1 completed in &quot;</span> &lt;&lt; <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a>(start_clk, end_clk)</div>
<div class="line"><span class="lineno"> 595</span> &lt;&lt; <span class="stringliteral">&quot; sec\n&quot;</span>;</div>
<div class="line"><span class="lineno"> 596</span> </div>
<div class="line"><span class="lineno"> 597</span> start_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><span class="lineno"> 598</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a0283886819c7c140a023582b7269e2d0">test2</a>();</div>
<div class="line"><span class="lineno"> 599</span> end_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><span class="lineno"> 600</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Test 2 completed in &quot;</span> &lt;&lt; <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a>(start_clk, end_clk)</div>
<div class="line"><span class="lineno"> 601</span> &lt;&lt; <span class="stringliteral">&quot; sec\n&quot;</span>;</div>
<div class="line"><span class="lineno"> 602</span> </div>
<div class="line"><span class="lineno"> 603</span> start_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><span class="lineno"> 604</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a6d0455dd5c30adda100e95f0423c786e">test3</a>();</div>
<div class="line"><span class="lineno"> 605</span> end_clk = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a>();</div>
<div class="line"><span class="lineno"> 606</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> &lt;&lt; <span class="stringliteral">&quot;Test 3 completed in &quot;</span> &lt;&lt; <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a2256c10b16edba377b64a44b6c656908">get_clock_diff</a>(start_clk, end_clk)</div>
<div class="line"><span class="lineno"> 607</span> &lt;&lt; <span class="stringliteral">&quot; sec\n&quot;</span>;</div>
<div class="line"><span class="lineno"> 608</span> </div>
<div class="line"><span class="lineno"> 609</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div>
<div class="line"><span class="lineno"> 610</span> &lt;&lt; <span class="stringliteral">&quot;(Note: Calculated times include: creating test sets, training &quot;</span></div>
<div class="line"><span class="lineno"> 611</span> <span class="stringliteral">&quot;model and writing files to disk.)\n\n&quot;</span>;</div>
<div class="line"><span class="lineno"> 612</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><span class="lineno"> 613</span>}</div>
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
<div class="ttc" id="aclock_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/c/clock.html">std::clock</a></div><div class="ttdeci">T clock(T... args)</div></div>
<div class="ttc" id="aclock_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/c/clock_t.html">std::clock_t</a></div></div>
@@ -304,38 +304,38 @@ Here is the call graph for this function:</div>
<li><code>w11.csv</code>: initial random map</li>
<li><code>w12.csv</code>: trained SOM map </li>
</ul>
<div class="fragment"><div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> {</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> <span class="keywordtype">int</span> j = 0, <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = 300;</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> <span class="keywordtype">int</span> features = 2;</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> <span class="keywordtype">int</span> num_out = 30;</div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt; X(N);</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::vector&lt;std::valarray&lt;double&gt;</a>&gt;&gt; W(num_out);</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a>(num_out, N); i++) {</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> <span class="comment">// loop till max(N, num_out)</span></div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> <span class="keywordflow">if</span> (i &lt; N) { <span class="comment">// only add new arrays if i &lt; N</span></div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> X[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> }</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> <span class="keywordflow">if</span> (i &lt; num_out) { <span class="comment">// only add new arrays if i &lt; num_out</span></div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> W[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt;(num_out);</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a> &lt; num_out; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>++) {</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> <span class="keywordflow">for</span> (j = 0; j &lt; features; j++) {</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> <span class="comment">// preallocate with random initial weights</span></div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>][j] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(-10, 10);</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> }</div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span> }</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> }</div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> }</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> </div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a48efb079040c7aaa3a4917a0e486cba9">test_2d_classes</a>(&amp;X); <span class="comment">// create test data around circumference of a circle</span></div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c">save_2d_data</a>(<span class="stringliteral">&quot;test1.csv&quot;</span>, X); <span class="comment">// save test data points</span></div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w11.csv&quot;</span>, W); <span class="comment">// save initial random weights</span></div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576">kohonen_som</a>(X, &amp;W, 1e-4); <span class="comment">// train the SOM</span></div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w12.csv&quot;</span>, W); <span class="comment">// save the resultant weights</span></div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span>}</div>
<div class="fragment"><div class="line"><span class="lineno"> 369</span> {</div>
<div class="line"><span class="lineno"> 370</span> <span class="keywordtype">int</span> j = 0, <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = 300;</div>
<div class="line"><span class="lineno"> 371</span> <span class="keywordtype">int</span> features = 2;</div>
<div class="line"><span class="lineno"> 372</span> <span class="keywordtype">int</span> num_out = 30;</div>
<div class="line"><span class="lineno"> 373</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt; X(N);</div>
<div class="line"><span class="lineno"> 374</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::vector&lt;std::valarray&lt;double&gt;</a>&gt;&gt; W(num_out);</div>
<div class="line"><span class="lineno"> 375</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a>(num_out, N); i++) {</div>
<div class="line"><span class="lineno"> 376</span> <span class="comment">// loop till max(N, num_out)</span></div>
<div class="line"><span class="lineno"> 377</span> <span class="keywordflow">if</span> (i &lt; N) { <span class="comment">// only add new arrays if i &lt; N</span></div>
<div class="line"><span class="lineno"> 378</span> X[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><span class="lineno"> 379</span> }</div>
<div class="line"><span class="lineno"> 380</span> <span class="keywordflow">if</span> (i &lt; num_out) { <span class="comment">// only add new arrays if i &lt; num_out</span></div>
<div class="line"><span class="lineno"> 381</span> W[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt;(num_out);</div>
<div class="line"><span class="lineno"> 382</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a> &lt; num_out; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>++) {</div>
<div class="line"><span class="lineno"> 383</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><span class="lineno"> 384</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><span class="lineno"> 385</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><span class="lineno"> 386</span><span class="preprocessor">#endif</span></div>
<div class="line"><span class="lineno"> 387</span> <span class="keywordflow">for</span> (j = 0; j &lt; features; j++) {</div>
<div class="line"><span class="lineno"> 388</span> <span class="comment">// preallocate with random initial weights</span></div>
<div class="line"><span class="lineno"> 389</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>][j] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(-10, 10);</div>
<div class="line"><span class="lineno"> 390</span> }</div>
<div class="line"><span class="lineno"> 391</span> }</div>
<div class="line"><span class="lineno"> 392</span> }</div>
<div class="line"><span class="lineno"> 393</span> }</div>
<div class="line"><span class="lineno"> 394</span> </div>
<div class="line"><span class="lineno"> 395</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a48efb079040c7aaa3a4917a0e486cba9">test_2d_classes</a>(&amp;X); <span class="comment">// create test data around circumference of a circle</span></div>
<div class="line"><span class="lineno"> 396</span> <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c">save_2d_data</a>(<span class="stringliteral">&quot;test1.csv&quot;</span>, X); <span class="comment">// save test data points</span></div>
<div class="line"><span class="lineno"> 397</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w11.csv&quot;</span>, W); <span class="comment">// save initial random weights</span></div>
<div class="line"><span class="lineno"> 398</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576">kohonen_som</a>(X, &amp;W, 1e-4); <span class="comment">// train the SOM</span></div>
<div class="line"><span class="lineno"> 399</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w12.csv&quot;</span>, W); <span class="comment">// save the resultant weights</span></div>
<div class="line"><span class="lineno"> 400</span>}</div>
<div class="ttc" id="acomposite__simpson__rule_8cpp_html_a1b74d828b33760094906797042b89442"><div class="ttname"><a href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">numerical_methods::simpson_method::k</a></div><div class="ttdeci">double k(double x)</div><div class="ttdoc">Another test function.</div><div class="ttdef"><b>Definition:</b> composite_simpson_rule.cpp:117</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 class="ttc" id="agroup__machine__learning_html_gabc90175770bf0d5853c466e14993a08c"><div class="ttname"><a href="../../d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c">save_2d_data</a></div><div class="ttdeci">int save_2d_data(const char *fname, const std::vector&lt; std::valarray&lt; double &gt; &gt; &amp;X)</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:65</div></div>
@@ -344,7 +344,7 @@ Here is the call graph for this function:</div>
<div class="ttc" id="amax_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a></div><div class="ttdeci">T max(T... args)</div></div>
<div class="ttc" id="anamespacemachine__learning_html_aa72a53c88203fde278f1fe6c3afe5b07"><div class="ttname"><a href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">machine_learning::save_u_matrix</a></div><div class="ttdeci">int save_u_matrix(const char *fname, const std::vector&lt; std::vector&lt; std::valarray&lt; double &gt; &gt; &gt; &amp;W)</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:142</div></div>
<div class="ttc" id="anamespacemachine__learning_html_ac43d294e21a0c4fa33c53757df054576"><div class="ttname"><a href="../../d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576">machine_learning::kohonen_som</a></div><div class="ttdeci">void kohonen_som(const std::vector&lt; std::valarray&lt; double &gt; &gt; &amp;X, std::vector&lt; std::vector&lt; std::valarray&lt; double &gt; &gt; &gt; *W, double alpha_min)</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:269</div></div>
<div class="ttc" id="avalarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray</a></div></div>
<div class="ttc" id="avalarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt; double &gt;</a></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>
@@ -374,38 +374,38 @@ Here is the call graph for this function:</div>
<li><code>w21.csv</code>: initial random map</li>
<li><code>w22.csv</code>: trained SOM map </li>
</ul>
<div class="fragment"><div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span> {</div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> <span class="keywordtype">int</span> j = 0, <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = 300;</div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span> <span class="keywordtype">int</span> features = 3;</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span> <span class="keywordtype">int</span> num_out = 30;</div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt; X(N);</div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::vector&lt;std::valarray&lt;double&gt;</a>&gt;&gt; W(num_out);</div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a>(num_out, N); i++) {</div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"> 458</span> <span class="comment">// loop till max(N, num_out)</span></div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> <span class="keywordflow">if</span> (i &lt; N) { <span class="comment">// only add new arrays if i &lt; N</span></div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> X[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span> }</div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"> 462</span> <span class="keywordflow">if</span> (i &lt; num_out) { <span class="comment">// only add new arrays if i &lt; num_out</span></div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"> 463</span> W[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt;(num_out);</div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"> 464</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a> &lt; num_out; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>++) {</div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"> 465</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"> 466</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"> 467</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"> 468</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"> 469</span> <span class="keywordflow">for</span> (j = 0; j &lt; features; j++) {</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"> 470</span> <span class="comment">// preallocate with random initial weights</span></div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"> 471</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>][j] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(-10, 10);</div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span> }</div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span> }</div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"> 474</span> }</div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"> 475</span> }</div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"> 476</span> </div>
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a1302662a56ebf67a21249270b017297e">test_3d_classes1</a>(&amp;X); <span class="comment">// create test data around circumference of a circle</span></div>
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span> <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c">save_2d_data</a>(<span class="stringliteral">&quot;test2.csv&quot;</span>, X); <span class="comment">// save test data points</span></div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w21.csv&quot;</span>, W); <span class="comment">// save initial random weights</span></div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"> 480</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576">kohonen_som</a>(X, &amp;W, 1e-4); <span class="comment">// train the SOM</span></div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w22.csv&quot;</span>, W); <span class="comment">// save the resultant weights</span></div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span>}</div>
<div class="fragment"><div class="line"><span class="lineno"> 451</span> {</div>
<div class="line"><span class="lineno"> 452</span> <span class="keywordtype">int</span> j = 0, <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = 300;</div>
<div class="line"><span class="lineno"> 453</span> <span class="keywordtype">int</span> features = 3;</div>
<div class="line"><span class="lineno"> 454</span> <span class="keywordtype">int</span> num_out = 30;</div>
<div class="line"><span class="lineno"> 455</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt; X(N);</div>
<div class="line"><span class="lineno"> 456</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::vector&lt;std::valarray&lt;double&gt;</a>&gt;&gt; W(num_out);</div>
<div class="line"><span class="lineno"> 457</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a>(num_out, N); i++) {</div>
<div class="line"><span class="lineno"> 458</span> <span class="comment">// loop till max(N, num_out)</span></div>
<div class="line"><span class="lineno"> 459</span> <span class="keywordflow">if</span> (i &lt; N) { <span class="comment">// only add new arrays if i &lt; N</span></div>
<div class="line"><span class="lineno"> 460</span> X[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><span class="lineno"> 461</span> }</div>
<div class="line"><span class="lineno"> 462</span> <span class="keywordflow">if</span> (i &lt; num_out) { <span class="comment">// only add new arrays if i &lt; num_out</span></div>
<div class="line"><span class="lineno"> 463</span> W[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt;(num_out);</div>
<div class="line"><span class="lineno"> 464</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a> &lt; num_out; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>++) {</div>
<div class="line"><span class="lineno"> 465</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><span class="lineno"> 466</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><span class="lineno"> 467</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><span class="lineno"> 468</span><span class="preprocessor">#endif</span></div>
<div class="line"><span class="lineno"> 469</span> <span class="keywordflow">for</span> (j = 0; j &lt; features; j++) {</div>
<div class="line"><span class="lineno"> 470</span> <span class="comment">// preallocate with random initial weights</span></div>
<div class="line"><span class="lineno"> 471</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>][j] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(-10, 10);</div>
<div class="line"><span class="lineno"> 472</span> }</div>
<div class="line"><span class="lineno"> 473</span> }</div>
<div class="line"><span class="lineno"> 474</span> }</div>
<div class="line"><span class="lineno"> 475</span> }</div>
<div class="line"><span class="lineno"> 476</span> </div>
<div class="line"><span class="lineno"> 477</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a1302662a56ebf67a21249270b017297e">test_3d_classes1</a>(&amp;X); <span class="comment">// create test data around circumference of a circle</span></div>
<div class="line"><span class="lineno"> 478</span> <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c">save_2d_data</a>(<span class="stringliteral">&quot;test2.csv&quot;</span>, X); <span class="comment">// save test data points</span></div>
<div class="line"><span class="lineno"> 479</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w21.csv&quot;</span>, W); <span class="comment">// save initial random weights</span></div>
<div class="line"><span class="lineno"> 480</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576">kohonen_som</a>(X, &amp;W, 1e-4); <span class="comment">// train the SOM</span></div>
<div class="line"><span class="lineno"> 481</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w22.csv&quot;</span>, W); <span class="comment">// save the resultant weights</span></div>
<div class="line"><span class="lineno"> 482</span>}</div>
<div class="ttc" id="akohonen__som__topology_8cpp_html_a1302662a56ebf67a21249270b017297e"><div class="ttname"><a href="../../d4/def/kohonen__som__topology_8cpp.html#a1302662a56ebf67a21249270b017297e">test_3d_classes1</a></div><div class="ttdeci">void test_3d_classes1(std::vector&lt; std::valarray&lt; double &gt; &gt; *data)</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:411</div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
@@ -435,38 +435,38 @@ Here is the call graph for this function:</div>
<li><code>w31.csv</code>: initial random map</li>
<li><code>w32.csv</code>: trained SOM map </li>
</ul>
<div class="fragment"><div class="line"><a id="l00537" name="l00537"></a><span class="lineno"> 537</span> {</div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno"> 538</span> <span class="keywordtype">int</span> j = 0, <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = 500;</div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno"> 539</span> <span class="keywordtype">int</span> features = 3;</div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno"> 540</span> <span class="keywordtype">int</span> num_out = 30;</div>
<div class="line"><a id="l00541" name="l00541"></a><span class="lineno"> 541</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt; X(N);</div>
<div class="line"><a id="l00542" name="l00542"></a><span class="lineno"> 542</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::vector&lt;std::valarray&lt;double&gt;</a>&gt;&gt; W(num_out);</div>
<div class="line"><a id="l00543" name="l00543"></a><span class="lineno"> 543</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a>(num_out, N); i++) {</div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno"> 544</span> <span class="comment">// loop till max(N, num_out)</span></div>
<div class="line"><a id="l00545" name="l00545"></a><span class="lineno"> 545</span> <span class="keywordflow">if</span> (i &lt; N) { <span class="comment">// only add new arrays if i &lt; N</span></div>
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> X[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> }</div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> <span class="keywordflow">if</span> (i &lt; num_out) { <span class="comment">// only add new arrays if i &lt; num_out</span></div>
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"> 549</span> W[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt;(num_out);</div>
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"> 550</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a> &lt; num_out; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>++) {</div>
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"> 551</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"> 552</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><a id="l00553" name="l00553"></a><span class="lineno"> 553</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><a id="l00554" name="l00554"></a><span class="lineno"> 554</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno"> 555</span> <span class="keywordflow">for</span> (j = 0; j &lt; features; j++) {</div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno"> 556</span> <span class="comment">// preallocate with random initial weights</span></div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno"> 557</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>][j] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(-10, 10);</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno"> 558</span> }</div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno"> 559</span> }</div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno"> 560</span> }</div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno"> 561</span> }</div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno"> 562</span> </div>
<div class="line"><a id="l00563" name="l00563"></a><span class="lineno"> 563</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a4b7ab643f6a5002f991837de46f70653">test_3d_classes2</a>(&amp;X); <span class="comment">// create test data around circumference of a circle</span></div>
<div class="line"><a id="l00564" name="l00564"></a><span class="lineno"> 564</span> <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c">save_2d_data</a>(<span class="stringliteral">&quot;test3.csv&quot;</span>, X); <span class="comment">// save test data points</span></div>
<div class="line"><a id="l00565" name="l00565"></a><span class="lineno"> 565</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w31.csv&quot;</span>, W); <span class="comment">// save initial random weights</span></div>
<div class="line"><a id="l00566" name="l00566"></a><span class="lineno"> 566</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576">kohonen_som</a>(X, &amp;W, 1e-4); <span class="comment">// train the SOM</span></div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno"> 567</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w32.csv&quot;</span>, W); <span class="comment">// save the resultant weights</span></div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno"> 568</span>}</div>
<div class="fragment"><div class="line"><span class="lineno"> 537</span> {</div>
<div class="line"><span class="lineno"> 538</span> <span class="keywordtype">int</span> j = 0, <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = 500;</div>
<div class="line"><span class="lineno"> 539</span> <span class="keywordtype">int</span> features = 3;</div>
<div class="line"><span class="lineno"> 540</span> <span class="keywordtype">int</span> num_out = 30;</div>
<div class="line"><span class="lineno"> 541</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt; X(N);</div>
<div class="line"><span class="lineno"> 542</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::vector&lt;std::valarray&lt;double&gt;</a>&gt;&gt; W(num_out);</div>
<div class="line"><span class="lineno"> 543</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a>(num_out, N); i++) {</div>
<div class="line"><span class="lineno"> 544</span> <span class="comment">// loop till max(N, num_out)</span></div>
<div class="line"><span class="lineno"> 545</span> <span class="keywordflow">if</span> (i &lt; N) { <span class="comment">// only add new arrays if i &lt; N</span></div>
<div class="line"><span class="lineno"> 546</span> X[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><span class="lineno"> 547</span> }</div>
<div class="line"><span class="lineno"> 548</span> <span class="keywordflow">if</span> (i &lt; num_out) { <span class="comment">// only add new arrays if i &lt; num_out</span></div>
<div class="line"><span class="lineno"> 549</span> W[i] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::valarray&lt;double&gt;</a>&gt;(num_out);</div>
<div class="line"><span class="lineno"> 550</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> k = 0; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a> &lt; num_out; <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>++) {</div>
<div class="line"><span class="lineno"> 551</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>] = <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/valarray.html">std::valarray&lt;double&gt;</a>(features);</div>
<div class="line"><span class="lineno"> 552</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><span class="lineno"> 553</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><span class="lineno"> 554</span><span class="preprocessor">#endif</span></div>
<div class="line"><span class="lineno"> 555</span> <span class="keywordflow">for</span> (j = 0; j &lt; features; j++) {</div>
<div class="line"><span class="lineno"> 556</span> <span class="comment">// preallocate with random initial weights</span></div>
<div class="line"><span class="lineno"> 557</span> W[i][<a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a1b74d828b33760094906797042b89442">k</a>][j] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(-10, 10);</div>
<div class="line"><span class="lineno"> 558</span> }</div>
<div class="line"><span class="lineno"> 559</span> }</div>
<div class="line"><span class="lineno"> 560</span> }</div>
<div class="line"><span class="lineno"> 561</span> }</div>
<div class="line"><span class="lineno"> 562</span> </div>
<div class="line"><span class="lineno"> 563</span> <a class="code hl_function" href="../../d4/def/kohonen__som__topology_8cpp.html#a4b7ab643f6a5002f991837de46f70653">test_3d_classes2</a>(&amp;X); <span class="comment">// create test data around circumference of a circle</span></div>
<div class="line"><span class="lineno"> 564</span> <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c">save_2d_data</a>(<span class="stringliteral">&quot;test3.csv&quot;</span>, X); <span class="comment">// save test data points</span></div>
<div class="line"><span class="lineno"> 565</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w31.csv&quot;</span>, W); <span class="comment">// save initial random weights</span></div>
<div class="line"><span class="lineno"> 566</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576">kohonen_som</a>(X, &amp;W, 1e-4); <span class="comment">// train the SOM</span></div>
<div class="line"><span class="lineno"> 567</span> <a class="code hl_function" href="../../d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07">save_u_matrix</a>(<span class="stringliteral">&quot;w32.csv&quot;</span>, W); <span class="comment">// save the resultant weights</span></div>
<div class="line"><span class="lineno"> 568</span>}</div>
<div class="ttc" id="akohonen__som__topology_8cpp_html_a4b7ab643f6a5002f991837de46f70653"><div class="ttname"><a href="../../d4/def/kohonen__som__topology_8cpp.html#a4b7ab643f6a5002f991837de46f70653">test_3d_classes2</a></div><div class="ttdeci">void test_3d_classes2(std::vector&lt; std::valarray&lt; double &gt; &gt; *data)</div><div class="ttdef"><b>Definition:</b> kohonen_som_topology.cpp:493</div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
@@ -504,36 +504,36 @@ Here is the call graph for this function:</div>
</table>
</dd>
</dl>
<div class="fragment"><div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> {</div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>-&gt;size();</div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> <span class="keyword">const</span> <span class="keywordtype">double</span> R = 0.3; <span class="comment">// radius of cluster</span></div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> <span class="keyword">const</span> <span class="keywordtype">int</span> num_classes = 4;</div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::array&lt;double, 2&gt;</a>, num_classes&gt; centres = {</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> <span class="comment">// centres of each class cluster</span></div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 2&gt;</a>({.5, .5}), <span class="comment">// centre of class 1</span></div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 2&gt;</a>({.5, -.5}), <span class="comment">// centre of class 2</span></div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 2&gt;</a>({-.5, .5}), <span class="comment">// centre of class 3</span></div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 2&gt;</a>({-.5, -.5}) <span class="comment">// centre of class 4</span></div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> };</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> </div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a>; i++) {</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> <span class="comment">// select a random class for the point</span></div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> <span class="keywordtype">int</span> cls = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % num_classes;</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> </div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> <span class="comment">// create random coordinates (x,y,z) around the centre of the class</span></div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][0] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][0] - R, centres[cls][0] + R);</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][1] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][1] - R, centres[cls][1] + R);</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> </div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> <span class="comment">/* The follosing can also be used</span></div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span><span class="comment"> for (int j = 0; j &lt; 2; j++)</span></div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span><span class="comment"> data[i][j] = _random(centres[class][j] - R, centres[class][j] + R);</span></div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span><span class="comment"> */</span></div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> }</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span>}</div>
<div class="fragment"><div class="line"><span class="lineno"> 330</span> {</div>
<div class="line"><span class="lineno"> 331</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>-&gt;size();</div>
<div class="line"><span class="lineno"> 332</span> <span class="keyword">const</span> <span class="keywordtype">double</span> R = 0.3; <span class="comment">// radius of cluster</span></div>
<div class="line"><span class="lineno"> 333</span> <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><span class="lineno"> 334</span> <span class="keyword">const</span> <span class="keywordtype">int</span> num_classes = 4;</div>
<div class="line"><span class="lineno"> 335</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::array&lt;double, 2&gt;</a>, num_classes&gt; centres = {</div>
<div class="line"><span class="lineno"> 336</span> <span class="comment">// centres of each class cluster</span></div>
<div class="line"><span class="lineno"> 337</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 2&gt;</a>({.5, .5}), <span class="comment">// centre of class 1</span></div>
<div class="line"><span class="lineno"> 338</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 2&gt;</a>({.5, -.5}), <span class="comment">// centre of class 2</span></div>
<div class="line"><span class="lineno"> 339</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 2&gt;</a>({-.5, .5}), <span class="comment">// centre of class 3</span></div>
<div class="line"><span class="lineno"> 340</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 2&gt;</a>({-.5, -.5}) <span class="comment">// centre of class 4</span></div>
<div class="line"><span class="lineno"> 341</span> };</div>
<div class="line"><span class="lineno"> 342</span> </div>
<div class="line"><span class="lineno"> 343</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><span class="lineno"> 344</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><span class="lineno"> 345</span><span class="preprocessor">#endif</span></div>
<div class="line"><span class="lineno"> 346</span> <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a>; i++) {</div>
<div class="line"><span class="lineno"> 347</span> <span class="comment">// select a random class for the point</span></div>
<div class="line"><span class="lineno"> 348</span> <span class="keywordtype">int</span> cls = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % num_classes;</div>
<div class="line"><span class="lineno"> 349</span> </div>
<div class="line"><span class="lineno"> 350</span> <span class="comment">// create random coordinates (x,y,z) around the centre of the class</span></div>
<div class="line"><span class="lineno"> 351</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][0] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][0] - R, centres[cls][0] + R);</div>
<div class="line"><span class="lineno"> 352</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][1] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][1] - R, centres[cls][1] + R);</div>
<div class="line"><span class="lineno"> 353</span> </div>
<div class="line"><span class="lineno"> 354</span> <span class="comment">/* The follosing can also be used</span></div>
<div class="line"><span class="lineno"> 355</span><span class="comment"> for (int j = 0; j &lt; 2; j++)</span></div>
<div class="line"><span class="lineno"> 356</span><span class="comment"> data[i][j] = _random(centres[class][j] - R, centres[class][j] + R);</span></div>
<div class="line"><span class="lineno"> 357</span><span class="comment"> */</span></div>
<div class="line"><span class="lineno"> 358</span> }</div>
<div class="line"><span class="lineno"> 359</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="ahash__search_8cpp_html_a6e1a77282bc65ad359d753d25df23243"><div class="ttname"><a href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a></div><div class="ttdeci">int data[MAX]</div><div class="ttdoc">test data</div><div class="ttdef"><b>Definition:</b> hash_search.cpp:24</div></div>
<div class="ttc" id="arand_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a></div><div class="ttdeci">T rand(T... args)</div></div>
@@ -573,37 +573,37 @@ Here is the call graph for this function:</div>
</table>
</dd>
</dl>
<div class="fragment"><div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> {</div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>-&gt;size();</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> <span class="keyword">const</span> <span class="keywordtype">double</span> R = 0.3; <span class="comment">// radius of cluster</span></div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> <span class="keyword">const</span> <span class="keywordtype">int</span> num_classes = 4;</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> <span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::array&lt;double, 3&gt;</a>, num_classes&gt; centres = {</div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> <span class="comment">// centres of each class cluster</span></div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, .5, .5}), <span class="comment">// centre of class 1</span></div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, -.5, -.5}), <span class="comment">// centre of class 2</span></div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, .5, .5}), <span class="comment">// centre of class 3</span></div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, -.5 - .5}) <span class="comment">// centre of class 4</span></div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> };</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> </div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span> <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a>; i++) {</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> <span class="comment">// select a random class for the point</span></div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span> <span class="keywordtype">int</span> cls = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % num_classes;</div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span> </div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> <span class="comment">// create random coordinates (x,y,z) around the centre of the class</span></div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][0] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][0] - R, centres[cls][0] + R);</div>
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][1] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][1] - R, centres[cls][1] + R);</div>
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][2] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][2] - R, centres[cls][2] + R);</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> </div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> <span class="comment">/* The follosing can also be used</span></div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span><span class="comment"> for (int j = 0; j &lt; 3; j++)</span></div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span><span class="comment"> data[i][j] = _random(centres[class][j] - R, centres[class][j] + R);</span></div>
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span><span class="comment"> */</span></div>
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span> }</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span>}</div>
<div class="fragment"><div class="line"><span class="lineno"> 411</span> {</div>
<div class="line"><span class="lineno"> 412</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>-&gt;size();</div>
<div class="line"><span class="lineno"> 413</span> <span class="keyword">const</span> <span class="keywordtype">double</span> R = 0.3; <span class="comment">// radius of cluster</span></div>
<div class="line"><span class="lineno"> 414</span> <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><span class="lineno"> 415</span> <span class="keyword">const</span> <span class="keywordtype">int</span> num_classes = 4;</div>
<div class="line"><span class="lineno"> 416</span> <span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::array&lt;double, 3&gt;</a>, num_classes&gt; centres = {</div>
<div class="line"><span class="lineno"> 417</span> <span class="comment">// centres of each class cluster</span></div>
<div class="line"><span class="lineno"> 418</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, .5, .5}), <span class="comment">// centre of class 1</span></div>
<div class="line"><span class="lineno"> 419</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, -.5, -.5}), <span class="comment">// centre of class 2</span></div>
<div class="line"><span class="lineno"> 420</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, .5, .5}), <span class="comment">// centre of class 3</span></div>
<div class="line"><span class="lineno"> 421</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, -.5 - .5}) <span class="comment">// centre of class 4</span></div>
<div class="line"><span class="lineno"> 422</span> };</div>
<div class="line"><span class="lineno"> 423</span> </div>
<div class="line"><span class="lineno"> 424</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><span class="lineno"> 425</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><span class="lineno"> 426</span><span class="preprocessor">#endif</span></div>
<div class="line"><span class="lineno"> 427</span> <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a>; i++) {</div>
<div class="line"><span class="lineno"> 428</span> <span class="comment">// select a random class for the point</span></div>
<div class="line"><span class="lineno"> 429</span> <span class="keywordtype">int</span> cls = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % num_classes;</div>
<div class="line"><span class="lineno"> 430</span> </div>
<div class="line"><span class="lineno"> 431</span> <span class="comment">// create random coordinates (x,y,z) around the centre of the class</span></div>
<div class="line"><span class="lineno"> 432</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][0] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][0] - R, centres[cls][0] + R);</div>
<div class="line"><span class="lineno"> 433</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][1] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][1] - R, centres[cls][1] + R);</div>
<div class="line"><span class="lineno"> 434</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][2] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][2] - R, centres[cls][2] + R);</div>
<div class="line"><span class="lineno"> 435</span> </div>
<div class="line"><span class="lineno"> 436</span> <span class="comment">/* The follosing can also be used</span></div>
<div class="line"><span class="lineno"> 437</span><span class="comment"> for (int j = 0; j &lt; 3; j++)</span></div>
<div class="line"><span class="lineno"> 438</span><span class="comment"> data[i][j] = _random(centres[class][j] - R, centres[class][j] + R);</span></div>
<div class="line"><span class="lineno"> 439</span><span class="comment"> */</span></div>
<div class="line"><span class="lineno"> 440</span> }</div>
<div class="line"><span class="lineno"> 441</span>}</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -640,41 +640,41 @@ Here is the call graph for this function:</div>
</table>
</dd>
</dl>
<div class="fragment"><div class="line"><a id="l00493" name="l00493"></a><span class="lineno"> 493</span> {</div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>-&gt;size();</div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> <span class="keyword">const</span> <span class="keywordtype">double</span> R = 0.2; <span class="comment">// radius of cluster</span></div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno"> 496</span> <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><a id="l00497" name="l00497"></a><span class="lineno"> 497</span> <span class="keyword">const</span> <span class="keywordtype">int</span> num_classes = 8;</div>
<div class="line"><a id="l00498" name="l00498"></a><span class="lineno"> 498</span> <span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::array&lt;double, 3&gt;</a>, num_classes&gt; centres = {</div>
<div class="line"><a id="l00499" name="l00499"></a><span class="lineno"> 499</span> <span class="comment">// centres of each class cluster</span></div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno"> 500</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, .5, .5}), <span class="comment">// centre of class 1</span></div>
<div class="line"><a id="l00501" name="l00501"></a><span class="lineno"> 501</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, .5, -.5}), <span class="comment">// centre of class 2</span></div>
<div class="line"><a id="l00502" name="l00502"></a><span class="lineno"> 502</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, -.5, .5}), <span class="comment">// centre of class 3</span></div>
<div class="line"><a id="l00503" name="l00503"></a><span class="lineno"> 503</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, -.5, -.5}), <span class="comment">// centre of class 4</span></div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno"> 504</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, .5, .5}), <span class="comment">// centre of class 5</span></div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno"> 505</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, .5, -.5}), <span class="comment">// centre of class 6</span></div>
<div class="line"><a id="l00506" name="l00506"></a><span class="lineno"> 506</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, -.5, .5}), <span class="comment">// centre of class 7</span></div>
<div class="line"><a id="l00507" name="l00507"></a><span class="lineno"> 507</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, -.5, -.5}) <span class="comment">// centre of class 8</span></div>
<div class="line"><a id="l00508" name="l00508"></a><span class="lineno"> 508</span> };</div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno"> 509</span> </div>
<div class="line"><a id="l00510" name="l00510"></a><span class="lineno"> 510</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><a id="l00511" name="l00511"></a><span class="lineno"> 511</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><a id="l00512" name="l00512"></a><span class="lineno"> 512</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno"> 513</span> <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a>; i++) {</div>
<div class="line"><a id="l00514" name="l00514"></a><span class="lineno"> 514</span> <span class="comment">// select a random class for the point</span></div>
<div class="line"><a id="l00515" name="l00515"></a><span class="lineno"> 515</span> <span class="keywordtype">int</span> cls = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % num_classes;</div>
<div class="line"><a id="l00516" name="l00516"></a><span class="lineno"> 516</span> </div>
<div class="line"><a id="l00517" name="l00517"></a><span class="lineno"> 517</span> <span class="comment">// create random coordinates (x,y,z) around the centre of the class</span></div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno"> 518</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][0] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][0] - R, centres[cls][0] + R);</div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno"> 519</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][1] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][1] - R, centres[cls][1] + R);</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno"> 520</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][2] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][2] - R, centres[cls][2] + R);</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno"> 521</span> </div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno"> 522</span> <span class="comment">/* The follosing can also be used</span></div>
<div class="line"><a id="l00523" name="l00523"></a><span class="lineno"> 523</span><span class="comment"> for (int j = 0; j &lt; 3; j++)</span></div>
<div class="line"><a id="l00524" name="l00524"></a><span class="lineno"> 524</span><span class="comment"> data[i][j] = _random(centres[class][j] - R, centres[class][j] + R);</span></div>
<div class="line"><a id="l00525" name="l00525"></a><span class="lineno"> 525</span><span class="comment"> */</span></div>
<div class="line"><a id="l00526" name="l00526"></a><span class="lineno"> 526</span> }</div>
<div class="line"><a id="l00527" name="l00527"></a><span class="lineno"> 527</span>}</div>
<div class="fragment"><div class="line"><span class="lineno"> 493</span> {</div>
<div class="line"><span class="lineno"> 494</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a> = <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>-&gt;size();</div>
<div class="line"><span class="lineno"> 495</span> <span class="keyword">const</span> <span class="keywordtype">double</span> R = 0.2; <span class="comment">// radius of cluster</span></div>
<div class="line"><span class="lineno"> 496</span> <span class="keywordtype">int</span> i = 0;</div>
<div class="line"><span class="lineno"> 497</span> <span class="keyword">const</span> <span class="keywordtype">int</span> num_classes = 8;</div>
<div class="line"><span class="lineno"> 498</span> <span class="keyword">const</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;std::array&lt;double, 3&gt;</a>, num_classes&gt; centres = {</div>
<div class="line"><span class="lineno"> 499</span> <span class="comment">// centres of each class cluster</span></div>
<div class="line"><span class="lineno"> 500</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, .5, .5}), <span class="comment">// centre of class 1</span></div>
<div class="line"><span class="lineno"> 501</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, .5, -.5}), <span class="comment">// centre of class 2</span></div>
<div class="line"><span class="lineno"> 502</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, -.5, .5}), <span class="comment">// centre of class 3</span></div>
<div class="line"><span class="lineno"> 503</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({.5, -.5, -.5}), <span class="comment">// centre of class 4</span></div>
<div class="line"><span class="lineno"> 504</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, .5, .5}), <span class="comment">// centre of class 5</span></div>
<div class="line"><span class="lineno"> 505</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, .5, -.5}), <span class="comment">// centre of class 6</span></div>
<div class="line"><span class="lineno"> 506</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, -.5, .5}), <span class="comment">// centre of class 7</span></div>
<div class="line"><span class="lineno"> 507</span> <a class="code hl_classRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/array.html">std::array&lt;double, 3&gt;</a>({-.5, -.5, -.5}) <span class="comment">// centre of class 8</span></div>
<div class="line"><span class="lineno"> 508</span> };</div>
<div class="line"><span class="lineno"> 509</span> </div>
<div class="line"><span class="lineno"> 510</span><span class="preprocessor">#ifdef _OPENMP</span></div>
<div class="line"><span class="lineno"> 511</span><span class="preprocessor">#pragma omp for</span></div>
<div class="line"><span class="lineno"> 512</span><span class="preprocessor">#endif</span></div>
<div class="line"><span class="lineno"> 513</span> <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code hl_variable" href="../../d6/d42/data__structures_2sparse__table_8cpp.html#a10f3ffb3f6f7e1b83d556b9c8de89a5d">N</a>; i++) {</div>
<div class="line"><span class="lineno"> 514</span> <span class="comment">// select a random class for the point</span></div>
<div class="line"><span class="lineno"> 515</span> <span class="keywordtype">int</span> cls = <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/random/rand.html">std::rand</a>() % num_classes;</div>
<div class="line"><span class="lineno"> 516</span> </div>
<div class="line"><span class="lineno"> 517</span> <span class="comment">// create random coordinates (x,y,z) around the centre of the class</span></div>
<div class="line"><span class="lineno"> 518</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][0] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][0] - R, centres[cls][0] + R);</div>
<div class="line"><span class="lineno"> 519</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][1] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][1] - R, centres[cls][1] + R);</div>
<div class="line"><span class="lineno"> 520</span> <a class="code hl_variable" href="../../d1/df3/hash__search_8cpp.html#a6e1a77282bc65ad359d753d25df23243">data</a>[0][i][2] = <a class="code hl_function" href="../../d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485">_random</a>(centres[cls][2] - R, centres[cls][2] + R);</div>
<div class="line"><span class="lineno"> 521</span> </div>
<div class="line"><span class="lineno"> 522</span> <span class="comment">/* The follosing can also be used</span></div>
<div class="line"><span class="lineno"> 523</span><span class="comment"> for (int j = 0; j &lt; 3; j++)</span></div>
<div class="line"><span class="lineno"> 524</span><span class="comment"> data[i][j] = _random(centres[class][j] - R, centres[class][j] + R);</span></div>
<div class="line"><span class="lineno"> 525</span><span class="comment"> */</span></div>
<div class="line"><span class="lineno"> 526</span> }</div>
<div class="line"><span class="lineno"> 527</span>}</div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
@@ -690,7 +690,7 @@ Here is the call graph for this function:</div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_3343723ae086de42ee4ca9774da3a13f.html">machine_learning</a></li><li class="navelem"><a class="el" href="../../d4/def/kohonen__som__topology_8cpp.html">kohonen_som_topology.cpp</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2 </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.3 </li>
</ul>
</div>
</body>

View File

@@ -2,24 +2,24 @@
<area shape="rect" id="node1" title=" " alt="" coords="5,415,56,441"/>
<area shape="rect" id="node2" href="$d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485" title=" " alt="" coords="413,592,485,619"/>
<area shape="rect" id="node4" href="$d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576" title=" " alt="" coords="104,183,316,209"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="624,259,697,285"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max#" title=" " alt="" coords="624,259,697,285"/>
<area shape="rect" id="node16" href="$d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c" title=" " alt="" coords="159,385,261,412"/>
<area shape="rect" id="node21" href="$d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07" title=" " alt="" coords="131,437,289,478"/>
<area shape="rect" id="node23" href="$d4/def/kohonen__som__topology_8cpp.html#a1302662a56ebf67a21249270b017297e" title=" " alt="" coords="148,541,272,568"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="624,567,697,593"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand#" title=" " alt="" coords="624,567,697,593"/>
<area shape="rect" id="node5" href="$d8/d77/namespacemachine__learning.html#ae868ad43698a1d69ba46ea3827d7d2c3" title=" " alt="" coords="364,150,535,191"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/exp.html#" title=" " alt="" coords="626,107,695,133"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/exp#" title=" " alt="" coords="626,107,695,133"/>
<area shape="rect" id="node7" href="$d9/d66/group__machine__learning.html#ga60f9186ccb682724a8792a2bf81e9b9e" title=" " alt="" coords="616,157,705,184"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min.html#" title=" " alt="" coords="626,208,695,235"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/sqrt.html#" title=" " alt="" coords="625,5,696,32"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min#" title=" " alt="" coords="626,208,695,235"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/sqrt#" title=" " alt="" coords="625,5,696,32"/>
<area shape="rect" id="node15" href="$d8/d77/namespacemachine__learning.html#a6f1c98c016ad34ff3d9f39372161bd35" title=" " alt="" coords="583,56,739,83"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/begin.html#" title=" " alt="" coords="809,81,887,108"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/distance.html#" title=" " alt="" coords="799,132,897,159"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/end.html#" title=" " alt="" coords="813,183,883,209"/>
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min_element.html#" title=" " alt="" coords="787,233,909,260"/>
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/close.html#" title=" " alt="" coords="380,288,519,315"/>
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open.html#" title=" " alt="" coords="373,339,525,365"/>
<area shape="rect" id="node19" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open.html#" title=" " alt="" coords="382,389,517,416"/>
<area shape="rect" id="node20" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/byte/strerror.html#" title=" " alt="" coords="405,440,494,467"/>
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="413,491,485,517"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/begin#" title=" " alt="" coords="809,81,887,108"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/distance#" title=" " alt="" coords="799,132,897,159"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/end#" title=" " alt="" coords="813,183,883,209"/>
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min_element#" title=" " alt="" coords="787,233,909,260"/>
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/close#" title=" " alt="" coords="380,288,519,315"/>
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open#" title=" " alt="" coords="373,339,525,365"/>
<area shape="rect" id="node19" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open#" title=" " alt="" coords="382,389,517,416"/>
<area shape="rect" id="node20" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/byte/strerror#" title=" " alt="" coords="405,440,494,467"/>
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl#" title=" " alt="" coords="413,491,485,517"/>
</map>

View File

@@ -1 +1 @@
fa81f90deac98b4e6b5022b07e44d9c1
2af314971c2f9dc0f81ed79a5b781448

View File

@@ -97,7 +97,7 @@ var sectionId = 'dynsection-3';
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-256.85 464,-275.85 519,-275.85 519,-256.85 464,-256.85"/>
<text text-anchor="middle" x="491.5" y="-263.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
@@ -158,7 +158,7 @@ var sectionId = 'dynsection-3';
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-25.85 464,-44.85 519,-44.85 519,-25.85 464,-25.85"/>
<text text-anchor="middle" x="491.5" y="-32.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
@@ -189,7 +189,7 @@ var sectionId = 'dynsection-3';
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp.html#" xlink:title=" ">
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-370.85 465.5,-389.85 517.5,-389.85 517.5,-370.85 465.5,-370.85"/>
<text text-anchor="middle" x="491.5" y="-377.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::exp</text>
</a>
@@ -225,7 +225,7 @@ var sectionId = 'dynsection-3';
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-294.85 465.5,-313.85 517.5,-313.85 517.5,-294.85 465.5,-294.85"/>
<text text-anchor="middle" x="491.5" y="-301.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
@@ -240,7 +240,7 @@ var sectionId = 'dynsection-3';
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt.html#" xlink:title=" ">
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465,-446.85 465,-465.85 518,-465.85 518,-446.85 465,-446.85"/>
<text text-anchor="middle" x="491.5" y="-453.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::sqrt</text>
</a>
@@ -270,7 +270,7 @@ var sectionId = 'dynsection-3';
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin.html#" xlink:title=" ">
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin#" xlink:title=" ">
<polygon fill="white" stroke="black" points="602.5,-389.85 602.5,-408.85 661.5,-408.85 661.5,-389.85 602.5,-389.85"/>
<text text-anchor="middle" x="632" y="-396.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::begin</text>
</a>
@@ -285,7 +285,7 @@ var sectionId = 'dynsection-3';
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance.html#" xlink:title=" ">
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance#" xlink:title=" ">
<polygon fill="white" stroke="black" points="595.5,-351.85 595.5,-370.85 668.5,-370.85 668.5,-351.85 595.5,-351.85"/>
<text text-anchor="middle" x="632" y="-358.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::distance</text>
</a>
@@ -300,7 +300,7 @@ var sectionId = 'dynsection-3';
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end.html#" xlink:title=" ">
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end#" xlink:title=" ">
<polygon fill="white" stroke="black" points="606,-313.85 606,-332.85 658,-332.85 658,-313.85 606,-313.85"/>
<text text-anchor="middle" x="632" y="-320.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::end</text>
</a>
@@ -315,7 +315,7 @@ var sectionId = 'dynsection-3';
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element.html#" xlink:title=" ">
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element#" xlink:title=" ">
<polygon fill="white" stroke="black" points="586,-275.85 586,-294.85 678,-294.85 678,-275.85 586,-275.85"/>
<text text-anchor="middle" x="632" y="-282.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min_element</text>
</a>
@@ -330,7 +330,7 @@ var sectionId = 'dynsection-3';
<!-- Node17 -->
<g id="node17" class="node">
<title>Node17</title>
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html#" xlink:title=" ">
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close#" xlink:title=" ">
<polygon fill="white" stroke="black" points="281,-234.85 281,-253.85 385,-253.85 385,-234.85 281,-234.85"/>
<text text-anchor="middle" x="333" y="-241.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::close</text>
</a>
@@ -345,7 +345,7 @@ var sectionId = 'dynsection-3';
<!-- Node18 -->
<g id="node18" class="node">
<title>Node18</title>
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="276,-196.85 276,-215.85 390,-215.85 390,-196.85 276,-196.85"/>
<text text-anchor="middle" x="333" y="-203.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
</a>
@@ -360,7 +360,7 @@ var sectionId = 'dynsection-3';
<!-- Node19 -->
<g id="node19" class="node">
<title>Node19</title>
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="282.5,-158.85 282.5,-177.85 383.5,-177.85 383.5,-158.85 282.5,-158.85"/>
<text text-anchor="middle" x="333" y="-165.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
</a>
@@ -375,7 +375,7 @@ var sectionId = 'dynsection-3';
<!-- Node20 -->
<g id="node20" class="node">
<title>Node20</title>
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror.html#" xlink:title=" ">
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror#" xlink:title=" ">
<polygon fill="white" stroke="black" points="299.5,-120.85 299.5,-139.85 366.5,-139.85 366.5,-120.85 299.5,-120.85"/>
<text text-anchor="middle" x="333" y="-127.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::strerror</text>
</a>
@@ -396,7 +396,7 @@ var sectionId = 'dynsection-3';
<!-- Node22 -->
<g id="node22" class="node">
<title>Node22</title>
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl#" xlink:title=" ">
<polygon fill="white" stroke="black" points="306,-82.85 306,-101.85 360,-101.85 360,-82.85 306,-82.85"/>
<text text-anchor="middle" x="333" y="-89.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -51,7 +51,7 @@
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-256.85 464,-275.85 519,-275.85 519,-256.85 464,-256.85"/>
<text text-anchor="middle" x="491.5" y="-263.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
@@ -112,7 +112,7 @@
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-25.85 464,-44.85 519,-44.85 519,-25.85 464,-25.85"/>
<text text-anchor="middle" x="491.5" y="-32.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
@@ -143,7 +143,7 @@
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp.html#" xlink:title=" ">
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-370.85 465.5,-389.85 517.5,-389.85 517.5,-370.85 465.5,-370.85"/>
<text text-anchor="middle" x="491.5" y="-377.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::exp</text>
</a>
@@ -179,7 +179,7 @@
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-294.85 465.5,-313.85 517.5,-313.85 517.5,-294.85 465.5,-294.85"/>
<text text-anchor="middle" x="491.5" y="-301.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
@@ -194,7 +194,7 @@
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt.html#" xlink:title=" ">
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465,-446.85 465,-465.85 518,-465.85 518,-446.85 465,-446.85"/>
<text text-anchor="middle" x="491.5" y="-453.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::sqrt</text>
</a>
@@ -224,7 +224,7 @@
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin.html#" xlink:title=" ">
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin#" xlink:title=" ">
<polygon fill="white" stroke="black" points="602.5,-389.85 602.5,-408.85 661.5,-408.85 661.5,-389.85 602.5,-389.85"/>
<text text-anchor="middle" x="632" y="-396.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::begin</text>
</a>
@@ -239,7 +239,7 @@
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance.html#" xlink:title=" ">
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance#" xlink:title=" ">
<polygon fill="white" stroke="black" points="595.5,-351.85 595.5,-370.85 668.5,-370.85 668.5,-351.85 595.5,-351.85"/>
<text text-anchor="middle" x="632" y="-358.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::distance</text>
</a>
@@ -254,7 +254,7 @@
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end.html#" xlink:title=" ">
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end#" xlink:title=" ">
<polygon fill="white" stroke="black" points="606,-313.85 606,-332.85 658,-332.85 658,-313.85 606,-313.85"/>
<text text-anchor="middle" x="632" y="-320.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::end</text>
</a>
@@ -269,7 +269,7 @@
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element.html#" xlink:title=" ">
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element#" xlink:title=" ">
<polygon fill="white" stroke="black" points="586,-275.85 586,-294.85 678,-294.85 678,-275.85 586,-275.85"/>
<text text-anchor="middle" x="632" y="-282.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min_element</text>
</a>
@@ -284,7 +284,7 @@
<!-- Node17 -->
<g id="node17" class="node">
<title>Node17</title>
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html#" xlink:title=" ">
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close#" xlink:title=" ">
<polygon fill="white" stroke="black" points="281,-234.85 281,-253.85 385,-253.85 385,-234.85 281,-234.85"/>
<text text-anchor="middle" x="333" y="-241.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::close</text>
</a>
@@ -299,7 +299,7 @@
<!-- Node18 -->
<g id="node18" class="node">
<title>Node18</title>
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="276,-196.85 276,-215.85 390,-215.85 390,-196.85 276,-196.85"/>
<text text-anchor="middle" x="333" y="-203.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
</a>
@@ -314,7 +314,7 @@
<!-- Node19 -->
<g id="node19" class="node">
<title>Node19</title>
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="282.5,-158.85 282.5,-177.85 383.5,-177.85 383.5,-158.85 282.5,-158.85"/>
<text text-anchor="middle" x="333" y="-165.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
</a>
@@ -329,7 +329,7 @@
<!-- Node20 -->
<g id="node20" class="node">
<title>Node20</title>
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror.html#" xlink:title=" ">
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror#" xlink:title=" ">
<polygon fill="white" stroke="black" points="299.5,-120.85 299.5,-139.85 366.5,-139.85 366.5,-120.85 299.5,-120.85"/>
<text text-anchor="middle" x="333" y="-127.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::strerror</text>
</a>
@@ -350,7 +350,7 @@
<!-- Node22 -->
<g id="node22" class="node">
<title>Node22</title>
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl#" xlink:title=" ">
<polygon fill="white" stroke="black" points="306,-82.85 306,-101.85 360,-101.85 360,-82.85 306,-82.85"/>
<text text-anchor="middle" x="333" y="-89.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -1,5 +1,5 @@
<map id="test_3d_classes1" name="test_3d_classes1">
<area shape="rect" id="node1" title=" " alt="" coords="5,31,129,57"/>
<area shape="rect" id="node2" href="$d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485" title=" " alt="" coords="177,5,249,32"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="297,31,371,57"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand#" title=" " alt="" coords="297,31,371,57"/>
</map>

View File

@@ -1 +1 @@
5464028069658658a80e57fa37d46cc3
33b832969cae7a36b7f637faa67a277a

View File

@@ -36,7 +36,7 @@
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="219,-0.5 219,-19.5 274,-19.5 274,-0.5 219,-0.5"/>
<text text-anchor="middle" x="246.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -2,24 +2,24 @@
<area shape="rect" id="node1" title=" " alt="" coords="5,415,56,441"/>
<area shape="rect" id="node2" href="$d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485" title=" " alt="" coords="413,592,485,619"/>
<area shape="rect" id="node4" href="$d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576" title=" " alt="" coords="104,183,316,209"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="624,259,697,285"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max#" title=" " alt="" coords="624,259,697,285"/>
<area shape="rect" id="node16" href="$d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c" title=" " alt="" coords="159,385,261,412"/>
<area shape="rect" id="node21" href="$d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07" title=" " alt="" coords="131,437,289,478"/>
<area shape="rect" id="node23" href="$d4/def/kohonen__som__topology_8cpp.html#a48efb079040c7aaa3a4917a0e486cba9" title=" " alt="" coords="151,541,269,568"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="624,567,697,593"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand#" title=" " alt="" coords="624,567,697,593"/>
<area shape="rect" id="node5" href="$d8/d77/namespacemachine__learning.html#ae868ad43698a1d69ba46ea3827d7d2c3" title=" " alt="" coords="364,150,535,191"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/exp.html#" title=" " alt="" coords="626,107,695,133"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/exp#" title=" " alt="" coords="626,107,695,133"/>
<area shape="rect" id="node7" href="$d9/d66/group__machine__learning.html#ga60f9186ccb682724a8792a2bf81e9b9e" title=" " alt="" coords="616,157,705,184"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min.html#" title=" " alt="" coords="626,208,695,235"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/sqrt.html#" title=" " alt="" coords="625,5,696,32"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min#" title=" " alt="" coords="626,208,695,235"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/sqrt#" title=" " alt="" coords="625,5,696,32"/>
<area shape="rect" id="node15" href="$d8/d77/namespacemachine__learning.html#a6f1c98c016ad34ff3d9f39372161bd35" title=" " alt="" coords="583,56,739,83"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/begin.html#" title=" " alt="" coords="809,81,887,108"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/distance.html#" title=" " alt="" coords="799,132,897,159"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/end.html#" title=" " alt="" coords="813,183,883,209"/>
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min_element.html#" title=" " alt="" coords="787,233,909,260"/>
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/close.html#" title=" " alt="" coords="380,288,519,315"/>
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open.html#" title=" " alt="" coords="373,339,525,365"/>
<area shape="rect" id="node19" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open.html#" title=" " alt="" coords="382,389,517,416"/>
<area shape="rect" id="node20" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/byte/strerror.html#" title=" " alt="" coords="405,440,494,467"/>
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="413,491,485,517"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/begin#" title=" " alt="" coords="809,81,887,108"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/distance#" title=" " alt="" coords="799,132,897,159"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/end#" title=" " alt="" coords="813,183,883,209"/>
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min_element#" title=" " alt="" coords="787,233,909,260"/>
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/close#" title=" " alt="" coords="380,288,519,315"/>
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open#" title=" " alt="" coords="373,339,525,365"/>
<area shape="rect" id="node19" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open#" title=" " alt="" coords="382,389,517,416"/>
<area shape="rect" id="node20" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/byte/strerror#" title=" " alt="" coords="405,440,494,467"/>
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl#" title=" " alt="" coords="413,491,485,517"/>
</map>

View File

@@ -1 +1 @@
3beaff67931ae852db2d52bd8bccab51
4db2939e44d56aa49699726878c43fbf

View File

@@ -97,7 +97,7 @@ var sectionId = 'dynsection-2';
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-256.85 464,-275.85 519,-275.85 519,-256.85 464,-256.85"/>
<text text-anchor="middle" x="491.5" y="-263.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
@@ -158,7 +158,7 @@ var sectionId = 'dynsection-2';
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-25.85 464,-44.85 519,-44.85 519,-25.85 464,-25.85"/>
<text text-anchor="middle" x="491.5" y="-32.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
@@ -189,7 +189,7 @@ var sectionId = 'dynsection-2';
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp.html#" xlink:title=" ">
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-370.85 465.5,-389.85 517.5,-389.85 517.5,-370.85 465.5,-370.85"/>
<text text-anchor="middle" x="491.5" y="-377.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::exp</text>
</a>
@@ -225,7 +225,7 @@ var sectionId = 'dynsection-2';
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-294.85 465.5,-313.85 517.5,-313.85 517.5,-294.85 465.5,-294.85"/>
<text text-anchor="middle" x="491.5" y="-301.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
@@ -240,7 +240,7 @@ var sectionId = 'dynsection-2';
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt.html#" xlink:title=" ">
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465,-446.85 465,-465.85 518,-465.85 518,-446.85 465,-446.85"/>
<text text-anchor="middle" x="491.5" y="-453.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::sqrt</text>
</a>
@@ -270,7 +270,7 @@ var sectionId = 'dynsection-2';
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin.html#" xlink:title=" ">
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin#" xlink:title=" ">
<polygon fill="white" stroke="black" points="602.5,-389.85 602.5,-408.85 661.5,-408.85 661.5,-389.85 602.5,-389.85"/>
<text text-anchor="middle" x="632" y="-396.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::begin</text>
</a>
@@ -285,7 +285,7 @@ var sectionId = 'dynsection-2';
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance.html#" xlink:title=" ">
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance#" xlink:title=" ">
<polygon fill="white" stroke="black" points="595.5,-351.85 595.5,-370.85 668.5,-370.85 668.5,-351.85 595.5,-351.85"/>
<text text-anchor="middle" x="632" y="-358.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::distance</text>
</a>
@@ -300,7 +300,7 @@ var sectionId = 'dynsection-2';
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end.html#" xlink:title=" ">
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end#" xlink:title=" ">
<polygon fill="white" stroke="black" points="606,-313.85 606,-332.85 658,-332.85 658,-313.85 606,-313.85"/>
<text text-anchor="middle" x="632" y="-320.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::end</text>
</a>
@@ -315,7 +315,7 @@ var sectionId = 'dynsection-2';
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element.html#" xlink:title=" ">
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element#" xlink:title=" ">
<polygon fill="white" stroke="black" points="586,-275.85 586,-294.85 678,-294.85 678,-275.85 586,-275.85"/>
<text text-anchor="middle" x="632" y="-282.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min_element</text>
</a>
@@ -330,7 +330,7 @@ var sectionId = 'dynsection-2';
<!-- Node17 -->
<g id="node17" class="node">
<title>Node17</title>
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html#" xlink:title=" ">
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close#" xlink:title=" ">
<polygon fill="white" stroke="black" points="281,-234.85 281,-253.85 385,-253.85 385,-234.85 281,-234.85"/>
<text text-anchor="middle" x="333" y="-241.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::close</text>
</a>
@@ -345,7 +345,7 @@ var sectionId = 'dynsection-2';
<!-- Node18 -->
<g id="node18" class="node">
<title>Node18</title>
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="276,-196.85 276,-215.85 390,-215.85 390,-196.85 276,-196.85"/>
<text text-anchor="middle" x="333" y="-203.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
</a>
@@ -360,7 +360,7 @@ var sectionId = 'dynsection-2';
<!-- Node19 -->
<g id="node19" class="node">
<title>Node19</title>
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="282.5,-158.85 282.5,-177.85 383.5,-177.85 383.5,-158.85 282.5,-158.85"/>
<text text-anchor="middle" x="333" y="-165.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
</a>
@@ -375,7 +375,7 @@ var sectionId = 'dynsection-2';
<!-- Node20 -->
<g id="node20" class="node">
<title>Node20</title>
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror.html#" xlink:title=" ">
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror#" xlink:title=" ">
<polygon fill="white" stroke="black" points="299.5,-120.85 299.5,-139.85 366.5,-139.85 366.5,-120.85 299.5,-120.85"/>
<text text-anchor="middle" x="333" y="-127.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::strerror</text>
</a>
@@ -396,7 +396,7 @@ var sectionId = 'dynsection-2';
<!-- Node22 -->
<g id="node22" class="node">
<title>Node22</title>
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl#" xlink:title=" ">
<polygon fill="white" stroke="black" points="306,-82.85 306,-101.85 360,-101.85 360,-82.85 306,-82.85"/>
<text text-anchor="middle" x="333" y="-89.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -51,7 +51,7 @@
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-256.85 464,-275.85 519,-275.85 519,-256.85 464,-256.85"/>
<text text-anchor="middle" x="491.5" y="-263.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
@@ -112,7 +112,7 @@
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-25.85 464,-44.85 519,-44.85 519,-25.85 464,-25.85"/>
<text text-anchor="middle" x="491.5" y="-32.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
@@ -143,7 +143,7 @@
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp.html#" xlink:title=" ">
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-370.85 465.5,-389.85 517.5,-389.85 517.5,-370.85 465.5,-370.85"/>
<text text-anchor="middle" x="491.5" y="-377.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::exp</text>
</a>
@@ -179,7 +179,7 @@
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-294.85 465.5,-313.85 517.5,-313.85 517.5,-294.85 465.5,-294.85"/>
<text text-anchor="middle" x="491.5" y="-301.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
@@ -194,7 +194,7 @@
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt.html#" xlink:title=" ">
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465,-446.85 465,-465.85 518,-465.85 518,-446.85 465,-446.85"/>
<text text-anchor="middle" x="491.5" y="-453.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::sqrt</text>
</a>
@@ -224,7 +224,7 @@
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin.html#" xlink:title=" ">
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin#" xlink:title=" ">
<polygon fill="white" stroke="black" points="602.5,-389.85 602.5,-408.85 661.5,-408.85 661.5,-389.85 602.5,-389.85"/>
<text text-anchor="middle" x="632" y="-396.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::begin</text>
</a>
@@ -239,7 +239,7 @@
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance.html#" xlink:title=" ">
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance#" xlink:title=" ">
<polygon fill="white" stroke="black" points="595.5,-351.85 595.5,-370.85 668.5,-370.85 668.5,-351.85 595.5,-351.85"/>
<text text-anchor="middle" x="632" y="-358.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::distance</text>
</a>
@@ -254,7 +254,7 @@
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end.html#" xlink:title=" ">
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end#" xlink:title=" ">
<polygon fill="white" stroke="black" points="606,-313.85 606,-332.85 658,-332.85 658,-313.85 606,-313.85"/>
<text text-anchor="middle" x="632" y="-320.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::end</text>
</a>
@@ -269,7 +269,7 @@
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element.html#" xlink:title=" ">
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element#" xlink:title=" ">
<polygon fill="white" stroke="black" points="586,-275.85 586,-294.85 678,-294.85 678,-275.85 586,-275.85"/>
<text text-anchor="middle" x="632" y="-282.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min_element</text>
</a>
@@ -284,7 +284,7 @@
<!-- Node17 -->
<g id="node17" class="node">
<title>Node17</title>
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html#" xlink:title=" ">
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close#" xlink:title=" ">
<polygon fill="white" stroke="black" points="281,-234.85 281,-253.85 385,-253.85 385,-234.85 281,-234.85"/>
<text text-anchor="middle" x="333" y="-241.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::close</text>
</a>
@@ -299,7 +299,7 @@
<!-- Node18 -->
<g id="node18" class="node">
<title>Node18</title>
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="276,-196.85 276,-215.85 390,-215.85 390,-196.85 276,-196.85"/>
<text text-anchor="middle" x="333" y="-203.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
</a>
@@ -314,7 +314,7 @@
<!-- Node19 -->
<g id="node19" class="node">
<title>Node19</title>
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="282.5,-158.85 282.5,-177.85 383.5,-177.85 383.5,-158.85 282.5,-158.85"/>
<text text-anchor="middle" x="333" y="-165.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
</a>
@@ -329,7 +329,7 @@
<!-- Node20 -->
<g id="node20" class="node">
<title>Node20</title>
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror.html#" xlink:title=" ">
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror#" xlink:title=" ">
<polygon fill="white" stroke="black" points="299.5,-120.85 299.5,-139.85 366.5,-139.85 366.5,-120.85 299.5,-120.85"/>
<text text-anchor="middle" x="333" y="-127.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::strerror</text>
</a>
@@ -350,7 +350,7 @@
<!-- Node22 -->
<g id="node22" class="node">
<title>Node22</title>
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl#" xlink:title=" ">
<polygon fill="white" stroke="black" points="306,-82.85 306,-101.85 360,-101.85 360,-82.85 306,-82.85"/>
<text text-anchor="middle" x="333" y="-89.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -1,34 +1,34 @@
<map id="main" name="main">
<area shape="rect" id="node1" title=" " alt="" coords="5,393,56,420"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/chrono/c/clock.html#" title=" " alt="" coords="116,241,195,268"/>
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/chrono/c/clock#" title=" " alt="" coords="116,241,195,268"/>
<area shape="rect" id="node3" href="$d4/def/kohonen__som__topology_8cpp.html#a2256c10b16edba377b64a44b6c656908" title=" " alt="" coords="104,292,207,319"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/srand.html#" title=" " alt="" coords="115,343,195,369"/>
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/srand#" title=" " alt="" coords="115,343,195,369"/>
<area shape="rect" id="node5" href="$d4/def/kohonen__som__topology_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0" title=" " alt="" coords="130,557,181,584"/>
<area shape="rect" id="node28" href="$d4/def/kohonen__som__topology_8cpp.html#a0283886819c7c140a023582b7269e2d0" title=" " alt="" coords="130,444,181,471"/>
<area shape="rect" id="node30" href="$d4/def/kohonen__som__topology_8cpp.html#a6d0455dd5c30adda100e95f0423c786e" title=" " alt="" coords="130,393,181,420"/>
<area shape="rect" id="node32" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/chrono/c/time.html#" title=" " alt="" coords="119,608,192,635"/>
<area shape="rect" id="node32" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/chrono/c/time#" title=" " alt="" coords="119,608,192,635"/>
<area shape="rect" id="node6" href="$d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485" title=" " alt="" coords="564,419,636,445"/>
<area shape="rect" id="node8" href="$d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576" title=" " alt="" coords="255,317,467,344"/>
<area shape="rect" id="node16" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="775,313,848,340"/>
<area shape="rect" id="node16" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max#" title=" " alt="" coords="775,313,848,340"/>
<area shape="rect" id="node20" href="$d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c" title=" " alt="" coords="309,637,412,664"/>
<area shape="rect" id="node25" href="$d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07" title=" " alt="" coords="281,521,440,562"/>
<area shape="rect" id="node27" href="$d4/def/kohonen__som__topology_8cpp.html#a48efb079040c7aaa3a4917a0e486cba9" title=" " alt="" coords="302,688,419,715"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="775,444,848,471"/>
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand#" title=" " alt="" coords="775,444,848,471"/>
<area shape="rect" id="node9" href="$d8/d77/namespacemachine__learning.html#ae868ad43698a1d69ba46ea3827d7d2c3" title=" " alt="" coords="515,99,685,141"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/exp.html#" title=" " alt="" coords="777,107,846,133"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/exp#" title=" " alt="" coords="777,107,846,133"/>
<area shape="rect" id="node11" href="$d9/d66/group__machine__learning.html#ga60f9186ccb682724a8792a2bf81e9b9e" title=" " alt="" coords="767,157,856,184"/>
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min.html#" title=" " alt="" coords="777,208,846,235"/>
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/sqrt.html#" title=" " alt="" coords="776,5,847,32"/>
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min#" title=" " alt="" coords="777,208,846,235"/>
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/sqrt#" title=" " alt="" coords="776,5,847,32"/>
<area shape="rect" id="node19" href="$d8/d77/namespacemachine__learning.html#a6f1c98c016ad34ff3d9f39372161bd35" title=" " alt="" coords="733,56,889,83"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/begin.html#" title=" " alt="" coords="959,81,1038,108"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/distance.html#" title=" " alt="" coords="950,132,1047,159"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/end.html#" title=" " alt="" coords="964,183,1033,209"/>
<area shape="rect" id="node15" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min_element.html#" title=" " alt="" coords="937,233,1060,260"/>
<area shape="rect" id="node21" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/close.html#" title=" " alt="" coords="531,672,669,699"/>
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open.html#" title=" " alt="" coords="524,723,676,749"/>
<area shape="rect" id="node23" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open.html#" title=" " alt="" coords="533,621,667,648"/>
<area shape="rect" id="node24" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/byte/strerror.html#" title=" " alt="" coords="555,571,645,597"/>
<area shape="rect" id="node26" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="564,520,636,547"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/begin#" title=" " alt="" coords="959,81,1038,108"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/distance#" title=" " alt="" coords="950,132,1047,159"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/end#" title=" " alt="" coords="964,183,1033,209"/>
<area shape="rect" id="node15" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min_element#" title=" " alt="" coords="937,233,1060,260"/>
<area shape="rect" id="node21" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/close#" title=" " alt="" coords="531,672,669,699"/>
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open#" title=" " alt="" coords="524,723,676,749"/>
<area shape="rect" id="node23" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open#" title=" " alt="" coords="533,621,667,648"/>
<area shape="rect" id="node24" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/byte/strerror#" title=" " alt="" coords="555,571,645,597"/>
<area shape="rect" id="node26" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl#" title=" " alt="" coords="564,520,636,547"/>
<area shape="rect" id="node29" href="$d4/def/kohonen__som__topology_8cpp.html#a1302662a56ebf67a21249270b017297e" title=" " alt="" coords="299,469,423,496"/>
<area shape="rect" id="node31" href="$d4/def/kohonen__som__topology_8cpp.html#a4b7ab643f6a5002f991837de46f70653" title=" " alt="" coords="299,216,423,243"/>
</map>

View File

@@ -1 +1 @@
d5aa78c7475bd58e27522fd5e9a86b45
e4577e6ceb88f06f45147a402f259638

View File

@@ -67,7 +67,7 @@ var sectionId = 'dynsection-1';
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/clock.html#" xlink:title=" ">
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/clock#" xlink:title=" ">
<polygon fill="white" stroke="black" points="83,-428.67 83,-447.67 142,-447.67 142,-428.67 83,-428.67"/>
<text text-anchor="middle" x="112.5" y="-435.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::clock</text>
</a>
@@ -97,7 +97,7 @@ var sectionId = 'dynsection-1';
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/srand.html#" xlink:title=" ">
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/srand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="82.5,-352.67 82.5,-371.67 142.5,-371.67 142.5,-352.67 82.5,-352.67"/>
<text text-anchor="middle" x="112.5" y="-359.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::srand</text>
</a>
@@ -157,7 +157,7 @@ var sectionId = 'dynsection-1';
<!-- Node32 -->
<g id="node32" class="node">
<title>Node32</title>
<g id="a_node32"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/time.html#" xlink:title=" ">
<g id="a_node32"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/time#" xlink:title=" ">
<polygon fill="white" stroke="black" points="85,-153.67 85,-172.67 140,-172.67 140,-153.67 85,-153.67"/>
<text text-anchor="middle" x="112.5" y="-160.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::time</text>
</a>
@@ -202,7 +202,7 @@ var sectionId = 'dynsection-1';
<!-- Node16 -->
<g id="node16" class="node">
<title>Node16</title>
<g id="a_node16"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<g id="a_node16"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max#" xlink:title=" ">
<polygon fill="white" stroke="black" points="577,-374.67 577,-393.67 632,-393.67 632,-374.67 577,-374.67"/>
<text text-anchor="middle" x="604.5" y="-381.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
@@ -263,7 +263,7 @@ var sectionId = 'dynsection-1';
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="577,-276.67 577,-295.67 632,-295.67 632,-276.67 577,-276.67"/>
<text text-anchor="middle" x="604.5" y="-283.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
@@ -294,7 +294,7 @@ var sectionId = 'dynsection-1';
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp.html#" xlink:title=" ">
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp#" xlink:title=" ">
<polygon fill="white" stroke="black" points="578.5,-529.67 578.5,-548.67 630.5,-548.67 630.5,-529.67 578.5,-529.67"/>
<text text-anchor="middle" x="604.5" y="-536.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::exp</text>
</a>
@@ -330,7 +330,7 @@ var sectionId = 'dynsection-1';
<!-- Node17 -->
<g id="node17" class="node">
<title>Node17</title>
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min#" xlink:title=" ">
<polygon fill="white" stroke="black" points="578.5,-453.67 578.5,-472.67 630.5,-472.67 630.5,-453.67 578.5,-453.67"/>
<text text-anchor="middle" x="604.5" y="-460.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
@@ -345,7 +345,7 @@ var sectionId = 'dynsection-1';
<!-- Node18 -->
<g id="node18" class="node">
<title>Node18</title>
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt.html#" xlink:title=" ">
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt#" xlink:title=" ">
<polygon fill="white" stroke="black" points="578,-605.67 578,-624.67 631,-624.67 631,-605.67 578,-605.67"/>
<text text-anchor="middle" x="604.5" y="-612.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::sqrt</text>
</a>
@@ -375,7 +375,7 @@ var sectionId = 'dynsection-1';
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin.html#" xlink:title=" ">
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin#" xlink:title=" ">
<polygon fill="white" stroke="black" points="715.5,-548.67 715.5,-567.67 774.5,-567.67 774.5,-548.67 715.5,-548.67"/>
<text text-anchor="middle" x="745" y="-555.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::begin</text>
</a>
@@ -390,7 +390,7 @@ var sectionId = 'dynsection-1';
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance.html#" xlink:title=" ">
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance#" xlink:title=" ">
<polygon fill="white" stroke="black" points="708.5,-510.67 708.5,-529.67 781.5,-529.67 781.5,-510.67 708.5,-510.67"/>
<text text-anchor="middle" x="745" y="-517.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::distance</text>
</a>
@@ -405,7 +405,7 @@ var sectionId = 'dynsection-1';
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end.html#" xlink:title=" ">
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end#" xlink:title=" ">
<polygon fill="white" stroke="black" points="719,-472.67 719,-491.67 771,-491.67 771,-472.67 719,-472.67"/>
<text text-anchor="middle" x="745" y="-479.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::end</text>
</a>
@@ -420,7 +420,7 @@ var sectionId = 'dynsection-1';
<!-- Node15 -->
<g id="node15" class="node">
<title>Node15</title>
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element.html#" xlink:title=" ">
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element#" xlink:title=" ">
<polygon fill="white" stroke="black" points="699,-434.67 699,-453.67 791,-453.67 791,-434.67 699,-434.67"/>
<text text-anchor="middle" x="745" y="-441.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::min_element</text>
</a>
@@ -435,7 +435,7 @@ var sectionId = 'dynsection-1';
<!-- Node21 -->
<g id="node21" class="node">
<title>Node21</title>
<g id="a_node21"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html#" xlink:title=" ">
<g id="a_node21"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close#" xlink:title=" ">
<polygon fill="white" stroke="black" points="394,-105.67 394,-124.67 498,-124.67 498,-105.67 394,-105.67"/>
<text text-anchor="middle" x="446" y="-112.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::close</text>
</a>
@@ -450,7 +450,7 @@ var sectionId = 'dynsection-1';
<!-- Node22 -->
<g id="node22" class="node">
<title>Node22</title>
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="389,-67.67 389,-86.67 503,-86.67 503,-67.67 389,-67.67"/>
<text text-anchor="middle" x="446" y="-74.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
</a>
@@ -465,7 +465,7 @@ var sectionId = 'dynsection-1';
<!-- Node23 -->
<g id="node23" class="node">
<title>Node23</title>
<g id="a_node23"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
<g id="a_node23"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="395.5,-143.67 395.5,-162.67 496.5,-162.67 496.5,-143.67 395.5,-143.67"/>
<text text-anchor="middle" x="446" y="-150.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
</a>
@@ -480,7 +480,7 @@ var sectionId = 'dynsection-1';
<!-- Node24 -->
<g id="node24" class="node">
<title>Node24</title>
<g id="a_node24"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror.html#" xlink:title=" ">
<g id="a_node24"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror#" xlink:title=" ">
<polygon fill="white" stroke="black" points="412.5,-181.67 412.5,-200.67 479.5,-200.67 479.5,-181.67 412.5,-181.67"/>
<text text-anchor="middle" x="446" y="-188.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::strerror</text>
</a>
@@ -501,7 +501,7 @@ var sectionId = 'dynsection-1';
<!-- Node26 -->
<g id="node26" class="node">
<title>Node26</title>
<g id="a_node26"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_node26"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl#" xlink:title=" ">
<polygon fill="white" stroke="black" points="419,-219.67 419,-238.67 473,-238.67 473,-219.67 419,-219.67"/>
<text text-anchor="middle" x="446" y="-226.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -21,7 +21,7 @@
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/clock.html#" xlink:title=" ">
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/clock#" xlink:title=" ">
<polygon fill="white" stroke="black" points="83,-428.67 83,-447.67 142,-447.67 142,-428.67 83,-428.67"/>
<text text-anchor="middle" x="112.5" y="-435.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::clock</text>
</a>
@@ -51,7 +51,7 @@
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/srand.html#" xlink:title=" ">
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/srand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="82.5,-352.67 82.5,-371.67 142.5,-371.67 142.5,-352.67 82.5,-352.67"/>
<text text-anchor="middle" x="112.5" y="-359.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::srand</text>
</a>
@@ -111,7 +111,7 @@
<!-- Node32 -->
<g id="node32" class="node">
<title>Node32</title>
<g id="a_node32"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/time.html#" xlink:title=" ">
<g id="a_node32"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/chrono/c/time#" xlink:title=" ">
<polygon fill="white" stroke="black" points="85,-153.67 85,-172.67 140,-172.67 140,-153.67 85,-153.67"/>
<text text-anchor="middle" x="112.5" y="-160.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::time</text>
</a>
@@ -156,7 +156,7 @@
<!-- Node16 -->
<g id="node16" class="node">
<title>Node16</title>
<g id="a_node16"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<g id="a_node16"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max#" xlink:title=" ">
<polygon fill="white" stroke="black" points="577,-374.67 577,-393.67 632,-393.67 632,-374.67 577,-374.67"/>
<text text-anchor="middle" x="604.5" y="-381.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
@@ -217,7 +217,7 @@
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="577,-276.67 577,-295.67 632,-295.67 632,-276.67 577,-276.67"/>
<text text-anchor="middle" x="604.5" y="-283.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
@@ -248,7 +248,7 @@
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp.html#" xlink:title=" ">
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp#" xlink:title=" ">
<polygon fill="white" stroke="black" points="578.5,-529.67 578.5,-548.67 630.5,-548.67 630.5,-529.67 578.5,-529.67"/>
<text text-anchor="middle" x="604.5" y="-536.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::exp</text>
</a>
@@ -284,7 +284,7 @@
<!-- Node17 -->
<g id="node17" class="node">
<title>Node17</title>
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min#" xlink:title=" ">
<polygon fill="white" stroke="black" points="578.5,-453.67 578.5,-472.67 630.5,-472.67 630.5,-453.67 578.5,-453.67"/>
<text text-anchor="middle" x="604.5" y="-460.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
@@ -299,7 +299,7 @@
<!-- Node18 -->
<g id="node18" class="node">
<title>Node18</title>
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt.html#" xlink:title=" ">
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt#" xlink:title=" ">
<polygon fill="white" stroke="black" points="578,-605.67 578,-624.67 631,-624.67 631,-605.67 578,-605.67"/>
<text text-anchor="middle" x="604.5" y="-612.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::sqrt</text>
</a>
@@ -329,7 +329,7 @@
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin.html#" xlink:title=" ">
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin#" xlink:title=" ">
<polygon fill="white" stroke="black" points="715.5,-548.67 715.5,-567.67 774.5,-567.67 774.5,-548.67 715.5,-548.67"/>
<text text-anchor="middle" x="745" y="-555.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::begin</text>
</a>
@@ -344,7 +344,7 @@
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance.html#" xlink:title=" ">
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance#" xlink:title=" ">
<polygon fill="white" stroke="black" points="708.5,-510.67 708.5,-529.67 781.5,-529.67 781.5,-510.67 708.5,-510.67"/>
<text text-anchor="middle" x="745" y="-517.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::distance</text>
</a>
@@ -359,7 +359,7 @@
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end.html#" xlink:title=" ">
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end#" xlink:title=" ">
<polygon fill="white" stroke="black" points="719,-472.67 719,-491.67 771,-491.67 771,-472.67 719,-472.67"/>
<text text-anchor="middle" x="745" y="-479.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::end</text>
</a>
@@ -374,7 +374,7 @@
<!-- Node15 -->
<g id="node15" class="node">
<title>Node15</title>
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element.html#" xlink:title=" ">
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element#" xlink:title=" ">
<polygon fill="white" stroke="black" points="699,-434.67 699,-453.67 791,-453.67 791,-434.67 699,-434.67"/>
<text text-anchor="middle" x="745" y="-441.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::min_element</text>
</a>
@@ -389,7 +389,7 @@
<!-- Node21 -->
<g id="node21" class="node">
<title>Node21</title>
<g id="a_node21"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html#" xlink:title=" ">
<g id="a_node21"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close#" xlink:title=" ">
<polygon fill="white" stroke="black" points="394,-105.67 394,-124.67 498,-124.67 498,-105.67 394,-105.67"/>
<text text-anchor="middle" x="446" y="-112.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::close</text>
</a>
@@ -404,7 +404,7 @@
<!-- Node22 -->
<g id="node22" class="node">
<title>Node22</title>
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="389,-67.67 389,-86.67 503,-86.67 503,-67.67 389,-67.67"/>
<text text-anchor="middle" x="446" y="-74.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
</a>
@@ -419,7 +419,7 @@
<!-- Node23 -->
<g id="node23" class="node">
<title>Node23</title>
<g id="a_node23"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
<g id="a_node23"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="395.5,-143.67 395.5,-162.67 496.5,-162.67 496.5,-143.67 395.5,-143.67"/>
<text text-anchor="middle" x="446" y="-150.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
</a>
@@ -434,7 +434,7 @@
<!-- Node24 -->
<g id="node24" class="node">
<title>Node24</title>
<g id="a_node24"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror.html#" xlink:title=" ">
<g id="a_node24"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror#" xlink:title=" ">
<polygon fill="white" stroke="black" points="412.5,-181.67 412.5,-200.67 479.5,-200.67 479.5,-181.67 412.5,-181.67"/>
<text text-anchor="middle" x="446" y="-188.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::strerror</text>
</a>
@@ -455,7 +455,7 @@
<!-- Node26 -->
<g id="node26" class="node">
<title>Node26</title>
<g id="a_node26"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_node26"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl#" xlink:title=" ">
<polygon fill="white" stroke="black" points="419,-219.67 419,-238.67 473,-238.67 473,-219.67 419,-219.67"/>
<text text-anchor="middle" x="446" y="-226.67" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -1,5 +1,5 @@
<map id="test_2d_classes" name="test_2d_classes">
<area shape="rect" id="node1" title=" " alt="" coords="5,31,123,57"/>
<area shape="rect" id="node2" href="$d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485" title=" " alt="" coords="171,5,243,32"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="291,31,364,57"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand#" title=" " alt="" coords="291,31,364,57"/>
</map>

View File

@@ -1 +1 @@
fbdf645db027e8a345c3e89140d48794
db0247f44ddc20b89b1208f8c84a9646

View File

@@ -36,7 +36,7 @@
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="214,-0.5 214,-19.5 269,-19.5 269,-0.5 214,-0.5"/>
<text text-anchor="middle" x="241.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -1,5 +1,5 @@
<map id="test_3d_classes2" name="test_3d_classes2">
<area shape="rect" id="node1" title=" " alt="" coords="5,31,129,57"/>
<area shape="rect" id="node2" href="$d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485" title=" " alt="" coords="177,5,249,32"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="297,31,371,57"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand#" title=" " alt="" coords="297,31,371,57"/>
</map>

View File

@@ -1 +1 @@
ac54c7664b14591fe455a3e7cfa0d6cc
af79349e4687662f8ea12d7b3b155ebb

View File

@@ -36,7 +36,7 @@
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="219,-0.5 219,-19.5 274,-19.5 274,-0.5 219,-0.5"/>
<text text-anchor="middle" x="246.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -2,24 +2,24 @@
<area shape="rect" id="node1" title=" " alt="" coords="5,415,56,441"/>
<area shape="rect" id="node2" href="$d9/d66/group__machine__learning.html#gaf5ce14f026d6d231bef29161bac2b485" title=" " alt="" coords="413,592,485,619"/>
<area shape="rect" id="node4" href="$d8/d77/namespacemachine__learning.html#ac43d294e21a0c4fa33c53757df054576" title=" " alt="" coords="104,183,316,209"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max.html#" title=" " alt="" coords="624,259,697,285"/>
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/max#" title=" " alt="" coords="624,259,697,285"/>
<area shape="rect" id="node16" href="$d9/d66/group__machine__learning.html#gabc90175770bf0d5853c466e14993a08c" title=" " alt="" coords="159,385,261,412"/>
<area shape="rect" id="node21" href="$d8/d77/namespacemachine__learning.html#aa72a53c88203fde278f1fe6c3afe5b07" title=" " alt="" coords="131,437,289,478"/>
<area shape="rect" id="node23" href="$d4/def/kohonen__som__topology_8cpp.html#a4b7ab643f6a5002f991837de46f70653" title=" " alt="" coords="148,541,272,568"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand.html#" title=" " alt="" coords="624,567,697,593"/>
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/random/rand#" title=" " alt="" coords="624,567,697,593"/>
<area shape="rect" id="node5" href="$d8/d77/namespacemachine__learning.html#ae868ad43698a1d69ba46ea3827d7d2c3" title=" " alt="" coords="364,150,535,191"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/exp.html#" title=" " alt="" coords="626,107,695,133"/>
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/exp#" title=" " alt="" coords="626,107,695,133"/>
<area shape="rect" id="node7" href="$d9/d66/group__machine__learning.html#ga60f9186ccb682724a8792a2bf81e9b9e" title=" " alt="" coords="616,157,705,184"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min.html#" title=" " alt="" coords="626,208,695,235"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/sqrt.html#" title=" " alt="" coords="625,5,696,32"/>
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min#" title=" " alt="" coords="626,208,695,235"/>
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/numeric/math/sqrt#" title=" " alt="" coords="625,5,696,32"/>
<area shape="rect" id="node15" href="$d8/d77/namespacemachine__learning.html#a6f1c98c016ad34ff3d9f39372161bd35" title=" " alt="" coords="583,56,739,83"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/begin.html#" title=" " alt="" coords="809,81,887,108"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/distance.html#" title=" " alt="" coords="799,132,897,159"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/end.html#" title=" " alt="" coords="813,183,883,209"/>
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min_element.html#" title=" " alt="" coords="787,233,909,260"/>
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/close.html#" title=" " alt="" coords="380,288,519,315"/>
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open.html#" title=" " alt="" coords="373,339,525,365"/>
<area shape="rect" id="node19" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open.html#" title=" " alt="" coords="382,389,517,416"/>
<area shape="rect" id="node20" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/byte/strerror.html#" title=" " alt="" coords="405,440,494,467"/>
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="413,491,485,517"/>
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/begin#" title=" " alt="" coords="809,81,887,108"/>
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/distance#" title=" " alt="" coords="799,132,897,159"/>
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/iterator/end#" title=" " alt="" coords="813,183,883,209"/>
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/min_element#" title=" " alt="" coords="787,233,909,260"/>
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/close#" title=" " alt="" coords="380,288,519,315"/>
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/is_open#" title=" " alt="" coords="373,339,525,365"/>
<area shape="rect" id="node19" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/basic_ofstream/open#" title=" " alt="" coords="382,389,517,416"/>
<area shape="rect" id="node20" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/string/byte/strerror#" title=" " alt="" coords="405,440,494,467"/>
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl#" title=" " alt="" coords="413,491,485,517"/>
</map>

View File

@@ -1 +1 @@
6229395169572fd503574e7a031f0ebe
5c1cfdf25d8c84417039a36df9c4af30

View File

@@ -97,7 +97,7 @@ var sectionId = 'dynsection-4';
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-256.85 464,-275.85 519,-275.85 519,-256.85 464,-256.85"/>
<text text-anchor="middle" x="491.5" y="-263.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
@@ -158,7 +158,7 @@ var sectionId = 'dynsection-4';
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-25.85 464,-44.85 519,-44.85 519,-25.85 464,-25.85"/>
<text text-anchor="middle" x="491.5" y="-32.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
@@ -189,7 +189,7 @@ var sectionId = 'dynsection-4';
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp.html#" xlink:title=" ">
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-370.85 465.5,-389.85 517.5,-389.85 517.5,-370.85 465.5,-370.85"/>
<text text-anchor="middle" x="491.5" y="-377.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::exp</text>
</a>
@@ -225,7 +225,7 @@ var sectionId = 'dynsection-4';
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-294.85 465.5,-313.85 517.5,-313.85 517.5,-294.85 465.5,-294.85"/>
<text text-anchor="middle" x="491.5" y="-301.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
@@ -240,7 +240,7 @@ var sectionId = 'dynsection-4';
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt.html#" xlink:title=" ">
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465,-446.85 465,-465.85 518,-465.85 518,-446.85 465,-446.85"/>
<text text-anchor="middle" x="491.5" y="-453.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::sqrt</text>
</a>
@@ -270,7 +270,7 @@ var sectionId = 'dynsection-4';
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin.html#" xlink:title=" ">
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin#" xlink:title=" ">
<polygon fill="white" stroke="black" points="602.5,-389.85 602.5,-408.85 661.5,-408.85 661.5,-389.85 602.5,-389.85"/>
<text text-anchor="middle" x="632" y="-396.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::begin</text>
</a>
@@ -285,7 +285,7 @@ var sectionId = 'dynsection-4';
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance.html#" xlink:title=" ">
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance#" xlink:title=" ">
<polygon fill="white" stroke="black" points="595.5,-351.85 595.5,-370.85 668.5,-370.85 668.5,-351.85 595.5,-351.85"/>
<text text-anchor="middle" x="632" y="-358.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::distance</text>
</a>
@@ -300,7 +300,7 @@ var sectionId = 'dynsection-4';
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end.html#" xlink:title=" ">
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end#" xlink:title=" ">
<polygon fill="white" stroke="black" points="606,-313.85 606,-332.85 658,-332.85 658,-313.85 606,-313.85"/>
<text text-anchor="middle" x="632" y="-320.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::end</text>
</a>
@@ -315,7 +315,7 @@ var sectionId = 'dynsection-4';
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element.html#" xlink:title=" ">
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element#" xlink:title=" ">
<polygon fill="white" stroke="black" points="586,-275.85 586,-294.85 678,-294.85 678,-275.85 586,-275.85"/>
<text text-anchor="middle" x="632" y="-282.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min_element</text>
</a>
@@ -330,7 +330,7 @@ var sectionId = 'dynsection-4';
<!-- Node17 -->
<g id="node17" class="node">
<title>Node17</title>
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html#" xlink:title=" ">
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close#" xlink:title=" ">
<polygon fill="white" stroke="black" points="281,-234.85 281,-253.85 385,-253.85 385,-234.85 281,-234.85"/>
<text text-anchor="middle" x="333" y="-241.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::close</text>
</a>
@@ -345,7 +345,7 @@ var sectionId = 'dynsection-4';
<!-- Node18 -->
<g id="node18" class="node">
<title>Node18</title>
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="276,-196.85 276,-215.85 390,-215.85 390,-196.85 276,-196.85"/>
<text text-anchor="middle" x="333" y="-203.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
</a>
@@ -360,7 +360,7 @@ var sectionId = 'dynsection-4';
<!-- Node19 -->
<g id="node19" class="node">
<title>Node19</title>
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="282.5,-158.85 282.5,-177.85 383.5,-177.85 383.5,-158.85 282.5,-158.85"/>
<text text-anchor="middle" x="333" y="-165.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
</a>
@@ -375,7 +375,7 @@ var sectionId = 'dynsection-4';
<!-- Node20 -->
<g id="node20" class="node">
<title>Node20</title>
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror.html#" xlink:title=" ">
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror#" xlink:title=" ">
<polygon fill="white" stroke="black" points="299.5,-120.85 299.5,-139.85 366.5,-139.85 366.5,-120.85 299.5,-120.85"/>
<text text-anchor="middle" x="333" y="-127.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::strerror</text>
</a>
@@ -396,7 +396,7 @@ var sectionId = 'dynsection-4';
<!-- Node22 -->
<g id="node22" class="node">
<title>Node22</title>
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl#" xlink:title=" ">
<polygon fill="white" stroke="black" points="306,-82.85 306,-101.85 360,-101.85 360,-82.85 306,-82.85"/>
<text text-anchor="middle" x="333" y="-89.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -51,7 +51,7 @@
<!-- Node12 -->
<g id="node12" class="node">
<title>Node12</title>
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max.html#" xlink:title=" ">
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/max#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-256.85 464,-275.85 519,-275.85 519,-256.85 464,-256.85"/>
<text text-anchor="middle" x="491.5" y="-263.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::max</text>
</a>
@@ -112,7 +112,7 @@
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand#" xlink:title=" ">
<polygon fill="white" stroke="black" points="464,-25.85 464,-44.85 519,-44.85 519,-25.85 464,-25.85"/>
<text text-anchor="middle" x="491.5" y="-32.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
</a>
@@ -143,7 +143,7 @@
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp.html#" xlink:title=" ">
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/exp#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-370.85 465.5,-389.85 517.5,-389.85 517.5,-370.85 465.5,-370.85"/>
<text text-anchor="middle" x="491.5" y="-377.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::exp</text>
</a>
@@ -179,7 +179,7 @@
<!-- Node13 -->
<g id="node13" class="node">
<title>Node13</title>
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465.5,-294.85 465.5,-313.85 517.5,-313.85 517.5,-294.85 465.5,-294.85"/>
<text text-anchor="middle" x="491.5" y="-301.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
</a>
@@ -194,7 +194,7 @@
<!-- Node14 -->
<g id="node14" class="node">
<title>Node14</title>
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt.html#" xlink:title=" ">
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/math/sqrt#" xlink:title=" ">
<polygon fill="white" stroke="black" points="465,-446.85 465,-465.85 518,-465.85 518,-446.85 465,-446.85"/>
<text text-anchor="middle" x="491.5" y="-453.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::sqrt</text>
</a>
@@ -224,7 +224,7 @@
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin.html#" xlink:title=" ">
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/begin#" xlink:title=" ">
<polygon fill="white" stroke="black" points="602.5,-389.85 602.5,-408.85 661.5,-408.85 661.5,-389.85 602.5,-389.85"/>
<text text-anchor="middle" x="632" y="-396.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::begin</text>
</a>
@@ -239,7 +239,7 @@
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance.html#" xlink:title=" ">
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/distance#" xlink:title=" ">
<polygon fill="white" stroke="black" points="595.5,-351.85 595.5,-370.85 668.5,-370.85 668.5,-351.85 595.5,-351.85"/>
<text text-anchor="middle" x="632" y="-358.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::distance</text>
</a>
@@ -254,7 +254,7 @@
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end.html#" xlink:title=" ">
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/iterator/end#" xlink:title=" ">
<polygon fill="white" stroke="black" points="606,-313.85 606,-332.85 658,-332.85 658,-313.85 606,-313.85"/>
<text text-anchor="middle" x="632" y="-320.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::end</text>
</a>
@@ -269,7 +269,7 @@
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element.html#" xlink:title=" ">
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min_element#" xlink:title=" ">
<polygon fill="white" stroke="black" points="586,-275.85 586,-294.85 678,-294.85 678,-275.85 586,-275.85"/>
<text text-anchor="middle" x="632" y="-282.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::min_element</text>
</a>
@@ -284,7 +284,7 @@
<!-- Node17 -->
<g id="node17" class="node">
<title>Node17</title>
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close.html#" xlink:title=" ">
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/close#" xlink:title=" ">
<polygon fill="white" stroke="black" points="281,-234.85 281,-253.85 385,-253.85 385,-234.85 281,-234.85"/>
<text text-anchor="middle" x="333" y="-241.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::close</text>
</a>
@@ -299,7 +299,7 @@
<!-- Node18 -->
<g id="node18" class="node">
<title>Node18</title>
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open.html#" xlink:title=" ">
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/is_open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="276,-196.85 276,-215.85 390,-215.85 390,-196.85 276,-196.85"/>
<text text-anchor="middle" x="333" y="-203.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::is_open</text>
</a>
@@ -314,7 +314,7 @@
<!-- Node19 -->
<g id="node19" class="node">
<title>Node19</title>
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open.html#" xlink:title=" ">
<g id="a_node19"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/basic_ofstream/open#" xlink:title=" ">
<polygon fill="white" stroke="black" points="282.5,-158.85 282.5,-177.85 383.5,-177.85 383.5,-158.85 282.5,-158.85"/>
<text text-anchor="middle" x="333" y="-165.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::ofstream::open</text>
</a>
@@ -329,7 +329,7 @@
<!-- Node20 -->
<g id="node20" class="node">
<title>Node20</title>
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror.html#" xlink:title=" ">
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/byte/strerror#" xlink:title=" ">
<polygon fill="white" stroke="black" points="299.5,-120.85 299.5,-139.85 366.5,-139.85 366.5,-120.85 299.5,-120.85"/>
<text text-anchor="middle" x="333" y="-127.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::strerror</text>
</a>
@@ -350,7 +350,7 @@
<!-- Node22 -->
<g id="node22" class="node">
<title>Node22</title>
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl#" xlink:title=" ">
<polygon fill="white" stroke="black" points="306,-82.85 306,-101.85 360,-101.85 360,-82.85 306,-82.85"/>
<text text-anchor="middle" x="333" y="-89.85" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
</a>

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB