Package net.bmahe.genetics4j.core.spec
Class EAConfiguration<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.spec.AbstractEAConfiguration<T>
net.bmahe.genetics4j.core.spec.EAConfiguration<T>
- Type Parameters:
T
- Type of the fitness measurement
- Direct Known Subclasses:
ImmutableEAConfiguration
@Immutable
public abstract class EAConfiguration<T extends Comparable<T>>
extends AbstractEAConfiguration<T>
Evolutionary Algorithm Configuration.
This describe the set of strategies to use. They describe the genotype, the different policies for selection, combination as well as mutation, and other relevant parameters such as how to determine the fitness of a given individual.
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.bmahe.genetics4j.core.spec.AbstractEAConfiguration
DEFAULT_OFFSPRING_RATIO, DEFAULT_OPTIMIZATION
-
Constructor Summary
-
Method Summary
Methods inherited from class net.bmahe.genetics4j.core.spec.AbstractEAConfiguration
check, chromosomeSpecs, combinationPolicy, fitnessComparator, genotypeCombinator, genotypeGenerator, getChromosomeSpec, mutationPolicies, numChromosomes, offspringGeneratedRatio, optimization, parentSelectionPolicy, postEvaluationProcessor, replacementStrategy, seedPopulation, termination
-
Constructor Details
-
EAConfiguration
public EAConfiguration()
-
-
Method Details
-
fitness
Defines how should individuals' fitness be assessed- Returns:
-