xegaPermInitGene {xegaPermGene} | 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)