<!DOCTYPE html>

<html>
<head>
<meta charset="UTF-8">

<title>InputNeuron.html - rubyneat 0.3.4</title>

<link href="../../../fonts.css" rel="stylesheet">
<link href="../../../rdoc.css" rel="stylesheet">

<script type="text/javascript">
  var rdoc_rel_prefix = "../../../";
</script>

<script src="../../../js/jquery.js"></script>
<script src="../../../js/navigation.js"></script>
<script src="../../../js/search_index.js"></script>
<script src="../../../js/search.js"></script>
<script src="../../../js/searcher.js"></script>
<script src="../../../js/darkfish.js"></script>


<body id="top" role="document" class="file">
<nav role="navigation">
  <div id="project-navigation">
    <div id="home-section" role="region" title="Quick navigation" class="nav-section">
  <h2>
    <a href="../../../index.html" rel="home">Home</a>
  </h2>

  <div id="table-of-contents-navigation">
    <a href="../../../table_of_contents.html#pages">Pages</a>
    <a href="../../../table_of_contents.html#classes">Classes</a>
    <a href="../../../table_of_contents.html#methods">Methods</a>
  </div>
</div>

    <div id="search-section" role="search" class="project-section initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <div id="search-field-wrapper">
      <input id="search-field" role="combobox" aria-label="Search"
             aria-autocomplete="list" aria-controls="search-results"
             type="text" name="search" placeholder="Search" spellcheck="false"
             title="Type to search, Up and Down to navigate, Enter to load">
    </div>

    <ul id="search-results" aria-label="Search Results"
        aria-busy="false" aria-expanded="false"
        aria-atomic="false" class="initially-hidden"></ul>
  </form>
