SelectPropFitDiffM {xegaSelectGene}R Documentation

Selection proportional to fitness differences.

Description

SelectPropFitDiffM implements selection proportional to fitness differences. It selects a gene from 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

SelectPropFitDiffM(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.

Warning

outer uses O(n^2) memory cells.

Note

SelectPopFitDiff is a dynamic scaling function.

References

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

See Also

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

Examples

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

[Package xegaSelectGene version 1.0.0.0 Index]