View source: R/xegaGaInitGene.R
| xegaGaInitGene | 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 xegaSelectGene.
$evalFail: FALSE. Set by the error handler(s)
of the evaluation functions
in package xegaSelectGene
in the case of failure.
$fit: Fitness.
$gene1: Binary gene.
xegaGaInitGene(lFxegaGaGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.