| xegaPermInitGene {xegaPermGene} | R Documentation |
Initialize a gene with a permutation of integers
Description
xegaPermInitGene generates a random permutation
with a given length n.
Usage
xegaPermInitGene(lF)
Arguments
lF |
Local configuration of the genetic algorithm. |
Details
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.
Value
A permutation gene.
Examples
xegaPermInitGene(lFxegaPermGene)
[Package xegaPermGene version 1.0.0.0 Index]