Learn R Programming

SDR (version 0.7.0.0)

tournamentSelection: Performs tournament selection for the FuGePSD algorithm

Description

It makes a tournament selection for the FuGePSD algorithm with variable tournament size.

Usage

tournamentSelection(pop, tamTournament)

Arguments

pop
The rule population
tamTournament
The size of the tornament (>= 2)

Value

the index in 'pop' of the best individual in the tournament.