powered by
xegaGaInitGene() generates a random binary gene with a given length.
xegaGaInitGene()
xegaGaInitGene(lF)
A binary gene (a named list):
$evaluated: FALSE. See package xegaSelectGene.
$evaluated
xegaSelectGene
$evalFail: FALSE. Set by the error handler(s) of the evaluation functions in package xegaSelectGene in the case of failure.
$evalFail
$fit: Fitness.
$fit
$gene1: Binary gene.
$gene1
The local configuration of the genetic algorithm.
xegaGaInitGene(lFxegaGaGene)
Run the code above in your browser using DataLab