<p>In <a href="https://github.com/mlpack/mlpack/pull/686#discussion_r66709989">src/mlpack/methods/ne/tasks.hpp</a>:</p>
<pre style='color:#555'>> +#include <mlpack/core.hpp>
> +#include <mlpack/methods/ann/performance_functions/cee_function.hpp>
> +
> +#include "link_gene.hpp"
> +#include "neuron_gene.hpp"
> +#include "genome.hpp"
> +
> +namespace mlpack {
> +namespace ne {
> +
> +/**
> + * This class defines task xor.
> + */
> +template<typename FitnissFunction = MeanSquaredErrorFunction>
> +class TaskXor {
> + public:
</pre>
<p>I really like the idea of the task class, I think that makes really easy to write problems that can be solved by the ne methods.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<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/65f093daf32f6cb353cd6b9304bab88a5e096fdc#r66709989">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFAd_8M_EcrPevbUj3md94aNwMlUqks5qKwFZgaJpZM4IwJa6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFBc0lJj9ASbkhSVmNp__8hU9_A8Gks5qKwFZgaJpZM4IwJa6.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/65f093daf32f6cb353cd6b9304bab88a5e096fdc#r66709989"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>