evomatic.competition.tournaments(alloys: DataFrame, selection_percentage: float, tournament_size: int) DataFrame[source]

Holds tournaments between members of the population, winners progress to the recombination stage, losers are discarded.

Parameters
alloys: DataFrame

The current population of alloy candidates.

selection_percentage: float

The percentage of the population to be selected as winners, to enter the next generation.

tournament_size: int

The number of alloys to compete in each tournament.


Last update: Dec 07, 2022