xegaDfInitGene {xegaDfGene}R Documentation

Initialize a real-coded gene.

Description

xegaDfInitGene() generates a random real-coded gene with a given length.

Usage

xegaDfInitGene(lF)

Arguments

lF

Local configuration of the genetic algorithm.

Details

In the real-coded representation of package xegaDf, gene is at least a list with

  1. $evaluated: Boolean. TRUE if the fitness is known.

  2. $fit: The fitness of the genotype of $gene1.

  3. $gene1: a real vector (the genotype).

Value

A real-coded gene (a named list):

References

Price, Kenneth V., Storn, Rainer M. and Lampinen, Jouni A. (2005) The Differential Evolution Algorithm (Chapter 2), pp. 37-134. In: Differential Evolution. A Practical Approach to Global Optimization. Springer, Berlin. <doi:10.1007/3-540-31306-0>

See Also

Other Intialization: xegaGedeInitGene()

Examples

xegaDfInitGene(lFxegaDfGene)


[Package xegaDfGene version 1.0.0.3 Index]