Learn R Programming

xegaDfGene (version 1.0.0.9)

Gene Operations for Real-Coded Genes

Description

Representation-dependent gene-level operations for genetic and evolutionary algorithms with real-coded genes used in the R-package 'xega' are collected in this package. The common feature of the gene operations is that all of them are useful for derivation-free optimization algorithms. At the moment the package implements initialization, mutation, crossover, and replication operations for differential evolution as described in Price, Kenneth V., Storn, Rainer M. and Lampinen, Jouni A. (2005) . In addition, several (more recent) methods for determining the scale factor are provided. For 'xega''s architecture, see Geyer-Schulz, A. (2025) .

Copy Link

Version

Install

install.packages('xegaDfGene')

Monthly Downloads

526

Version

1.0.0.9

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Andreas Geyer-Schulz

Last Published

February 16th, 2026

Functions in xegaDfGene (1.0.0.9)

xegaDfScaleFactorFactory

Configure the scale factor function for differential mutation.
xegaDfReplicationFactory

Configure the replication function of a genetic algorithm.
xegaDfMutationFactory

Configure the mutation function of a genetic algorithm.
xegaDfReplicateGeneDE

Replicates a gene (differential evolution).
xegaDfUPCrossGene

Parameterized uniform crossover of 2 genes.
xegaDfUCrossGene

Uniform crossover of 2 genes.
xegaDfInitGene

Initialize a real-coded gene.
xegaDfMutateGeneDE

Mutate a gene (differential mutation).
xegaGedeInitGene

Initialize a real-coded gene for grammar evolution
lFxegaDfGene

Generate local functions and objects
FitnessBasedSelfAdaptiveSF

Fitness based self adaptive scale factor.
UniformRandomScaleFactor

Uniform random scale factor for differential evolution.
ConstScaleFactor

Constant scale factor for differential evolution.
CauchySF

Cauchy distribution based scale factor.
UniformRandomScaleFactorDERSF

Restricted uniform random scale factor for differential evolution (DERSF).
xegaDfCrossGene

One point crossover of 2 genes.
DETVSF

Scale factor with time dependent linear decay.
xegaDfCrossoverFactory

Configure the crossover function of a genetic algorithm.
RandomGaussianSF

Random Gaussian scale factor (RGSF).
xegaDfGeneMapFactory

Configure the gene map function of a genetic algorithm.
xegaDfReplicateGeneDEPipeline

Generates a function closure with a gene pipeline for differential evolution.
xegaDfGeneMapIdentity

Map the parameter vector of a real-coded gene to an identical vector.
xegaDfDecodeGene

Decode a gene
xegaDfGene

Package xegaDfGene.
xegaDfReplicateGeneDEPipelineG

Generates a gene with an embedded gene pipeline for differential evolution.