| Interface | Description |
|---|---|
| Genotype |
The
Genotype represents a marker interface. |
| IndividualFactory |
The
IndividualFactory is a creator for Individuals. |
| 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 Individuals using a
given Provider and sets the registered
IndividualStateListeners. |
| DefaultIndividualFactory |
The
DefaultIndividualFactory is a creator for standard
Individuals. |
| 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.
GenotypeGenotype 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.ObjectivesObjectives contain the results of the
evaluated Objectives 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.
Individuals can be grouped in an
IndividualSet which informs
IndividualSetListeners when changed. New
Individuals should be created using the
IndividualFactory.