xegaPermMutateGeneOrderBased {xegaPermGene}R Documentation

Mutate a gene (generalized order based mutation).

Description

xegaPermMutateGene mutates a permutation. The per position mutation rate is given by lF$BitMutationRate1().

Usage

xegaPermMutateGeneOrderBased(gene, lF)

Arguments

gene

A Permutation.

lF

Local configuration of the genetic algorithm.

Details

This operator is an implementation of a generalized order based mutation operator (Syswerda, 1991).

  1. The indices of a random subschedule are extracted.

  2. The subschedule is extracted, permuted, and reinserted.

Value

A Permutation.

References

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)

See Also

Other Mutation: xegaPermMutateGene2Opt(), xegaPermMutateGeneBestGreedy(), xegaPermMutateGeneGreedy(), xegaPermMutateGenekInversion(), xegaPermMutateGenekOptLK(), xegaPermMutateMix()

Examples

gene1<-xegaPermInitGene(lFxegaPermGene)
xegaPermDecodeGene(gene1, lFxegaPermGene)
gene<-xegaPermMutateGeneOrderBased(gene1, lFxegaPermGene)
xegaPermDecodeGene(gene, lFxegaPermGene)

[Package xegaPermGene version 1.0.0.0 Index]