Gene Expression Programming
Gene Expression Programming
Gene Expression Programming
0123456789
Q*+-abcdef
Head and Tail Regions
t = h (n-1) + 1
t = tail length
h = head length
n = maximum number of arguments to a function
012345678901234567890
+Q-/b*aaQbaabaabbaaab
Multigenic Chromosomes
Hierarchical discovery technique
012345678012345678
Q*Q+bbaaa*-babaabb
Multigenic Chromosomes
012345678901201234567890120123456789012
IIAIca3aa2acuNNAOab2u3c31cAu12ua3112cac
13 = h + t
t = h (n-1) + 1
h = 4, t = 9
Replication
012345678012345678012345678
Q+-+abaaa/bbQababb*b*+aaaba
012345678901234567890012345678901234567890
*-+*a-bba+babbaabababQ**+abQbb*aabbaaaabba
012345678901234567890012345678901234567890
-ba*+-+-Q/abababbbaaa+bbQ*b/+bbaaaaaaaabbb
012345678012345678012345678
*a-*abbab-QQ/aaabbQ+abababb
012345678012345678012345678
-QQ/aaabb*a-*abbabQ+abababb
012345678012345678
-b+/ababb-ba-abaaa
/-aQbbabb/aQbbbaab
0123456789001234567890
+*a*bbccbcc++*Q*acabab
*cbb+ccccac*ba*bacbaab
012345678012345678012345678
/aa-abaaaQ+aQbabaa/Q*+aaaab
/-*/abbab/a*bbaaab-Q/Qbaaba
Block Stacking (SpellBot) Example
EQ=E TOS=t
DO=D TCB=c
MTT=T NBN=n
MTS=S
NOT=N
012345601234560123456
DTNttttDSNnnnncNStcnc
Advantages of GEP over GA and GP
GAs have less complexity in what they can express.
Similar to:
Structured Programming
Functions
Object Oriented
Design Patterns
You Can Have Extra Genes
Best Fitness vrs. Average Fitness
References
Gene Expression Programming: A New Adaptive Algorithm for Solving Problems
by Candida Ferreira
http://www.gene-expression-programming.com/webpapers/gep.pdf
GeneXproTools
http://www.gepsoft.com