SelectPropFitDiff {xegaSelectGene}R Documentation

Selection proportional to fitness differences.

Description

SelectPropFitDiff implements selection proportional to fitness differences. It selects a gene out of the population with a probability proportional to the fitness difference to the gene with minimal fitness. The fitness of survival of the gene with minimal fitness is set by lF$Eps() to 0.01 per default. See equation (7.45) Andreas Geyer-Schulz (1997), p. 205.

Usage

SelectPropFitDiff(fit, lF, size = 1)

Arguments

fit

Fitness vector.

lF

Local configuration.

size

Number of selected genes. Default: 1.

Value

The index vector of the selected genes.

Note

SelectPopFitDiff is a dynamic scaling function. Complexity: O(n^2).

References

Geyer-Schulz, Andreas (1997): Fuzzy Rule-Based Expert Systems and Genetic Machine Learning, Physica, Heidelberg. (ISBN:978-3-7908-0830-X)

See Also

Other Selection Functions: SelectDuel(), SelectLRSelective(), SelectLinearRankTSR(), SelectPropFitDiffM(), SelectPropFitDiffOnln(), SelectPropFitM(), SelectPropFitOnln(), SelectPropFit(), SelectSTournament(), SelectSUS(), SelectTournament(), SelectUniformP(), SelectUniform()

Examples

fit<-sample(10, 15, replace=TRUE)
SelectPropFitDiff(fit, NewlFselectGenes()) 
SelectPropFitDiff(fit, NewlFselectGenes(), length(fit)) 

[Package xegaSelectGene version 1.0.0.0 Index]