</div>

  </div>

  

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

  <ul class="link-list">
  
    <li><a href="../../../Gemfile.html">Gemfile</a>
  
    <li><a href="../../../Gemfile_lock.html">Gemfile.lock</a>
  
    <li><a href="../../../Guardfile.html">Guardfile</a>
  
    <li><a href="../../../Rakefile.html">Rakefile</a>
  
    <li><a href="../../../doc/ControllerPoint_html.html">ControllerPoint.html</a>
  
    <li><a href="../../../doc/CuteA_html.html">CuteA.html</a>
  
    <li><a href="../../../doc/CuteB_html.html">CuteB.html</a>
  
    <li><a href="../../../doc/DSL_html.html">DSL.html</a>
  
    <li><a href="../../../doc/NEAT_html.html">NEAT.html</a>
  
    <li><a href="../../../doc/NEAT/BasicNeuronTypes_html.html">BasicNeuronTypes.html</a>
  
    <li><a href="../../../doc/NEAT/BasicNeuronTypes/BiasNeuron_html.html">BiasNeuron.html</a>
  
    <li><a href="../../../doc/NEAT/BasicNeuronTypes/CosineNeuron_html.html">CosineNeuron.html</a>
  
    <li><a href="../../../doc/NEAT/BasicNeuronTypes/InputNeuron_html.html">InputNeuron.html</a>
  
    <li><a href="../../../doc/NEAT/BasicNeuronTypes/SigmoidNeuron_html.html">SigmoidNeuron.html</a>
  
    <li><a href="../../../doc/NEAT/BasicNeuronTypes/SineNeuron_html.html">SineNeuron.html</a>
  
    <li><a href="../../../doc/NEAT/BasicNeuronTypes/TanhNeuron_html.html">TanhNeuron.html</a>
  
    <li><a href="../../../doc/NEAT/Controller_html.html">Controller.html</a>
  
    <li><a href="../../../doc/NEAT/Controller/NeatSettings_html.html">NeatSettings.html</a>
  
    <li><a href="../../../doc/NEAT/Critter_html.html">Critter.html</a>
  
    <li><a href="../../../doc/NEAT/Critter/Genotype_html.html">Genotype.html</a>
  
    <li><a href="../../../doc/NEAT/Critter/Genotype/Gene_html.html">Gene.html</a>
  
    <li><a href="../../../doc/NEAT/Critter/Phenotype_html.html">Phenotype.html</a>
  
    <li><a href="../../../doc/NEAT/DSL_html.html">DSL.html</a>
  
    <li><a href="../../../doc/NEAT/Evaluator_html.html">Evaluator.html</a>
  
    <li><a href="../../../doc/NEAT/Evolver_html.html">Evolver.html</a>
  
    <li><a href="../../../doc/NEAT/Evolver/CritterOp_html.html">CritterOp.html</a>
  
    <li><a href="../../../doc/NEAT/Expressor_html.html">Expressor.html</a>
  
    <li><a href="../../../doc/NEAT/Graph_html.html">Graph.html</a>
  
    <li><a href="../../../doc/NEAT/Graph/DependencyResolver_html.html">DependencyResolver.html</a>
  
    <li><a href="../../../doc/NEAT/Graph/GraphException_html.html">GraphException.html</a>
  
    <li><a href="../../../doc/NEAT/NeatException_html.html">NeatException.html</a>
  
    <li><a href="../../../doc/NEAT/NeatOb_html.html">NeatOb.html</a>
  
    <li><a href="../../../doc/NEAT/Neuron_html.html">Neuron.html</a>
  
    <li><a href="../../../doc/NEAT/Operator_html.html">Operator.html</a>
  
    <li><a href="../../../doc/NEAT/Population_html.html">Population.html</a>
  
    <li><a href="../../../doc/NEAT/Trait_html.html">Trait.html</a>
  
    <li><a href="../../../doc/_index_html.html">_index.html</a>
  
    <li><a href="../../../doc/class_list_html.html">class_list.html</a>
  
    <li><a href="../../../doc/css/common_css.html">common.css</a>
  
    <li><a href="../../../doc/css/full_list_css.html">full_list.css</a>
  
    <li><a href="../../../doc/css/style_css.html">style.css</a>
  
    <li><a href="../../../doc/file_list_html.html">file_list.html</a>
  
    <li><a href="../../../doc/frames_html.html">frames.html</a>
  
    <li><a href="../../../doc/index_html.html">index.html</a>
  
    <li><a href="../../../doc/js/app_js.html">app.js</a>
  
    <li><a href="../../../doc/js/full_list_js.html">full_list.js</a>
  
    <li><a href="../../../doc/js/jquery_js.html">jquery.js</a>
  
    <li><a href="../../../doc/method_list_html.html">method_list.html</a>
  
    <li><a href="../../../doc/top-level-namespace_html.html">top-level-namespace.html</a>
  
    <li><a href="../../../foo_dump_log.html">foo.dump.log</a>
  
    <li><a href="../../../rubyneat_gemspec.html">rubyneat.gemspec</a>
  
    <li><a href="../../../xordebug_log.html">xordebug.log</a>
  
    <li><a href="../../../xorsin_log.html">xorsin.log</a>
  
  </ul>
</div>

  </div>
</nav>

<main role="main" aria-label="Page doc/NEAT/BasicNeuronTypes/InputNeuron.html">

<p>&lt;!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”</p>

<pre>&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</pre>

<p>&lt;html xmlns=“<a
href="http://www.w3.org/1999/xhtml">www.w3.org/1999/xhtml</a>”
xml:lang=“en” lang=“en”&gt;</p>

<pre>&lt;head&gt;
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;</pre>

<p>&lt;title&gt;</p>

<pre>Class: NEAT::BasicNeuronTypes::InputNeuron

  &amp;mdash; Documentation by YARD 0.8.7.3</pre>

<p>&lt;/title&gt;</p>

<pre>&lt;link rel=&quot;stylesheet&quot; href=&quot;../../css/style.css&quot; type=&quot;text/css&quot; charset=&quot;utf-8&quot; /&gt;

&lt;link rel=&quot;stylesheet&quot; href=&quot;../../css/common.css&quot; type=&quot;text/css&quot; charset=&quot;utf-8&quot; /&gt;</pre>

<p>&lt;script type=“text/javascript” charset=“utf-8”&gt;</p>

<pre>hasFrames = window.top.frames.main ? true : false;
relpath = &#39;../../&#39;;
framesUrl = &quot;../../frames.html#!&quot; + escape(window.location.href);</pre>

<p>&lt;/script&gt;</p>

