Module io.jenetics.base
Package io.jenetics.engine
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
-
ClassDescriptionA problem
Codec
contains the information about how to encode a given argument type into aGenotype
.This class contains factory methods for creating common problem encodings.This interface allows you to define constraints on single phenotypes.Genetic algorithm engine which is the main class.Builder class for building GAEngine
instances.This interface represents a recipe for configuring (setup) a givenEngine.Builder
.This interface allows defining different strategies for evaluating the fitness functions of a given population.This class contains factory methods for creating commonly usableEvaluator
implementations.This functional interface defines the evolution function, which takes anEvolutionStart
object, evolves the population, and returns anEvolutionResult
object.This class contains timing information about one evolution step.Represents the initialization value of an evolution stream/iterator.The evolution interceptor allows to update theEvolutionStart
object, before the evolution start, and update theEvolutionResult
object after the evolution.This class collects the parameters which control the behaviour of the evolution process.Builder class for the evolution parameter.Represents a state of the GA after an evolution step.Represents a state of the GA at the start of an evolution step.This class can be used to gather additional statistic information of an evolution process.TheEvolutionStream
class extends the JavaStream
and adds a method for limiting the evolution by a given predicate.This interface defines the capability of creatingEvolutionStream
s from a givenEvolutionStart
object.This class allows to force a reevaluation of the fitness function.InvertibleCodec<T,G extends Gene<?, G>> This class contains factory methods for creating predicates, which can be used for limiting the evolution stream.Problem<T,G extends Gene<?, G>, C extends Comparable<? super C>> This interface describes a problem which can be solved by the GA evolutionEngine
.This simpleConstraint
implementation repairs an invalid phenotype by creating new individuals until a valid one has been created.