STournament {xegaSelectGene} | R Documentation |
Stochastic tournament of size k
.
Description
STournament
is implemented in two steps:
-
A subset of size k of the population is selected with uniform probability.
-
A gene is selected with probability proportional to fitness.
Usage
STournament(fit, lF)
Arguments
fit |
Fitness vector. |
lF |
Local configuration. |
Value
Index of candidate.
Examples
fit<-sample(10, 15, replace=TRUE)
STournament(fit, NewlFselectGenes())
[Package xegaSelectGene version 1.0.0.0 Index]