<pre>&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; src=&quot;../../js/jquery.js&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot; src=&quot;../../js/app.js&quot;&gt;&lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
  &lt;div id=&quot;header&quot;&gt;
    &lt;div id=&quot;menu&quot;&gt;

  &lt;a href=&quot;../../_index.html&quot;&gt;Index (I)&lt;/a&gt; &amp;raquo;
  &lt;span class=&#39;title&#39;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../../NEAT.html&quot; title=&quot;NEAT (module)&quot;&gt;NEAT&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; &amp;raquo; &lt;span class=&#39;title&#39;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../BasicNeuronTypes.html&quot; title=&quot;NEAT::BasicNeuronTypes (module)&quot;&gt;BasicNeuronTypes&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
   &amp;raquo; 
  &lt;span class=&quot;title&quot;&gt;InputNeuron&lt;/span&gt;

&lt;div class=&quot;noframes&quot;&gt;&lt;span class=&quot;title&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;.&quot; target=&quot;_top&quot;&gt;no frames&lt;/a&gt;&lt;span class=&quot;title&quot;&gt;)&lt;/span&gt;&lt;/div&gt;</pre>

<p>&lt;/div&gt;</p>

<pre>  &lt;div id=&quot;search&quot;&gt;

&lt;a class=&quot;full_list_link&quot; id=&quot;class_list_link&quot;
    href=&quot;../../class_list.html&quot;&gt;
  Class List
&lt;/a&gt;

&lt;a class=&quot;full_list_link&quot; id=&quot;method_list_link&quot;
    href=&quot;../../method_list.html&quot;&gt;
  Method List
&lt;/a&gt;

&lt;a class=&quot;full_list_link&quot; id=&quot;file_list_link&quot;
    href=&quot;../../file_list.html&quot;&gt;
  File List
&lt;/a&gt;</pre>

<p>&lt;/div&gt;</p>

<pre>  &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;iframe id=&quot;search_frame&quot;&gt;&lt;/iframe&gt;

&lt;div id=&quot;content&quot;&gt;&lt;h1&gt;Class: NEAT::BasicNeuronTypes::InputNeuron</pre>

<p>&lt;/h1&gt;</p>

<p>&lt;dl class=“box”&gt;</p>

<pre>&lt;dt class=&quot;r1&quot;&gt;Inherits:&lt;/dt&gt;
&lt;dd class=&quot;r1&quot;&gt;
  &lt;span class=&quot;inheritName&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Neuron.html&quot; title=&quot;NEAT::Neuron (class)&quot;&gt;Neuron&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;

    &lt;ul class=&quot;fullTree&quot;&gt;
      &lt;li&gt;Object&lt;/li&gt;

        &lt;li class=&quot;next&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../NeatOb.html&quot; title=&quot;NEAT::NeatOb (class)&quot;&gt;NeatOb&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;

        &lt;li class=&quot;next&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Neuron.html&quot; title=&quot;NEAT::Neuron (class)&quot;&gt;Neuron&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;

        &lt;li class=&quot;next&quot;&gt;NEAT::BasicNeuronTypes::InputNeuron&lt;/li&gt;

    &lt;/ul&gt;
    &lt;a href=&quot;#&quot; class=&quot;inheritanceTree&quot;&gt;show all&lt;/a&gt;

  &lt;/dd&gt;

&lt;dt class=&quot;r2 last&quot;&gt;Defined in:&lt;/dt&gt;
&lt;dd class=&quot;r2 last&quot;&gt;lib/rubyneat/neuron.rb&lt;/dd&gt;</pre>

<p>&lt;/dl&gt; &lt;div class=“clear”&gt;&lt;/div&gt;</p>

<p>&lt;h2&gt;Overview&lt;/h2&gt;&lt;div class=“docstring”&gt;</p>

<pre>&lt;div class=&quot;discussion&quot;&gt;</pre>

<p>&lt;h1
id=“label-Special+class+of+Neuron+that+takes+input+from+the+%22real+world%22”&gt;Special
class of Neuron that takes input from the “real world”&lt;/h1&gt;</p>

<p>&lt;p&gt;Name of this neuron equates to the parameter name of the
input.&lt;/p&gt;</p>

<p>&lt;p&gt;All inputs are handled with this neuron. This type of  neuron only
has one input – from the outside world.&lt;/p&gt;</p>

<pre>&lt;/div&gt;</pre>

