An implementation of the representation-dependent gene level operations of grammar-based genetic programming with genes which are derivation trees of a context-free grammar: Initialization of a gene with a complete random derivation tree, decoding of a derivation tree. Crossover is implemented by exchanging subtrees. Depth-bounds for the minimal and the maximal depth of the roots of the subtrees exchanged by crossover can be set. Mutation is implemented by replacing a subtree by a random subtree. The depth of the random subtree and the insertion node are configurable. For details, see Geyer-Schulz (1997, ISBN:978-3-7908-0830-X).
Package details |
|
---|---|
Author | Andreas Geyer-Schulz [aut, cre] (<https://orcid.org/0009-0000-5237-3579>) |
Maintainer | Andreas Geyer-Schulz <Andreas.Geyer-Schulz@kit.edu> |
License | MIT + file LICENSE |
Version | 1.0.0.2 |
URL | https://github.com/ageyerschulz/xegaGpGene |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.