Class Individual

java.lang.Object
org.opt4j.core.Individual
Direct Known Subclasses:
Particle

public class Individual extends Object

The Individual class forms a single solution for the given optimization problem.

An Individual contains the Genotype, Phenotype, and Objectives: Initially, the Individual contains only a Genotype. The Decoder decodes the Genotype into a Phenotype and adds it to the Individual. Finally, the Phenotype is evaluated and the resulting Objectives are added to the Individual.

See Also: