Skip to contents

This function turns the selected switch on when an individual is selected to survive the generation and be among the pool of parents for the next generation.

Usage

tag_SelectRandom(clf, pop, nbToSelect)

Arguments

clf:

The classifier object

pop:

The population on which the selection process will be performed.

nbToSelect:

the number of individuals we are going to select in the population

Value

the population given as an input with `nbToSelect` individuals with `selected = TRUE`