public final class RunBuilder.GenerationRankerSetter extends Object
Modifier and Type | Method and Description |
---|---|
RunBuilder.InitialPopulationSetter |
setFitnessFunction(FitnessFunction fitnessFunction)
Set the
FitnessFunction used to determine the fitness of a candidate. |
RunBuilder.InitialPopulationSetter |
setGenerationRanker(GenerationRanker generationRanker)
Set the
GenerationRanker used to rank and sort the candidates of a generation. |
RunBuilder.InitialPopulationSetter |
setTwoPlayerGame(TwoPlayerGame twoPlayerGame)
Set the
TwoPlayerGame used to determine the relative fitness of two candidates. |
public RunBuilder.InitialPopulationSetter setGenerationRanker(GenerationRanker generationRanker)
GenerationRanker
used to rank and sort the candidates of a generation.public RunBuilder.InitialPopulationSetter setFitnessFunction(FitnessFunction fitnessFunction)
FitnessFunction
used to determine the fitness of a candidate.public RunBuilder.InitialPopulationSetter setTwoPlayerGame(TwoPlayerGame twoPlayerGame)
TwoPlayerGame
used to determine the relative fitness of two candidates.OakGP Genetic Programming Framework