Geno_fx 

Geno_fx is a base class for genetic operations on genotypes of some genetic format. GDK supports conversion to f0 format, and Geno_fx supports genetic manipulation on genotypes.

When designing your genetic representation, inherit your class (for example Geno_fMy) from Geno_fx. Define some methods, like mutate and check in your class, to allow for evolution. All the methods you might define are:

  • check
  • validate
  • mutate
  • crossOver
  • getSimplest
  • style

To compile your code, you may need some GDK files. For a realistic example of Geno_f4 derived from Geno_fx, refer to the available source on developmental encoding and f4 genotype format. A simple Geno_ftest example is included in Geno_fx source.

 
 
 
On the forum: