View source: R/xegaPermInitGene.R
xegaPermInitGene | R Documentation |
xegaPermInitGene
generates a random permutation
with a given length n.
xegaPermInitGene(lF)
lF |
Local configuration of the genetic algorithm. |
In the permutation representation of
package xegaPerm
, gene is a list with
$evaluated
: Boolean: TRUE if the fitness is known.
$fit
: The fitness of the genotype of
$gene1
.
$gene1
: The permutation (the genetopye).
This representation makes several code optimizations and generalizations easier.
A permutation gene.
xegaPermInitGene(lFxegaPermGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.