xegaGaInitGene {xegaGaGene} | R Documentation |
xegaGaInitGene
generates a random binary gene
with a given length.
xegaGaInitGene(lF)
lF |
The local configuration of the genetic algorithm. |
A binary gene (a named list):
$evaluated
: FALSE. See package xegaEvalGene
$evalFail
: FALSE. Set by the error handler(s)
in package xegaEvalGene
in the case of failure.
$fit
: the fitness
$gene1
: a binary gene
xegaGaInitGene(lFxegaGaGene)