lFxegaGaGene: The local function list lFxegaGaGene.

lFxegaGaGeneR Documentation

The local function list lFxegaGaGene.

Description

We enhance the configurability of our code by introducing a function factory. The function factory contains all the functions that are needed for defining local functions in genetic operators. The local function list keeps the signatures of functions (e.g. mutation functions) uniform and small. At the same time, variants of functions can use different local functions.

Usage

lFxegaGaGene

Format

An object of class list of length 29.

Details

We use the local function list for

  1. replacing all constants by constant functions.

    Rationale: We need one formal argument (the local function list lF) and we can dispatch multiple functions. E.g. lF$verbose()

  2. dynamically binding a local function with a definition from a proper function factory. E.g., the selection methods lF$SelectGene() and lF$SelectMate().

  3. gene representations which require special functions to handle them: lF$InitGene(), lF$DecodeGene(), lF$EvalGene(), lF$ReplicateGene(), ...

See Also

Other Configuration: xegaGaCrossoverFactory(), xegaGaGeneMapFactory(), xegaGaMutationFactory(), xegaGaReplicationFactory()


xegaGaGene documentation built on April 16, 2025, 5:11 p.m.