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

Marcus Edel notifications at github.com
Sun Aug 7 10:18:39 EDT 2016


> +template<typename TaskType>
> +class CNE {
> + public:
> +  // Parametric constructor.
> +  CNE(TaskType task, Genome& seedGenome, Parameters& params) {
> +    aTask = task;
> +    aSeedGenome = seedGenome;
> +    aSpeciesSize = params.aSpeciesSize;
> +    aMaxGeneration = params.aMaxGeneration;
> +    aMutateRate = params.aMutateRate;
> +    aMutateSize = params.aMutateSize;
> +    aElitePercentage = params.aElitePercentage;
> +  }
> +
> +  // Destructor.
> +  ~CNE() {}

I think there is no need to implement a default destructor.

---
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#r73802727
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160807/9318b039/attachment.html>


More information about the mlpack-git mailing list