selGreedy: Simple selector.

selGreedyR Documentation

Simple selector.

Description

Sorts the individuals according to their fitness value in increasing order and selects the best ones.

Usage

selGreedy(fitness, n.select)

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.

Value

[integer] Vector of survivor indizes.

See Also

Other selectors: selDomHV(), selDomNumberPlusHV(), selNondom(), selRanking(), selRoulette(), selSimple(), selTournament()


jakobbossek/ecr2 documentation built on Sept. 23, 2023, 12:33 p.m.