powered by
xegaPermInitGene generates a random permutation with a given length n.
xegaPermInitGene
xegaPermInitGene(lF)
A permutation gene.
Local configuration of the genetic algorithm.
In the permutation representation of package xegaPerm, a gene is a list with
xegaPerm
$evaluated: Boolean: TRUE if the fitness is known.
$evaluated
$fit: The fitness of the genotype of $gene1.
$fit
$gene1
$gene1: The permutation (the genotype).
xegaPermInitGene(lFxegaPermGene)
Run the code above in your browser using DataLab