Skip to content

Commit

Permalink
Add test; better error handling if file missing; fix some C type warn…
Browse files Browse the repository at this point in the history
…ings.
  • Loading branch information
git-steven committed Aug 15, 2023
1 parent c5b18c6 commit ccfada0
Show file tree
Hide file tree
Showing 27 changed files with 1,362 additions and 3,506 deletions.
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GEM

PLATFORMS
arm64-darwin-22
ruby
x86_64-darwin-19

DEPENDENCIES
Expand Down
54 changes: 35 additions & 19 deletions docs/README_md.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
<link href="./css/rdoc.css" rel="stylesheet">




<body id="top" role="document" class="file">
<nav role="navigation">
<div id="project-navigation">
Expand Down Expand Up @@ -59,30 +57,48 @@ <h2>
<div class="nav-section">
<h3>Table of Contents</h3>



<ul class="link-list" role="directory">
<li><a href="#label-RubyFann">RubyFann</a>
<li><a href="#label-Installation">Installation</a>
<li><a href="#label-Usage">Usage</a>
<li><a href="#label-Documentation-3A">Documentation:</a>
<li><a href="#label-Example+training+-26+subsequent+execution-3A">Example training &amp; subsequent execution:</a>
<li><a href="#label-Save+training+data+to+file+and+use+it+later+-28continued+from+above-29">Save training data to file and use it later (continued from above)</a>
<li><a href="#label-Save+trained+network+to+file+and+use+it+later+-28continued+from+above-29">Save trained network to file and use it later (continued from above)</a>
<li><a href="#label-Custom+training+using+a+callback+method">Custom training using a callback method</a>
<li><a href="#label-A+sample+project+using+RubyFann+to+play+tic-tac-toe">A sample project using RubyFann to play tic-tac-toe</a>
<li><a href="#label-Contributors">Contributors</a>
<li><a href="#label-Contributing">Contributing</a>
<li>
<details open>
<summary> <a href="#label-RubyFann">RubyFann</a>
</summary>
<ul class="link-list" role="directory">
<li> <a href="#label-Installation">Installation</a>
<li> <a href="#label-Usage">Usage</a>
<li>
<details open>
<summary> <a href="#label-Documentation-3A">Documentation:</a>
</summary>
<ul class="link-list" role="directory">
<li> <a href="#label-Example+training+-26+subsequent+execution-3A">Example training &amp; subsequent execution:</a>
<li> <a href="#label-Save+training+data+to+file+and+use+it+later+-28continued+from+above-29">Save training data to file and use it later (continued from above)</a>
<li> <a href="#label-Save+trained+network+to+file+and+use+it+later+-28continued+from+above-29">Save trained network to file and use it later (continued from above)</a>
<li> <a href="#label-Custom+training+using+a+callback+method">Custom training using a callback method</a>
<li> <a href="#label-A+sample+project+using+RubyFann+to+play+tic-tac-toe">A sample project using RubyFann to play tic-tac-toe</a>

</ul>
</details>
</li>
<li> <a href="#label-Contributors">Contributors</a>
<li> <a href="#label-Contributing">Contributing</a>

</ul>
</details>
</li>

</ul>
</div>


<div id="project-metadata">
<div id="fileindex-section" class="nav-section">

<div id="fileindex-section" class="nav-section">
<h3>Pages</h3>

<ul class="link-list">

<li><a href="./README_md.html">README</a>

</ul>
</div>

Expand All @@ -107,7 +123,7 @@ <h1 id="label-RubyFann"><a href="RubyFann.html"><code>RubyFann</code></a><span><

<h2 id="label-Installation">Installation<span><a href="#label-Installation">&para;</a> <a href="#top">&uarr;</a></span></h2>

<p>Add this line to your application&#39;s Gemfile:</p>
<p>Add this line to your applications Gemfile:</p>

<pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-string">&#39;ruby-fann&#39;</span>
</pre>
Expand All @@ -122,7 +138,7 @@ <h2 id="label-Installation">Installation<span><a href="#label-Installation">&par

<h2 id="label-Usage">Usage<span><a href="#label-Usage">&para;</a> <a href="#top">&uarr;</a></span></h2>

<p>First, Go here &amp; read about FANN. You don&#39;t need to install it before using the gem, but understanding FANN will help you understand what you can do with the ruby-fann gem: <a href="http://leenissen.dk/fann">leenissen.dk/fann</a>/</p>
<p>First, Go here &amp; read about FANN. You dont need to install it before using the gem, but understanding FANN will help you understand what you can do with the ruby-fann gem: <a href="http://leenissen.dk/fann">leenissen.dk/fann</a>/</p>

<h2 id="label-Documentation-3A">Documentation:<span><a href="#label-Documentation-3A">&para;</a> <a href="#top">&uarr;</a></span></h2>

Expand Down Expand Up @@ -209,7 +225,7 @@ <h2 id="label-Contributing">Contributing<span><a href="#label-Contributing">&par

<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.1.
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.5.0.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>

12 changes: 2 additions & 10 deletions docs/RubyFann.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
<link href="./css/rdoc.css" rel="stylesheet">




<body id="top" role="document" class="module">
<nav role="navigation">
<div id="project-navigation">
Expand Down Expand Up @@ -79,25 +77,19 @@ <h1 id="module-RubyFann" class="module">

</section>


<section id="5Buntitled-5D" class="documentation-section">









</section>

</section>
</main>


<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.2.1.
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.5.0.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>

Loading

0 comments on commit ccfada0

Please sign in to comment.