step function of SState

Sanne Houweling sanne at
Tue Jul 9 07:13:17 EDT 2002

Dear all,

I am confused about the step() function of the SStateGA, in
particular the selection.

The comment says: "If a genome in the tmp population is worse
than one in the main population, the genome in the main
population will be replaced regardless of its better score."

But what happens is adding the members of tmp_pop
(containing offspring) to main_pop (containing preceeding
pop), evaluating this union and then removing the worst
tmp_pop_size individuals.

Regards, Sanne.

** Sanne Houweling  -  (+31)207705488   -   sanne at **
** Faculty of Exact Sciences - Vrije Universiteit Amsterdam**

More information about the galib mailing list