Skip navigation links

Package org.opt4j.core

Provides the classes that join the problem and optimizer.

See: Description

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.

Skip navigation links