powered by
Sorts the individuals according to their fitness value in increasing order and selects the best ones.
selGreedy(fitness, n.select)
[integer] Vector of survivor indizes.
integer
[matrix] Matrix of fitness values (each column contains the fitness value(s) of one individual).
matrix
[integer(1)] Number of elements to select.
integer(1)
Other selectors: selDomHV(), selNondom(), selRanking(), selRoulette(), selSimple(), selTournament()
selDomHV()
selNondom()
selRanking()
selRoulette()
selSimple()
selTournament()