Hooking up a Custom Population Initializer

Martin MacRobert martin at mediavillage.org.au
Tue Oct 3 09:38:08 EDT 2000

I'm trying to hook up a custom population initializer that sets the
values of a population linearly spaced in the mapping region. It is
declared within a class thus:
static void LinearInitializer(GAPopulation &pop);

How do I hook it up to the Algorithm? I can aquire a reference to a
const population object, but I cannot modify the initializer there.

More information about the galib mailing list