Learn R Programming

xegaGaGene (version 1.0.0.6)

Binary Gene Operations for Genetic Algorithms

Description

Representation-dependent gene level operations of a genetic algorithm with binary coded genes for the R-package 'xega' : 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). For 'xega''s architecture, see Geyer-Schulz, A. (2025) .

Copy Link

Version

Install

install.packages('xegaGaGene')

Monthly Downloads

534

Version

1.0.0.6

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Andreas Geyer-Schulz

Last Published

February 16th, 2026

Functions in xegaGaGene (1.0.0.6)

xegaGaCross2Gene

One point crossover of 2 genes.
xegaGaCrossGene

One point crossover of 2 genes.
xegaGaGeneMapIdentity

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

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

Configure the gene map function of a genetic algorithm.
xegaGaGeneMap

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

Configure the crossover function of a genetic algorithm.
xegaGaReplicationFactory

Configure the replication function of a genetic algorithm.
xegaGaReplicateGenePipelineG

Replicates a gene by embdding a pipeline with a crossover operator returning a single kid.
xegaGaReplicate2Gene

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

Configure the mutation function of a genetic algorithm.
newCrossPipeline

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

Decode a gene.
xegaGaReplicateGenePipeline

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

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

Converts two genes into a genetic operator pipeline in a gene with crossover (1 kid).
xegaGaGene

Package xegaGaGene.
xegaGaReplicate2GenePipeline

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

Parameterized uniform crossover of 2 genes.
xegaGaUPCrossGene

Parameterized uniform crossover of 2 genes.
xegaGaReplicate2GenePipelineG

Replicates a gene with a crossover operator with 2 kids by embedding a genetic operator pipeline.
xegaGaGeneMapPerm

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

Individually variable adaptive mutation of a gene.
xegaGaUCross2Gene

Uniform crossover of 2 genes.
xegaGaMutateGene

Mutate a gene.
xegaGaInitGene

Generate a random binary gene.
xegaGaUCrossGene

Uniform crossover of 2 genes.
lFxegaGaGene

The local function list lFxegaGaGene.
newCross2Pipeline

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

Converts two genes into a genetic operator pipeline embedded in a gene with crossover (2 kids).
Gray2Bin

Map Gray code to binary.
newCross2Mut2PipelineG

Converts two genes into a pipeline embedded in a gene with crossover (2 kids) and mutation for second kid.
newCross2Mut1Pipeline

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

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

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

Converts two genes into a pipeline embedded in a gene with crossover and mutation for both kids.
newCross2Mut2Pipeline

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

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

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

Returns elements of vector x without elements in y.
newCrossMutPipeline

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

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

Converts a gene into a gene with genetic operator pipeline.
newMutPipelineG

Converts a gene into a genetic operator pipeline embedded in a gene with mutation.