http://www.perlmonks.org?node_id=82533


in reply to Re: JAPH-ing Genetically
in thread JAPH-ing Genetically

andye is right. Fitness function f must be continuus, so that for two similar individuals x1 and x2, f(x1) is similar to f(x2).

So, small causes (small random mutations) imply small changes (small variations of fitness).

If you want to apply the ideas of GA to evolve programs, you should explore the so-called field of Genetic Programming; a classic reference are Holland's books