Learn R Programming

xegaGaGene (version 1.0.0.4)

Binary Gene Operations for Genetic Algorithms

Description

Representation-dependent gene level operations of a genetic algorithm with binary coded genes: Initialization of random binary genes, several gene maps for binary genes, several mutation operators, several crossover operators with 1 and 2 kids, replication pipelines for 1 and 2 kids, and, last but not least, function factories for configuration. See Goldberg, D. E. (1989, ISBN:0-201-15767-5). For crossover operators, see Syswerda, G. (1989, ISBN:1-55860-066-3), Spears, W. and De Jong, K. (1991, ISBN:1-55860-208-9). For mutation operators, see Stanhope, S. A. and Daida, J. M. (1996, ISBN:0-18-201-031-7).

Copy Link

Version

Install

install.packages('xegaGaGene')

Monthly Downloads

534

Version

1.0.0.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Andreas Geyer-Schulz

Last Published

July 28th, 2025

Functions in xegaGaGene (1.0.0.4)

xegaGaGeneMapFactory

Configure the gene map function of a genetic algorithm.
xegaGaGene

Package xegaGaGene.
xegaGaCrossoverFactory

Configure the crossover function of a genetic algorithm.
xegaGaCrossGene

One point crossover of 2 genes.
xegaGaGeneMapGray

Map the bit strings of a gray-coded gene to parameters in an interval.
xegaGaCross2Gene

One point crossover of 2 genes.
xegaGaGeneMapIdentity

Map the bit strings of a binary gene to an identical bit vector.
xegaGaReplicationFactory

Configure the replication function of a genetic algorithm.
xegaGaReplicateGenePipeline

Replicates a gene by generating a pipeline with a crossover operator returning a single kid.
xegaGaGeneMapPerm

Map the bit strings of a binary gene to a permutation.
xegaGaMutationFactory

Configure the mutation function of a genetic algorithm.
xegaGaReplicate2Gene

Replicates a gene with a crossover operator with 2 kids.
xegaGaReplicate2GenePipeline

Replicates a gene with a crossover operator with 2 kids by generating a list of function closures.
xegaGaReplicateGene

Replicates a gene with a crossover operator which returns a single gene.
xegaGaIVAdaptiveMutateGene

Individually variable adaptive mutation of a gene.
xegaGaInitGene

Generate a random binary gene.
xegaGaMutateGene

Mutate a gene.
xegaGaUCross2Gene

Uniform crossover of 2 genes.
xegaGaUCrossGene

Uniform crossover of 2 genes.
xegaGaUPCross2Gene

Parameterized uniform crossover of 2 genes.
xegaGaUPCrossGene

Parameterized uniform crossover of 2 genes.
newCross2Pipeline

Converts two genes into a genetic operator pipeline with crossover (2 kids).
newPipeline

Converts a gene into a genetic operator pipeline (a function closure).
newCrossMut2Pipeline

Converts two genes into a pipeline with crossover and mutation for both kids.
newMutPipeline

Converts a gene into a genetic operator pipeline with mutation (a function closure).
newCross2Mut1Pipeline

Converts two genes into a pipeline with crossover (2 kids) and mutation for first kid.
newCrossPipeline

Converts two genes into a genetic operator pipeline with crossover (1 kid).
newCrossMutPipeline

Converts a gene into a genetic operator pipeline with crossover and mutation (a function closure).
Gray2Bin

Map Gray code to binary.
xegaGaGeneMap

Map the bit strings of a binary gene to parameters in an interval.
without

Returns elements of vector x without elements in y.
lFxegaGaGene

The local function list lFxegaGaGene.
newCross2Mut2Pipeline

Converts two genes into a pipeline with crossover (2 kids) and mutation for second kid.
xegaGaDecodeGene

Decode a gene.