Package net.bmahe.genetics4j.core.spec
Class AbstractEAExecutionContext<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.spec.AbstractEAExecutionContext<T>
- Type Parameters:
T
- Type of the fitness measurement
- Direct Known Subclasses:
EAExecutionContext
,GPUEAExecutionContext
Evolutionary Algorithm - Execution Context
This defines how the Evolutionary Algorithm will be executed.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract List
<ChromosomeCombinatorHandlerFactory<T>> abstract List
<ChromosomeMutationHandlerFactory<T>> List
<ChromosomeMutationHandler<? extends Chromosome>> List
<ChromosomeMutationHandler<? extends Chromosome>> abstract List
<MutationPolicyHandlerFactory<T>> int
abstract List
<ReplacementStrategyHandlerFactory<T>> abstract List
<SelectionPolicyHandlerFactory<T>>
-
Field Details
-
DEFAULT_POPULATION_SIZE
public static final int DEFAULT_POPULATION_SIZE- See Also:
-
-
Constructor Details
-
AbstractEAExecutionContext
public AbstractEAExecutionContext()
-
-
Method Details
-
defaultChromosomeCombinatorHandlers
-
chromosomeCombinatorHandlerFactories
-
chromosomeCombinatorHandlers
-
defaultSelectionPolicyHandlers
-
selectionPolicyHandlerFactories
-
selectionPolicyHandlers
-
defaultMutationPolicyHandlers
-
mutationPolicyHandlerFactories
-
mutationPolicyHandlers
-
defaultChromosomeMutationPolicyHandlers
@Default public List<ChromosomeMutationHandler<? extends Chromosome>> defaultChromosomeMutationPolicyHandlers() -
chromosomeMutationPolicyHandlerFactories
public abstract List<ChromosomeMutationHandlerFactory<T>> chromosomeMutationPolicyHandlerFactories() -
chromosomeMutationPolicyHandlers
@Derived public List<ChromosomeMutationHandler<? extends Chromosome>> chromosomeMutationPolicyHandlers() -
defaultReplacementStrategyHandlers
-
replacementStrategyHandlerFactories
-
replacementStrategyHandlers
-
randomGenerator
-
populationSize
@Default public int populationSize() -
chromosomeFactoryProvider
-
evolutionListeners
-