Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

geno_ftest_example

Author:
Maciej Komosinski
This is a very simple class to illustrate basic genetic operations. To compile this code, you may need some GDK files. For a more sophisticated example of Geno_f4 derived from Geno_fx, refer to the available source on developmental encoding and f4 genotype format.

GTTCCGATC   [mutated 11.1%]
GATCCGATC   [mutated 33.3%]
GATCCGAAC   [mutated 11.1%]
GATCCGAAC   [mutated 0.0%]
GATCCGAAC   [mutated 0.0%]
GATCCGAAC   [mutated 0.0%]
GATCCGAAC   [mutated 22.2%]
GATGCGAAC   [mutated 11.1%]
GATGCGAAC   [mutated 0.0%]
GATGCGAAC   [mutated 11.1%]

Crossing over the last mutant, 
        GATGCGAAC
and the simplest genotype
        GTTCAGATC
:
Offspring 1:
        GATGCGAATTCAGATC  (50.0% genes from parent1)
Offspring 2:
        GC  (50.0% genes from parent2)

Checking genotype:
        ATGsomethingCG... error at position 4.
After validation:
        ATGCG
...and is YOUR genotype O.K.?


Generated on Tue Jul 30 23:53:52 2002 for Framsticks GenoFX by doxygen1.2.17