View source: R/xegaDfInitGene.R
xegaGedeInitGene | R Documentation |
xegaGedeInitGene()
generates a random real-coded gene
with a given length.
xegaGedeInitGene(lF)
lF |
Local configuration of the genetic algorithm. |
In the real-coded representation of
package xegaDf
, gene is at least a list with
$evaluated
: Boolean. TRUE if the fitness is known.
$fit
: The fitness of the genotype of
$gene1
.
$gene1
: a real vector (the genotype).
A real-coded gene (a named list):
$evaluated
: FALSE. See package xegaSelectGene
.
$evalFail
: FALSE. Set by the error handler(s)
of the Evaluation Functions
in package xegaSelectGene
in the case of failure.
$fit
: Fitness.
$gene1
: A vector of reals.
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>
Other Intialization:
xegaDfInitGene()
xegaGedeInitGene(lFxegaDfGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.