Crandore Hub

xegaGpGene

Genetic Operations for Grammar-Based Genetic Programming

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).

Versions across snapshots

VersionRepositoryFileSize
1.0.0.3 rolling linux/jammy R-4.5 xegaGpGene_1.0.0.3.tar.gz 74.3 KiB
1.0.0.3 rolling linux/noble R-4.5 xegaGpGene_1.0.0.3.tar.gz 74.1 KiB
1.0.0.3 rolling source/ R- xegaGpGene_1.0.0.3.tar.gz 14.8 KiB
1.0.0.3 latest linux/jammy R-4.5 xegaGpGene_1.0.0.3.tar.gz 74.3 KiB
1.0.0.3 latest linux/noble R-4.5 xegaGpGene_1.0.0.3.tar.gz 74.1 KiB
1.0.0.3 latest source/ R- xegaGpGene_1.0.0.3.tar.gz 14.8 KiB
1.0.0.3 2026-04-26 source/ R- xegaGpGene_1.0.0.3.tar.gz 14.8 KiB
1.0.0.3 2026-04-23 source/ R- xegaGpGene_1.0.0.3.tar.gz 14.8 KiB
1.0.0.3 2026-04-09 windows/windows R-4.5 xegaGpGene_1.0.0.3.zip 77.4 KiB
1.0.0.2 2025-04-20 source/ R- xegaGpGene_1.0.0.2.tar.gz 14.7 KiB

Dependencies (latest)

Imports

Suggests