Learn R Programming

xega (version 0.9.0.23)

Extended Evolutionary and Genetic Algorithms

Description

Implementation of a scalable, highly configurable, and e(x)tended architecture for (e)volutionary and (g)enetic (a)lgorithms. Multiple representations (binary, real-coded, permutation, and derivation-tree), a rich collection of genetic operators, as well as an extended processing pipeline are provided for genetic algorithms (Goldberg, D. E. (1989, ISBN:0-201-15767-5)), differential evolution (Price, Kenneth V., Storn, Rainer M. and Lampinen, Jouni A. (2005) ), simulated annealing (Aarts, E., and Korst, J. (1989, ISBN:0-471-92146-7)), grammar-based genetic programming (Geyer-Schulz (1997, ISBN:978-3-7908-0830-X)), grammatical evolution (Ryan, C., O'Neill, M., and Collins, J. J. (2018) ), and grammatical differential evolution (O'Neill, M. and Brabazon, A. (2006) in Arabinia, H. (2006, ISBN:978-193-241596-3). All algorithms reuse basic adaptive mechanisms for performance optimization. For 'xega''s architecture, see Geyer-Schulz, A. (2025) . Sequential or parallel execution (on multi-core machines, local clusters, and high-performance computing environments) is available for all algorithms. See .

Copy Link

Version

Install

install.packages('xega')

Monthly Downloads

223

Version

0.9.0.23

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Andreas Geyer-Schulz

Last Published

February 17th, 2026

Functions in xega (0.9.0.23)

sgXReplicationFactory

Factory for configuring a gene-dependent Replication function.
sgXInitGeneFactory

Factory for configuring a gene-dependent InitGene function.
xegaReRun

Run an evolutionary or genetic algorithm with the same configuration as in the previous run.
xegaDebug

Debug (show) progress in xegaRun main loop.
xegaAnyTimeResult

Writes xega results after each iteration to a rds file.
xegaVersion

About this version.
xega

Package xega
xegaRun

Run an evolutionary or genetic algorithm for a problem environment which contains a function to optimize.
sgXMutationFactory

Factory for configuring a gene-dependent Mutation function.
NewEnvXOR

Generate the problem environment EnvXOR
createExclusiveFile

Create a unique filename.
Parabola2DEarly

Problem environment for a 2-dimensional quadratic parabola.
sgXDecodeGeneFactory

Factory for configuring a gene-dependent DecodeGene function.
booleanGrammar

A constant function with a boolean grammar.
sgXCrossoverFactory

Factory for configuring a gene-dependent Crossover function.
sgXGeneMapFactory

Factory for configuring a gene-dependent geneMap function.
compileBNF

Compile a BNF.
lau15

The problem environment lau15
Parabola2D

Problem environment for a 2-dimensional quadratic parabola