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 packagexegaEvalGene
-
$evalFail
: FALSE. Set by the error handler(s) in packagexegaEvalGene
in the case of failure. -
$fit
: the fitness -
$gene1
: a binary gene
Examples
xegaGaInitGene(lFxegaGaGene)
[Package xegaGaGene version 1.0.0.1 Index]