Package net.bmahe.genetics4j.core.spec
Class EAExecutionContext<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.spec.AbstractEAExecutionContext<T>
net.bmahe.genetics4j.core.spec.EAExecutionContext<T>
- Type Parameters:
T
- Type of the fitness measurement
- Direct Known Subclasses:
ImmutableEAExecutionContext
@Immutable
public abstract class EAExecutionContext<T extends Comparable<T>>
extends AbstractEAExecutionContext<T>
Evolutionary Algorithm - Execution Context
This defines how the Evolutionary Algorithm will be executed.
-
Field Summary
Fields inherited from class net.bmahe.genetics4j.core.spec.AbstractEAExecutionContext
DEFAULT_POPULATION_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <U extends Comparable<U>>
ImmutableEAExecutionContext.Builder<U> builder()
int
Methods inherited from class net.bmahe.genetics4j.core.spec.AbstractEAExecutionContext
chromosomeCombinatorHandlerFactories, chromosomeCombinatorHandlers, chromosomeFactoryProvider, chromosomeMutationPolicyHandlerFactories, chromosomeMutationPolicyHandlers, defaultChromosomeCombinatorHandlers, defaultChromosomeMutationPolicyHandlers, defaultMutationPolicyHandlers, defaultReplacementStrategyHandlers, defaultSelectionPolicyHandlers, evolutionListeners, mutationPolicyHandlerFactories, mutationPolicyHandlers, populationSize, randomGenerator, replacementStrategyHandlerFactories, replacementStrategyHandlers, selectionPolicyHandlerFactories, selectionPolicyHandlers
-
Constructor Details
-
EAExecutionContext
public EAExecutionContext()
-
-
Method Details
-
numberOfPartitions
@Default public int numberOfPartitions() -
builder
-