| Package | Description |
|---|---|
| org.oakgp.evolve |
Provides classes to use techniques inspired by biological evolution for the creation of new candidates from an existing generation.
|
| org.oakgp.rank |
Provides classes for the evaluation and ranking of candidates in a generation.
|
| org.oakgp.rank.fitness |
Provides classes for using a fitness function to rank the candidates of a generation.
|
| org.oakgp.rank.tournament |
Provides classes for using a round-robin tournament to rank the candidates of a generation.
|
| org.oakgp.select |
Provides classes for the selection of
Node instances. |
| org.oakgp.terminate |
Provides implementations of termination criteria.
|
| org.oakgp.util |
Utility classes that support the functionality provided by the rest of the framework.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Node> |
GenerationEvolverImpl.evolve(RankedCandidates oldGeneration)
Returns a new generation of
Node instances evolved from the specified existing generation. |
Collection<Node> |
GenerationEvolver.evolve(RankedCandidates oldGeneration)
Returns a new generation of
Node instances evolved from the specified existing generation. |
| Modifier and Type | Method and Description |
|---|---|
RankedCandidates |
GenerationRanker.rank(Collection<Node> input)
Returns the sorted result of evaluating the fitness of each of the specified nodes.
|
| Modifier and Type | Method and Description |
|---|---|
RankedCandidates |
FitnessFunctionGenerationRanker.rank(Collection<Node> input)
Returns the sorted result of applying this object's
FitnessFunction against each of the specified nodes. |
| Modifier and Type | Method and Description |
|---|---|
RankedCandidates |
RoundRobinTournament.rank(Collection<Node> input) |
| Modifier and Type | Method and Description |
|---|---|
RankSelection |
RankSelectionFactory.getSelector(RankedCandidates candidates) |
NodeSelector |
NodeSelectorFactory.getSelector(RankedCandidates candidates)
Returns a
NodeSelector that selects from the specified candidates. |
FitnessProportionateSelection |
FitnessProportionateSelectionFactory.getSelector(RankedCandidates candidates) |
| Constructor and Description |
|---|
FitnessProportionateSelection(Random random,
RankedCandidates candidates)
Creates a
FitnessProportionateSelection that uses the given Random to select from the given RankedCandidates. |
RankSelection(Random random,
RankedCandidates candidates)
Creates a
RankSelection that uses the given Random to select from the given RankedCandidates. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TargetFitnessTerminator.test(RankedCandidates t) |
boolean |
MaxGenerationsWithoutImprovementTerminator.test(RankedCandidates t) |
boolean |
MaxGenerationsTerminator.test(RankedCandidates t) |
boolean |
CompositeTerminator.test(RankedCandidates candidates) |
| Modifier and Type | Method and Description |
|---|---|
RankedCandidates |
RunBuilder.ProcessRunner.process()
Processes a genetic programming run using the values configured earlier for this
RunBuilder. |
static RankedCandidates |
Runner.process(GenerationRanker generationRanker,
GenerationEvolver generationEvolver,
Predicate<RankedCandidates> terminator,
Collection<Node> initialPopulation)
Performs a Genetic Programming run.
|
| Modifier and Type | Method and Description |
|---|---|
static RankedCandidates |
Runner.process(GenerationRanker generationRanker,
GenerationEvolver generationEvolver,
Predicate<RankedCandidates> terminator,
Collection<Node> initialPopulation)
Performs a Genetic Programming run.
|
RunBuilder.TerminatorSetterOrProcessRunner |
RunBuilder.TerminatorSetter.setTerminator(Predicate<RankedCandidates> terminator)
Sets the criteria used by this run to determine when it should stop.
|
OakGP Genetic Programming Framework