Genetic Operations for Grammar-Based Genetic Programming
Overview
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).
- All crossover and all mutation functions: Missing evalFail element in gene list added. (Bug fix for genetic operator pipeline compilation).
From NEWS in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 15includes a package overview page
- Examples that run
- 100%13 run in a plain check
- Exported functions with examples
- 93%
- Documented parameters
- 100%
- Return-value docs
- 93%
- Help pages citing references
- 7%
Downloads
Repository
Checks run against github.com/ageyerschulz/xegagpgene on 2026-10-11.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing xegaGpGene adds 3 packages (0 with compiled code, 103 KB of source tarballs). Heaviest: xegaSelectGene 54 KB, xegaDerivationTrees 25 KB, xegaBNF 24 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.0.3Latest
- 1.0.0.2
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.0.02024-02-15
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-02-15
- Total releases
- 3 / 2 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 15 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("xegaGpGene")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.