xegaGaInitGene {xegaGaGene} | R Documentation |
Generate a random binary gene.
Description
xegaGaInitGene()
generates a random binary gene
with a given length.
Usage
xegaGaInitGene(lF)
Arguments
lF |
The local configuration of the genetic algorithm. |
Value
A binary gene (a named list):
-
$evaluated
: FALSE. See packagexegaSelectGene
. -
$evalFail
: FALSE. Set by the error handler(s) of the evaluation functions in packagexegaSelectGene
in the case of failure. -
$fit
: Fitness. -
$gene1
: Binary gene.
Examples
xegaGaInitGene(lFxegaGaGene)
[Package xegaGaGene version 1.0.0.2 Index]