| Package | Description |
|---|---|
| org.oakgp.rank.fitness |
Provides classes for using a fitness function to rank the candidates of a generation.
|
| org.oakgp.util |
Utility classes that support the functionality provided by the rest of the framework.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FitnessFunctionCache
Wraps a
FitnessFunction to provide caching of results. |
class |
TestDataFitnessFunction<T>
Calculates the fitness of a potential solution by comparing its results against the expected values.
|
| Constructor and Description |
|---|
FitnessFunctionCache(int maxSize,
FitnessFunction fitnessFunction)
Creates a cache of the given maximum size which will contain the results of evaluating the given
FitnessFunction. |
FitnessFunctionGenerationRanker(FitnessFunction fitnessFunction)
Constructs a
GenerationRanker with the specified FitnessFunction. |
| Modifier and Type | Method and Description |
|---|---|
RunBuilder.InitialPopulationSetter |
RunBuilder.GenerationRankerSetter.setFitnessFunction(FitnessFunction fitnessFunction)
Set the
FitnessFunction used to determine the fitness of a candidate. |
OakGP Genetic Programming Framework