tournamentSelection: Tournament Selection
Description
Simple Tournament Selection implementation.
Usage
tournamentSelection(
fitness,
tournamentSize,
tournamentProbability,
selectFromN
)
Value
index of tournament winners
Arguments
- fitness
Fitness values of individuals
- tournamentSize
Tournament Size
- tournamentProbability
Tournament Probability
- selectFromN
Number of tournament winners