Learn R Programming

⚠️There's a newer version (1.0.0.9) of this package.Take me there.

xegaDfGene (version 1.0.0.5)

Gene Operations for Real-Coded Genes

Description

Representation-dependent gene-level operations for genetic and evolutionary algorithms with real-coded genes 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.

Copy Link

Version

Install

install.packages('xegaDfGene')

Monthly Downloads

526

Version

1.0.0.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Andreas Geyer-Schulz

Last Published

July 29th, 2025

Functions in xegaDfGene (1.0.0.5)

xegaDfMutateGeneDE

Mutate a gene (differential mutation).
xegaDfReplicationFactory

Configure the replication function of a genetic algorithm.
xegaDfGeneMapIdentity

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

Configure the gene map function of a genetic algorithm.
xegaDfGene

Package xegaDfGene.
xegaDfDecodeGene

Decode a gene
xegaGedeInitGene

Initialize a real-coded gene for grammar evolution
UniformRandomScaleFactor

Uniform random scale factor for differential evolution.
RandomGaussianSF

Random Gaussian scale factor (RGSF).
DETVSF

Scale factor with time dependent linear decay.
ConstScaleFactor

Constant scale factor for differential evolution.
FitnessBasedSelfAdaptiveSF

Fitness based self adaptive scale factor.
CauchySF

Cauchy distribution based scale factor.
UniformRandomScaleFactorDERSF

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

Generate local functions and objects
xegaDfCrossoverFactory

Configure the crossover function of a genetic algorithm.
xegaDfCrossGene

One point crossover of 2 genes.
xegaDfInitGene

Initialize a real-coded gene.
xegaDfMutationFactory

Configure the mutation function of a genetic algorithm.
xegaDfReplicateGeneDEPipeline

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

Replicates a gene (differential evolution).
xegaDfScaleFactorFactory

Configure the scale factor function for differential mutation.
xegaDfUPCrossGene

Parameterized uniform crossover of 2 genes.
xegaDfUCrossGene

Uniform crossover of 2 genes.