<p>In <a href="https://github.com/mlpack/mlpack/pull/686#discussion_r68511951">src/mlpack/methods/ne/neat.hpp</a>:</p>
<pre style='color:#555'>&gt; +      }
&gt; +    }
&gt; +  }
&gt; +
&gt; +  void Crossover(Genome&amp; genome1, Genome&amp; genome2, Genome&amp; childGenome) {
&gt; +    if (Species::CompareGenome(genome1, genome2)) {  // genome1 is better
&gt; +      CrossoverLinkAndNeuron(genome1, genome2, childGenome);
&gt; +    } else {
&gt; +      CrossoverLinkAndNeuron(genome2, genome1, childGenome);
&gt; +    }
&gt; +  }
&gt; +
&gt; +  // Measure two genomes&#39; disjoint (including exceed).
&gt; +  // TODO: we can seperate into disjoint and exceed.
&gt; +  // But currently maybe it is enough.
&gt; +  double Disjoint(Genome&amp; genome1, Genome&amp; genome2) {
</pre>
<p>I agree, it should work for now.</p>

<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/a605eef0e349b0a08cc1a289c6857240c6ae5e23#r68511951">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFEL4ngeebMs_-tuEh3IeSSi-By2Qks5qPwbugaJpZM4IwJa6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFN4jEIqBPNt2SgY-sR_4Zvj-qmXVks5qPwbugaJpZM4IwJa6.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/a605eef0e349b0a08cc1a289c6857240c6ae5e23#r68511951"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>