xegaGpGene {xegaGpGene}R Documentation

Package xegaGpGene.

Description

Genetic operations for grammar-based genetic algorithms.

Details

For derivation tree genes, the xegaGpGene package provides

Derivation Tree Gene Representation

A derivation tree gene is a named list:

Abstract Interface of Problem Environment

A problem environment penv must provide:

Abstract Interface of Mutation Functions

Each mutation function has the following function signature:

newGene<-Mutate(gene, lF)

All local parameters of the mutation function configured are expected in the local function list lF.

Local Constants of Mutation Functions

The local constants of a mutation function determine the the behavior of the function.

Constant Default Used in
lF$MaxMutDepth() 3 xegaGpMutateAllGene(),
3 xegaGpMutateFilterGene()
lF$MinMutInsertiontDepth() 3 xegaGpMutateFilterGene()
lF$MaxMutInsertiontDepth() 4 xegaGpMutateFilterGene()

Abstract Interface of Crossover Functions

The signatures of the abstract interface to the 2 families of crossover functions are:

ListOfTwoGenes<-Crossover2(gene1, gene2, lF)

ListOfOneGene<-Crossover(gene1, gene2, lF)

All local parameters of the crossover function configured are expected in the local function list lF.

Local Constants of Crossover Functions

Constant Default Used in
lF$MinCrossDepth() 1 xegaGpFilterCross2Gene(),
xegaGpFilterCrossGene(),
lF$MaxCrossDepth() 7 xegaGpFilterCross2Gene(),
xegaGpFilterCrossGene(),
lF$MaxTrials() 5 xegaGpAllCross2Gene()
xegaGpAllCrossGene(),
xegaGpFilter2CrossGene(),
xegaGpFilterCrossGene(),

The Architecture of the xegaX-Packages

The xegaX-packages are a family of R-packages which implement eXtended Evolutionary and Genetic Algorithms (xega). The architecture has 3 layers, namely the user interface layer, the population layer, and the gene layer:

Copyright

(c) 2023 Andreas Geyer-Schulz

License

MIT

URL

<https://github.com/ageyerschulz/xegaGpGene>

Installation

From CRAN by install.packages('xegaGpGene')

Author(s)

Andreas Geyer-Schulz

References

Geyer-Schulz, Andreas (1997): Fuzzy Rule-Based Expert Systems and Genetic Machine Learning, Physica, Heidelberg. (ISBN:978-3-7908-0830-X)


[Package xegaGpGene version 1.0.0.0 Index]