Definitely a bug, which was introduced in when simulated binary crossover was added. I believe the corrected code should be:
else if (crossoverType==C_SIMULATED_BINARY)
else crossoverProbability = 0.0f;
I've done recommit on SVN.
On Oct 17, 2012, at 10:23 AM, Peter Lanze wrote:
> Hi there,
> using the crossover-type 'any', the crossoverProbability is always 0.0 !
> Looking into the setup from VectorSpecies, I find the code:
> if (crossoverType==C_SIMULATED_BINARY)
> else crossoverProbability = 0.0f;
> That's a feature? Or a bug?