<p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>

<p>&lt;/div&gt;&lt;div id=“subclasses”&gt;</p>

<pre>&lt;h2&gt;Direct Known Subclasses&lt;/h2&gt;
&lt;p class=&quot;children&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;BiasNeuron.html&quot; title=&quot;NEAT::BasicNeuronTypes::BiasNeuron (class)&quot;&gt;BiasNeuron&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</pre>

<p>&lt;/div&gt;</p>

<pre class="ruby"><span class="ruby-operator">&lt;</span><span class="ruby-identifier">h2</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">Instance</span> <span class="ruby-constant">Attribute</span> <span class="ruby-constant">Summary</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h2&gt;

&lt;h3 class=&quot;inherited&quot;&gt;Attributes inherited from &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../</span><span class="ruby-constant">Neuron</span>.<span class="ruby-identifier">html</span><span class="ruby-string">&quot; title=&quot;</span><span class="ruby-constant">NEAT</span><span class="ruby-operator">::</span><span class="ruby-constant">Neuron</span> (<span class="ruby-identifier">class</span>)<span class="ruby-string">&quot;&gt;Neuron&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p class=&quot;</span><span class="ruby-identifier">inherited</span><span class="ruby-string">&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;</span><span class="ruby-operator">..</span><span class="ruby-node">/Neuron.html#genotype-instance_method&quot; title=&quot;NEAT::Neuron#genotype (method)&quot;&gt;#genotype&lt;/</span><span class="ruby-identifier">a</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../</span><span class="ruby-constant">Neuron</span>.<span class="ruby-identifier">html</span><span class="ruby-comment">#heirarchy_number-instance_method&quot; title=&quot;NEAT::Neuron#heirarchy_number (method)&quot;&gt;#heirarchy_number&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Neuron.html#output-instance_method&quot; title=&quot;NEAT::Neuron#output (method)&quot;&gt;#output&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Neuron.html#trait-instance_method&quot; title=&quot;NEAT::Neuron#trait (method)&quot;&gt;#trait&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</span>

