[galib] TerminateUponConvergence problem
Eyal
eyaler at yahoo.com
Sat Jun 28 07:57:48 EDT 2008
yes, this is in fact the case
you can add something like:
if (ga.population().best().score()==0.0f&&ga.generation()>=ga.nConvergence()) break;
in your code to circumvent the bug
--- On Fri, 6/27/08, Fábio Roberto Teodoro <fr.teodoro at gmail.com> wrote:
> From: Fábio Roberto Teodoro <fr.teodoro at gmail.com>
> Subject: [galib] TerminateUponConvergence problem
> To: galib at mit.edu
> Date: Friday, June 27, 2008, 8:15 AM
> When the AG converges to a score of 0 the terminator
> TerminateUponConvergence
> never returns gaTrue. Is this a bug in GAlib?
>
> Thanks for any help
> _______________________________________________
> galib mailing list
> galib at mit.edu
> http://mailman.mit.edu/mailman/listinfo/galib
More information about the galib
mailing list