TournamentSelection Constructor (Int32, Boolean) | GeneticSharp |
Initializes a new instance of the TournamentSelection class.
Namespace: GeneticSharp.Domain.SelectionsAssembly: GeneticSharp.Domain (in GeneticSharp.Domain.dll) Version: 1.0.5010.36434
Syntax
Parameters
- size
- Type:
System Int32
The size of the tournament, in other words, the number of chromosomes that will participate of each tournament until all need chromosomes be selected.
- allowWinnerCompeteNextTournament
- Type:
System Boolean
If allow any winner in a tournament participate in the next tournament, in other words, if you want to allow a chromosome be selected more the one time.
See Also