Package org.opt4j.core
Provides the classes that join the problem and optimizer.
This package contains the Individual
and the related
classes and interfaces. The Individual
is a single
solution of the optimization problem. It consists of the
Genotype
, the phenotype, and the
Objectives
, which are the representation of the
Individual
in the search space, the solution space,
and the objective space, respectively.
Genotype
- The
Genotype
is the genetic representation of anIndividual
. The packageorg.opt4j.genotype
contains predefinedGenotype
classes like for binary strings orDouble
vectors that allow a modular assembly. For each optimization problem, the user needs to choose the genetic representation which fits the search space best. - phenotype
- The phenotype
Object
is the decoded representation of anIndividual
. Objectives
- The
Objectives
contain the results of the evaluatedObjective
s for a phenotype. TheObjectives
represent the fitness of theIndividual
. To support multi-objective optimization, anObjective
represents one dimension in the objective space. After the evaluation of the phenotype, theObjectives
hold aValue
for eachObjective
.
Individual
s can be grouped in an
IndividualSet
which informs
IndividualSetListener
s when changed. New
Individual
s should be created using the
IndividualFactory
.
-
Interface Summary Interface Description Genotype TheGenotype
represents a marker interface.IndividualFactory TheIndividualFactory
is a creator forIndividual
s.IndividualSetListener TheIndividualSetListener
receives notifications if anIndividual
is added to or removed from anIndividualSet
.IndividualStateListener Value<V> -
Class Summary Class Description AbstractIndividualFactory<I extends Individual> TheAbstractIndividualFactory
createsIndividual
s using a givenProvider
and sets the registeredIndividualStateListener
s.DefaultIndividualFactory TheDefaultIndividualFactory
is a creator for standardIndividual
s.DoubleValue Individual TheIndividual
class forms a single solution for the given optimization problem.IndividualSet IntegerValue Objective TheObjective
is the identifier for a single objective in theObjectives
.Objectives -
Enum Summary Enum Description Individual.State The possible states of anIndividual
.Objective.Sign The sign of theObjective
.