[galib] Bug in example 11

Paul Smith phhs80 at gmail.com
Sat May 26 10:02:41 EDT 2012


Dear All,

I am studying example 11 of GALib, which works fine as it is. However,
when I replace the line

GASteadyStateGA ga(genome);

with

GADemeGA ga(genome);
ga.nPopulations(4);

the program crashes (with the crash point in the objective function).

Do you confirm this as a bug? Is there some workaround?

Thanks in advance,

Paul


More information about the galib mailing list