powered by
Just for testing. Actually does not really select, but instead returns a random sample of ncol(fitness) indizes.
ncol(fitness)
selSimple(fitness, n.select)
[setOfIndividuals]
setOfIndividuals
[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(), selGreedy(), selNondom(), selRanking(), selRoulette(), selTournament()
selDomHV()
selGreedy()
selNondom()
selRanking()
selRoulette()
selTournament()