Interface | Description |
---|---|
Genotype |
The
Genotype represents a marker interface. |
IndividualFactory |
The
IndividualFactory is a creator for Individual s. |
IndividualSetListener |
The
IndividualSetListener receives notifications if an
Individual is added to or removed from an IndividualSet . |
IndividualStateListener | |
Value<V> |
Class | Description |
---|---|
AbstractIndividualFactory<I extends Individual> |
The
AbstractIndividualFactory creates Individual s using a
given Provider and sets the registered
IndividualStateListener s. |
DefaultIndividualFactory |
The
DefaultIndividualFactory is a creator for standard
Individual s. |
DoubleValue | |
Individual |
The
Individual class forms a single solution for the given
optimization problem. |
IndividualSet | |
IntegerValue | |
Objective |
The
Objective is the identifier for a single objective in the
Objectives . |
Objectives |
Enum | Description |
---|---|
Individual.State |
The possible states of an
Individual . |
Objective.Sign |
The sign of the
Objective . |
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
Genotype
is the genetic representation of an
Individual
. The package org.opt4j.genotype
contains predefined Genotype
classes like for binary
strings or Double
vectors that allow a modular assembly.
For each optimization problem, the user needs to choose the genetic
representation which fits the search space best.Object
is the decoded representation of
an Individual
.Objectives
Objectives
contain the results of the
evaluated Objective
s for a phenotype. The
Objectives
represent the fitness of the
Individual
. To support multi-objective optimization,
an Objective
represents one dimension in the objective
space. After the evaluation of the phenotype, the
Objectives
hold a Value
for
each Objective
.
Individual
s can be grouped in an
IndividualSet
which informs
IndividualSetListener
s when changed. New
Individual
s should be created using the
IndividualFactory
.