<span class="ruby-operator">&lt;</span><span class="ruby-identifier">h3</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;inherited&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">Attributes</span> <span class="ruby-identifier">inherited</span> <span class="ruby-identifier">from</span> <span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&#39;object_link&#39;</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">a</span> <span class="ruby-identifier">href</span>=<span class="ruby-string">&quot;../NeatOb.html&quot;</span> <span class="ruby-identifier">title</span>=<span class="ruby-string">&quot;NEAT::NeatOb (class)&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">NeatOb</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/a&gt;&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h3&gt;
&lt;p class=&quot;inherited&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../</span><span class="ruby-constant">NeatOb</span>.<span class="ruby-identifier">html</span><span class="ruby-comment">#controller-instance_method&quot; title=&quot;NEAT::NeatOb#controller (method)&quot;&gt;#controller&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../NeatOb.html#name-instance_method&quot; title=&quot;NEAT::NeatOb#name (method)&quot;&gt;#name&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</span>

  <span class="ruby-operator">&lt;</span><span class="ruby-identifier">h2</span><span class="ruby-operator">&gt;</span>
    <span class="ruby-constant">Class</span> <span class="ruby-constant">Method</span> <span class="ruby-constant">Summary</span>
    <span class="ruby-operator">&lt;</span><span class="ruby-identifier">small</span><span class="ruby-operator">&gt;</span>(<span class="ruby-operator">&lt;</span><span class="ruby-identifier">a</span> <span class="ruby-identifier">href</span>=<span class="ruby-node">&quot;#&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;summary_toggle&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-identifier">collapse</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/a&gt;)&lt;/sm</span><span class="ruby-identifier">all</span><span class="ruby-operator">&gt;</span>
  <span class="ruby-operator">&lt;</span><span class="ruby-node">/h2&gt;

  &lt;ul class=&quot;summary&quot;&gt;

      &lt;li class=&quot;public &quot;&gt;
&lt;span class=&quot;summary_signature&quot;&gt;

    &lt;a href=&quot;#input%3F-class_method&quot; title=&quot;input? (class method)&quot;&gt;+ (Boolean) &lt;strong&gt;input?&lt;/s</span><span class="ruby-identifier">trong</span><span class="ruby-operator">&gt;</span> <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/a&gt;

&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>

  <span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;summary_desc&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&#39;inline&#39;</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/div&gt;&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span>
</pre>

<p>&lt;/li&gt;</p>

<pre>  &lt;/ul&gt;

  &lt;h2&gt;
    Instance Method Summary
    &lt;small&gt;(&lt;a href=&quot;#&quot; class=&quot;summary_toggle&quot;&gt;collapse&lt;/a&gt;)&lt;/small&gt;
  &lt;/h2&gt;

  &lt;ul class=&quot;summary&quot;&gt;

      &lt;li class=&quot;public &quot;&gt;
&lt;span class=&quot;summary_signature&quot;&gt;

    &lt;a href=&quot;#express-instance_method&quot; title=&quot;#express (instance method)&quot;&gt;- (Object) &lt;strong&gt;express&lt;/strong&gt;(instance) &lt;/a&gt;

&lt;/span&gt;

  &lt;span class=&quot;summary_desc&quot;&gt;&lt;div class=&#39;inline&#39;&gt;</pre>

<p>&lt;p&gt;Takes a single input and passes it as is.&lt;/p&gt;
&lt;/div&gt;&lt;/span&gt;</p>

<p>&lt;/li&gt;</p>

<pre class="ruby">  <span class="ruby-operator">&lt;</span><span class="ruby-regexp">/ul&gt;

&lt;h3 class=&quot;inherited&quot;&gt;Methods inherited from &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../</span><span class="ruby-constant">Neuron</span>.<span class="ruby-identifier">html</span><span class="ruby-string">&quot; title=&quot;</span><span class="ruby-constant">NEAT</span><span class="ruby-operator">::</span><span class="ruby-constant">Neuron</span> (<span class="ruby-identifier">class</span>)<span class="ruby-string">&quot;&gt;Neuron&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p class=&quot;</span><span class="ruby-identifier">inherited</span><span class="ruby-string">&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;</span><span class="ruby-operator">..</span><span class="ruby-node">/Neuron.html#bias%3F-instance_method&quot; title=&quot;NEAT::Neuron#bias? (method)&quot;&gt;#bias?&lt;/</span><span class="ruby-identifier">a</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../</span><span class="ruby-constant">Neuron</span>.<span class="ruby-identifier">html</span><span class="ruby-comment">#bias%3F-class_method&quot; title=&quot;NEAT::Neuron.bias? (method)&quot;&gt;bias?&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Neuron.html#inherited-class_method&quot; title=&quot;NEAT::Neuron.inherited (method)&quot;&gt;inherited&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Neuron.html#input%3F-instance_method&quot; title=&quot;NEAT::Neuron#input? (method)&quot;&gt;#input?&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Neuron.html#neuron_types-class_method&quot; title=&quot;NEAT::Neuron.neuron_types (method)&quot;&gt;neuron_types&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Neuron.html#output%3F-instance_method&quot; title=&quot;NEAT::Neuron#output? (method)&quot;&gt;#output?&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</span>

<span class="ruby-operator">&lt;</span><span class="ruby-identifier">h3</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;inherited&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">Methods</span> <span class="ruby-identifier">included</span> <span class="ruby-identifier">from</span> <span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&#39;object_link&#39;</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">a</span> <span class="ruby-identifier">href</span>=<span class="ruby-string">&quot;../Graph.html&quot;</span> <span class="ruby-identifier">title</span>=<span class="ruby-string">&quot;NEAT::Graph (module)&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">Graph</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/a&gt;&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h3&gt;
&lt;p class=&quot;inherited&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../</span><span class="ruby-constant">Graph</span>.<span class="ruby-identifier">html</span><span class="ruby-comment">#%3C%3C-instance_method&quot; title=&quot;NEAT::Graph#&amp;lt;&amp;lt; (method)&quot;&gt;#&lt;&lt;&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Graph.html#add-instance_method&quot; title=&quot;NEAT::Graph#add (method)&quot;&gt;#add&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Graph.html#clear_graph-instance_method&quot; title=&quot;NEAT::Graph#clear_graph (method)&quot;&gt;#clear_graph&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../Graph.html#inputs-instance_method&quot; title=&quot;NEAT::Graph#inputs (method)&quot;&gt;#inputs&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</span>

<span class="ruby-operator">&lt;</span><span class="ruby-identifier">h3</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;inherited&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">Methods</span> <span class="ruby-identifier">inherited</span> <span class="ruby-identifier">from</span> <span class="ruby-operator">&lt;</span><span class="ruby-identifier">span</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&#39;object_link&#39;</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-identifier">a</span> <span class="ruby-identifier">href</span>=<span class="ruby-string">&quot;../NeatOb.html&quot;</span> <span class="ruby-identifier">title</span>=<span class="ruby-string">&quot;NEAT::NeatOb (class)&quot;</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">NeatOb</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/a&gt;&lt;/s</span><span class="ruby-identifier">pan</span><span class="ruby-operator">&gt;</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h3&gt;
&lt;p class=&quot;inherited&quot;&gt;&lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../</span><span class="ruby-constant">NeatOb</span>.<span class="ruby-identifier">html</span><span class="ruby-comment">#initialize-instance_method&quot; title=&quot;NEAT::NeatOb#initialize (method)&quot;&gt;#initialize&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../NeatOb.html#log-instance_method&quot; title=&quot;NEAT::NeatOb#log (method)&quot;&gt;#log&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../NeatOb.html#log-class_method&quot; title=&quot;NEAT::NeatOb.log (method)&quot;&gt;log&lt;/a&gt;&lt;/span&gt;, &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../NeatOb.html#to_s-instance_method&quot; title=&quot;NEAT::NeatOb#to_s (method)&quot;&gt;#to_s&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</span>

<span class="ruby-operator">&lt;</span><span class="ruby-identifier">div</span> <span class="ruby-identifier">id</span>=<span class="ruby-string">&quot;constructor_details&quot;</span> <span class="ruby-identifier">class</span>=<span class="ruby-string">&quot;method_details_list&quot;</span><span class="ruby-operator">&gt;</span>
<span class="ruby-operator">&lt;</span><span class="ruby-identifier">h2</span><span class="ruby-operator">&gt;</span><span class="ruby-constant">Constructor</span> <span class="ruby-constant">Details</span><span class="ruby-operator">&lt;</span><span class="ruby-regexp">/h2&gt;

  &lt;p class=&quot;notice&quot;&gt;This class inherits a constructor from &lt;span class=&#39;object_link&#39;&gt;&lt;a href=&quot;../</span><span class="ruby-constant">NeatOb</span>.<span class="ruby-identifier">html</span><span class="ruby-comment">#initialize-instance_method&quot; title=&quot;NEAT::NeatOb#initialize (method)&quot;&gt;NEAT::NeatOb&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</span>
</pre>

<p>&lt;/div&gt;</p>

<pre>&lt;div id=&quot;class_method_details&quot; class=&quot;method_details_list&quot;&gt;
  &lt;h2&gt;Class Method Details&lt;/h2&gt;

    &lt;div class=&quot;method_details first&quot;&gt;
&lt;h3 class=&quot;signature first&quot; id=&quot;input?-class_method&quot;&gt;

  + (&lt;tt&gt;Boolean&lt;/tt&gt;) &lt;strong&gt;input?&lt;/strong&gt;</pre>

<p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>

<pre>&lt;div class=&quot;discussion&quot;&gt;

&lt;/div&gt;</pre>

<p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>

<p>&lt;p class=“tag_title”&gt;Returns:&lt;/p&gt; &lt;ul class=“return”&gt;</p>

<pre>&lt;li&gt;

    &lt;span class=&#39;type&#39;&gt;(&lt;tt&gt;Boolean&lt;/tt&gt;)&lt;/span&gt;

&lt;/li&gt;</pre>

<p>&lt;/ul&gt;</p>

<p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>

<pre>&lt;tr&gt;
  &lt;td&gt;
    &lt;pre class=&quot;lines&quot;&gt;</pre>

<p>76&lt;/pre&gt;</p>

<pre>&lt;/td&gt;
&lt;td&gt;
  &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/neuron.rb&#39;, line 76&lt;/span&gt;</pre>

<p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span
class=&#39;kw&#39;&gt;self&lt;/span&gt;&lt;span
class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier
rubyid_input?&#39;&gt;input?&lt;/span&gt; &lt;span
class=&#39;semicolon&#39;&gt;;&lt;/span&gt; &lt;span
class=&#39;kw&#39;&gt;true&lt;/span&gt; &lt;span
class=&#39;semicolon&#39;&gt;;&lt;/span&gt; &lt;span
class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>

<pre>  &lt;/td&gt;
&lt;/tr&gt;</pre>

<p>&lt;/table&gt; &lt;/div&gt;</p>

<pre>&lt;/div&gt;

&lt;div id=&quot;instance_method_details&quot; class=&quot;method_details_list&quot;&gt;
  &lt;h2&gt;Instance Method Details&lt;/h2&gt;

    &lt;div class=&quot;method_details first&quot;&gt;
&lt;h3 class=&quot;signature first&quot; id=&quot;express-instance_method&quot;&gt;

  - (&lt;tt&gt;Object&lt;/tt&gt;) &lt;strong&gt;express&lt;/strong&gt;(instance)</pre>

<p>&lt;/h3&gt;&lt;div class=“docstring”&gt;</p>

<pre>&lt;div class=&quot;discussion&quot;&gt;</pre>

<p>&lt;p&gt;Takes a single input and passes it as is.&lt;/p&gt;</p>

<pre>&lt;/div&gt;</pre>

<p>&lt;/div&gt; &lt;div class=“tags”&gt;</p>

<p>&lt;/div&gt;&lt;table class=“source_code”&gt;</p>

<pre>&lt;tr&gt;
  &lt;td&gt;
    &lt;pre class=&quot;lines&quot;&gt;</pre>

<p>79 80 81 82 83&lt;/pre&gt;</p>

<pre>&lt;/td&gt;
&lt;td&gt;
  &lt;pre class=&quot;code&quot;&gt;&lt;span class=&quot;info file&quot;&gt;# File &#39;lib/rubyneat/neuron.rb&#39;, line 79&lt;/span&gt;</pre>

<p>&lt;span class=&#39;kw&#39;&gt;def&lt;/span&gt; &lt;span class=&#39;id
identifier rubyid_express&#39;&gt;express&lt;/span&gt;&lt;span
class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;id identifier
rubyid_instance&#39;&gt;instance&lt;/span&gt;&lt;span
class=&#39;rparen&#39;&gt;)&lt;/span&gt;</p>

<pre>&lt;span class=&#39;id identifier rubyid_instance&#39;&gt;instance&lt;/span&gt;&lt;span class=&#39;period&#39;&gt;.&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_define_singleton_method&#39;&gt;define_singleton_method&lt;/span&gt;&lt;span class=&#39;lparen&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;ivar&#39;&gt;@name&lt;/span&gt;&lt;span class=&#39;rparen&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;lbrace&#39;&gt;{&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;|&lt;/span&gt;&lt;span class=&#39;id identifier rubyid_input&#39;&gt;input&lt;/span&gt;&lt;span class=&#39;op&#39;&gt;|&lt;/span&gt;
  &lt;span class=&#39;id identifier rubyid_input&#39;&gt;input&lt;/span&gt;
&lt;span class=&#39;rbrace&#39;&gt;}&lt;/span&gt;</pre>

<p>&lt;span class=&#39;kw&#39;&gt;end&lt;/span&gt;&lt;/pre&gt;</p>

<pre>  &lt;/td&gt;
&lt;/tr&gt;</pre>

<p>&lt;/table&gt; &lt;/div&gt;</p>

<pre>&lt;/div&gt;</pre>

<p>&lt;/div&gt;</p>

<pre>  &lt;div id=&quot;footer&quot;&gt;
Generated on Sun Mar 16 16:36:51 2014 by
&lt;a href=&quot;http://yardoc.org&quot; title=&quot;Yay! A Ruby Documentation Tool&quot; target=&quot;_parent&quot;&gt;yard&lt;/a&gt;
0.8.7.3 (ruby-2.1.1).</pre>

<p>&lt;/div&gt;</p>

<pre>&lt;/body&gt;</pre>

<p>&lt;/html&gt;</p>
</main>



<footer id="validator-badges" role="contentinfo">
  <p><a href="http://validator.w3.org/check/referer">Validate</a>
  <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
  <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>