Package org.opt4j.core

Provides the classes that join the problem and optimizer.

See:
          Description

Interface Summary
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 The IndividualStateListener receives notifications of an Individual changing its Individual.State.
Value<V> The Value represents the result for an Objective.
 

Class Summary
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 The DoubleValue is a Value with a Double as value.
Individual The Individual class forms a single solution for the given optimization problem.
IndividualSet The IndividualSet is a Set of Individuals.
IntegerValue The IntegerValue is a Value with an Integer as value.
Objective The Objective is the identifier for a single objective in the Objectives.
Objectives The Objectives contains the Objective-Values pairs of an Individual.
 

Enum Summary
Individual.State The possible states of an Individual.
Objective.Sign The sign of the Objective.
 

Package org.opt4j.core Description

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 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.
phenotype
The phenotype Object is the decoded representation of an Individual.
Objectives
The Objectives 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.