[mlpack-git] [mlpack/mlpack] CNE algorithm (#753)
Marcus Edel
notifications at github.com
Sun Aug 7 09:34:08 EDT 2016
> + // Links.
> + std::vector<LinkGene> aLinkGenes;
> +
> + // Default constructor.
> + Genome() {
> + aId = -1;
> + aNumInput = 0;
> + aNumOutput = 0;
> + aFitness = DBL_MAX;
> + }
> +
> + // Parametric constructor.
> + Genome(int id,
> + const std::vector<NeuronGene>& neuronGenes,
> + const std::vector<LinkGene>& linkGenes,
> + int numInput,
It might be useful to use ``const`` for ``numInput, numOutput, fitness``.
---
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#r73802005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160807/0ed66cc9/attachment-0001.html>
More information about the mlpack-git
mailing list