[galib] Change mutation function

Mark Hodgson mh702 at ecs.soton.ac.uk
Mon Feb 21 12:11:43 EST 2005


Hi all,

I'm having problems changing the mutation function during an evolution.
GAGenome provides methods to change crossover and objective functions, 
both of which are working fine. However it does not have a method to 
change the mutation function so I am trying to use the

mutator(GAGenome::Mutator)

function of GAGenome to change it. This is not working; the previous 
mutation function continues to be used.

Am I missing something obvious? Is there a way to change the mutation 
function mid evolution?

Thanks,

Mark Hodgson




More information about the galib mailing list