Package io.jenetics.engine
This package contains classes which performs the actual evolution. The
io.jenetics
base package contains the classes which are used by the
engine
package.- Since:
- 3.0
- Version:
- 3.0
-
Interface Summary Interface Description Codec<T,G extends Gene<?,G>> A problemCodec
contains the information about how to encode a given argument type into aGenotype
.Constraint<G extends Gene<?,G>,C extends Comparable<? super C>> This interface allows you to define constraints on single phenotypes.Engine.Setup<G extends Gene<?,G>,C extends Comparable<? super C>> This interface represents a recipe for configuring (setup) a givenEngine.Builder
.Evaluator<G extends Gene<?,G>,C extends Comparable<? super C>> This interface allows to define different strategies for evaluating the fitness functions of a given population.Evolution<G extends Gene<?,G>,C extends Comparable<? super C>> This functional interface defines the evolution function, which takes anEvolutionStart
object, evolves the population, and returns anEvolutionResult
object.EvolutionInterceptor<G extends Gene<?,G>,C extends Comparable<? super C>> The evolution interceptor allows to update theEvolutionStart
object, before the evolution start, and update theEvolutionResult
object after the evolution.EvolutionStream<G extends Gene<?,G>,C extends Comparable<? super C>> TheEvolutionStream
class extends the JavaStream
and adds a method for limiting the evolution by a given predicate.EvolutionStreamable<G extends Gene<?,G>,C extends Comparable<? super C>> This interface defines the capability of creatingEvolutionStream
s from a givenEvolutionStart
object.InvertibleCodec<T,G extends Gene<?,G>> Problem<T,G extends Gene<?,G>,C extends Comparable<? super C>> This interface describes a problem which can be solved by the GA evolutionEngine
. -
Class Summary Class Description Codecs This class contains factory methods for creating common problem encodings.Engine<G extends Gene<?,G>,C extends Comparable<? super C>> Genetic algorithm engine which is the main class.Engine.Builder<G extends Gene<?,G>,C extends Comparable<? super C>> Builder class for building GAEngine
instances.Evaluators This class contains factory methods for creating commonly usableEvaluator
implementations.EvolutionDurations This class contains timing information about one evolution step.EvolutionInit<G extends Gene<?,G>> Represents the initialization value of an evolution stream/iterator.EvolutionParams<G extends Gene<?,G>,C extends Comparable<? super C>> This class collects the parameters which control the behaviour of the evolution process.EvolutionParams.Builder<G extends Gene<?,G>,C extends Comparable<? super C>> Builder class for the evolution parameter.EvolutionResult<G extends Gene<?,G>,C extends Comparable<? super C>> Represents a state of the GA after an evolution step.EvolutionStart<G extends Gene<?,G>,C extends Comparable<? super C>> Represents a state of the GA at the start of an evolution step.EvolutionStatistics<C extends Comparable<? super C>,FitnessStatistics> This class can be used to gather additional statistic information of an evolution process.FitnessNullifier<G extends Gene<?,G>,C extends Comparable<? super C>> This class allows to force a reevaluation of the fitness function.Limits This class contains factory methods for creating predicates, which can be used for limiting the evolution stream.RetryConstraint<G extends Gene<?,G>,C extends Comparable<? super C>> This simpleConstraint
implementation repairs an invalid phenotype by creating new individuals until a valid one has been created.