The type of object representing an individual. Must extend WithFitness.
The current population of individuals.
A promise that resolves to a tuple containing the two tournament winners.
For each parent selection, two individuals are randomly picked from the population, and their fitness values are compared. The individual with the higher fitness wins the tournament and is selected. This process is repeated twice to select both parents. This method balances genetic diversity and selection pressure. *
Selects two individuals from the population using tournament selection. *