selTournament {ecr}R Documentation

k-Tournament selector.

Description

k individuals from the population are chosen randomly and the best one is selected to be included into the mating pool. This process is repeated until the desired number of individuals for the mating pool is reached.

Usage

selTournament(fitness, n.select, k = 3L)

Arguments

fitness

[matrix]
Matrix of fitness values (each column contains the fitness value(s) of one individual).

n.select

[integer(1)]
Number of elements to select.

k

[integer(1)]
Number of individuals to participate in each tournament. Default is 2L.

Value

[integer] Vector of survivor indizes.

See Also

Other selectors: selDomHV, selGreedy, selNondom, selRoulette, selSimple


[Package ecr version 2.1.0 Index]