gka_selection {UAHDataScienceUC}R Documentation

Selection method

Description

Selection method

Usage

gka_selection(p, fitness)

Arguments

p

the number of individuals in the population.

fitness

a vector of size p with the fitness of each individual in the population.

Value

the index of the individual selected for reproduction.

Author(s)

Eduardo Ruiz Sabajanes, eduardo.ruizs@edu.uah.es


[Package UAHDataScienceUC version 1.0.1 Index]