Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Gene expression programming
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Expression trees: the phenotype== As shown [[gene expression programming#Encoding: the genotype|above]], the genes of gene expression programming have all the same size. However, these fixed length strings code for [[expression tree]]s of different sizes. This means that the size of the coding regions varies from gene to gene, allowing for adaptation and evolution to occur smoothly. For example, the mathematical expression: :<math>\sqrt{(a-b)(c+d)} \, </math> can also be represented as an [[expression tree]]: {| align="center" border="0" cellpadding="4" cellspacing="0" | [[File:GEP expression tree, k-expression Q*-+abcd.png]] |} where "Qβ represents the square root function. This kind of expression tree consists of the phenotypic expression of GEP genes, whereas the genes are linear strings encoding these complex structures. For this particular example, the linear string corresponds to: :<code><nowiki>01234567</nowiki></code> : :<code><nowiki>Q*-+abcd</nowiki></code> which is the straightforward reading of the expression tree from top to bottom and from left to right. These linear strings are called k-expressions (from [[Karva notation]]). Going from k-expressions to expression trees is also very simple. For example, the following k-expression: :<code><nowiki>01234567890</nowiki></code> : :<code><nowiki>Q*b**+baQba</nowiki></code> is composed of two different terminals (the variables βaβ and βbβ), two different functions of two arguments (β*β and β+β), and a function of one argument (βQβ). Its expression gives: {| align="center" border="0" cellpadding="4" cellspacing="0" | [[File:GEP expression tree, k-expression Q*b**+baQba.png]] |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)