View source: R/xegaPermMutate.R
| xegaPermMutateGeneOrderBased | R Documentation |
xegaPermMutateGene mutates a permutation.
The per position mutation rate is given by
lF$BitMutationRate1().
xegaPermMutateGeneOrderBased(gene, lF)
gene |
A Permutation. |
lF |
Local configuration of the genetic algorithm. |
This operator is an implementation of a generalized order based mutation operator (Syswerda, 1991).
The indices of a random subschedule are extracted.
The subschedule is extracted, permuted, and reinserted.
A Permutation.
Syswerda, G. (1991): Schedule Optimization Using Genetic Algorithms. In: Davis, L. (Ed.): Handbook of Genetic Algorithms, Chapter 21, pp. 332-349. Van Nostrand Reinhold, New York. (ISBN:0-442-00173-8)
Other Mutation:
xegaPermMutateGene2Opt(),
xegaPermMutateGeneBestGreedy(),
xegaPermMutateGeneGreedy(),
xegaPermMutateGenekInversion(),
xegaPermMutateGenekOptLK(),
xegaPermMutateMix()
gene1<-xegaPermInitGene(lFxegaPermGene)
xegaPermDecodeGene(gene1, lFxegaPermGene)
gene<-xegaPermMutateGeneOrderBased(gene1, lFxegaPermGene)
xegaPermDecodeGene(gene, lFxegaPermGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.