[mlpack-git] [mlpack/mlpack] CNE algorithm (#753)

Excalibur notifications at github.com
Sun Aug 7 17:23:18 EDT 2016


> +    aNumOutput(numOutput),
> +    aFitness(fitness)
> +  {}
> +
> +  // Copy constructor.
> +  Genome(const Genome& genome) {
> +    aId = genome.aId;
> +    aNeuronGenes = genome.aNeuronGenes;
> +    aLinkGenes = genome.aLinkGenes;
> +    aNumInput = genome.aNumInput;
> +    aNumOutput = genome.aNumOutput;
> +    aFitness = genome.aFitness;
> +  }
> +
> +  // Destructor.
> +  ~Genome() {}

Yeah, just a habit for potential usage.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/753/files/10b99ab5c6e8d2836d231fa60a898cc03f7d9192#r73809317
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160807/be47aa20/attachment.html>


More information about the mlpack-git mailing list