A B C D F G I L M N W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AlgorithmDefinition<T> - Interface in de.sfuhrm.genetic
-
Hypothesis creation, manipulation and evaluation callbacks for the genetic algorithm.
B
- build() - Method in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
Creates a new instance of a
GeneticAlgorithmwith the defined parameters.
C
- calculateFitness(T) - Method in interface de.sfuhrm.genetic.AlgorithmDefinition
-
Calculates the fitness of a hypothesis.
- calculateNextGeneration(List<H>) - Method in class de.sfuhrm.genetic.GeneticAlgorithm
-
Calculate one generation step.
- CROSS_OVER_RATE_DEFAULT - Static variable in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
The default cross-over rate (0.3).
- crossOverHypothesis(T, T) - Method in interface de.sfuhrm.genetic.AlgorithmDefinition
-
Calculates two-element crossover offspring of two parent hypothesis.
D
- de.sfuhrm.genetic - package de.sfuhrm.genetic
-
Framework for a calculating genetic algorithm optimization.
F
- findMaximum() - Method in class de.sfuhrm.genetic.GeneticAlgorithm
-
Perform the genetic optimization.
G
- GENERATION_SIZE_DEFAULT - Static variable in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
The default generation size (100).
- GeneticAlgorithm<H> - Class in de.sfuhrm.genetic
-
Central entry class for generic algorithm implementations.
- GeneticAlgorithmBuilder<H> - Class in de.sfuhrm.genetic
-
A builder for GeneticAlgorithm instances.
- GeneticAlgorithmBuilder(AlgorithmDefinition<H>) - Constructor for class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
Creates a new builder.
I
- initialize(Random) - Method in interface de.sfuhrm.genetic.AlgorithmDefinition
-
Initializes an instance of the algorithm definition.
L
- loop(T) - Method in interface de.sfuhrm.genetic.AlgorithmDefinition
-
Checks whether we still need to continue the search.
M
- mutateHypothesis(T) - Method in interface de.sfuhrm.genetic.AlgorithmDefinition
-
Implements the mutation operator on a hypothesis.
- MUTATION_RATE_DEFAULT - Static variable in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
The default mutation-rate (0.05).
N
- newRandomHypothesis() - Method in interface de.sfuhrm.genetic.AlgorithmDefinition
-
Randomly create a hypothesis.
W
- withCrossOverRate(double) - Method in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
Defines the cross-over rate to use.
- withExecutorService(ExecutorService) - Method in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
Defines the executor service to use.
- withGenerationSize(int) - Method in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
Defines the generation size to use.
- withMutationRate(double) - Method in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
Defines the mutation rate to use.
- withRandom(Random) - Method in class de.sfuhrm.genetic.GeneticAlgorithmBuilder
-
Defines the random generator to use.
All Classes All Packages