public final class RoundRobinTournament extends Object implements GenerationRanker
Node instances using a TwoPlayerGame in a round-robin tournament.| Constructor and Description |
|---|
RoundRobinTournament(TwoPlayerGame game)
Creates a
RoundRobinTournament for the given TwoPlayerGame. |
| Modifier and Type | Method and Description |
|---|---|
RankedCandidates |
rank(Collection<Node> input)
Returns the sorted result of evaluating the fitness of each of the specified nodes.
|
public RoundRobinTournament(TwoPlayerGame game)
RoundRobinTournament for the given TwoPlayerGame.public RankedCandidates rank(Collection<Node> input)
GenerationRankerrank in interface GenerationRankerinput - the Node instances to evaluate the fitness ofRankedCandidate - one for each Node specified in input - sorted by fitnessOakGP Genetic Programming Framework