<p>In <a href="https://github.com/mlpack/mlpack/pull/686#discussion_r71069153">src/mlpack/tests/ne_test.cpp</a>:</p>
<pre style='color:#555'>&gt; +  std::vector&lt;NeuronGene&gt; neuronGenes;
&gt; +  std::vector&lt;LinkGene&gt; linkGenes;
&gt; +
&gt; +  NeuronGene inputGene1(0, INPUT, LINEAR, 0, 0, 0);
&gt; +  NeuronGene inputGene2(1, INPUT, LINEAR, 0, 0, 0);
&gt; +  NeuronGene biasGene(2, BIAS, LINEAR, 0, 0, 0);
&gt; +  NeuronGene outputGene(3, OUTPUT, SIGMOID, 1, 0, 0);
&gt; +  NeuronGene hiddenGene(4, HIDDEN, SIGMOID, 0.5, 0, 0);
&gt; +
&gt; +  neuronGenes.push_back(inputGene1);
&gt; +  neuronGenes.push_back(inputGene2);
&gt; +  neuronGenes.push_back(biasGene);
&gt; +  neuronGenes.push_back(outputGene);
&gt; +  neuronGenes.push_back(hiddenGene);
&gt; +
&gt; +  LinkGene link1(0, 3, 0, 1, true);
</pre>
<div class="email-fragment">Oh yeah! Right, revised it!

2016-07-16 11:15 GMT-06:00 Marcus Edel &lt;notifications@github.com&gt;:</div>
<span class="email-hidden-toggle"><a href="#">…</a></span><div class="email-hidden-reply" style="display:none">
<div class="email-quoted-reply"> In src/mlpack/tests/ne_test.cpp
 &lt;<a href="https://github.com/mlpack/mlpack/pull/686#discussion_r71069041" class="issue-link js-issue-link" data-url="https://github.com/mlpack/mlpack/issues/686" data-id="158975273" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#686 (comment)</a>&gt;:

 &gt; +  std::vector&lt;NeuronGene&gt; neuronGenes;
 &gt; +  std::vector&lt;LinkGene&gt; linkGenes;
 &gt; +
 &gt; +  NeuronGene inputGene1(0, INPUT, LINEAR, 0, 0, 0);
 &gt; +  NeuronGene inputGene2(1, INPUT, LINEAR, 0, 0, 0);
 &gt; +  NeuronGene biasGene(2, BIAS, LINEAR, 0, 0, 0);
 &gt; +  NeuronGene outputGene(3, OUTPUT, SIGMOID, 1, 0, 0);
 &gt; +  NeuronGene hiddenGene(4, HIDDEN, SIGMOID, 0.5, 0, 0);
 &gt; +
 &gt; +  neuronGenes.push_back(inputGene1);
 &gt; +  neuronGenes.push_back(inputGene2);
 &gt; +  neuronGenes.push_back(biasGene);
 &gt; +  neuronGenes.push_back(outputGene);
 &gt; +  neuronGenes.push_back(hiddenGene);
 &gt; +
 &gt; +  LinkGene link1(0, 3, 0, 1, true);

 Maybe I missed something but I think each link should have a different
 innovation number.

 —
 You are receiving this because you commented.
 Reply to this email directly, view it on GitHub
 &lt;<a href="https://github.com/mlpack/mlpack/pull/686/files/fc982b9406838eb9697000481e816165702e8ba9#r71069041">https://github.com/mlpack/mlpack/pull/686/files/fc982b9406838eb9697000481e816165702e8ba9#r71069041</a>&gt;,
 or mute the thread
 &lt;<a href="https://github.com/notifications/unsubscribe-auth/AD9tIX9w--WKopYPE34NivvWMlbI_phgks5qWRGlgaJpZM4IwJa6">https://github.com/notifications/unsubscribe-auth/AD9tIX9w--WKopYPE34NivvWMlbI_phgks5qWRGlgaJpZM4IwJa6</a>&gt;
 .
</div>
<div class="email-fragment"></div>
</div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/686/files/fc982b9406838eb9697000481e816165702e8ba9#r71069153">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFH_wEWQncOlWxVVPrSkDFkmFluu9ks5qWRLjgaJpZM4IwJa6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFHnsBefj9CQmyJs-PVdizmEXOW1Gks5qWRLjgaJpZM4IwJa6.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/686/files/fc982b9406838eb9697000481e816165702e8ba9#r71069153"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>