Package org.opt4j.core.problem
package org.opt4j.core.problem
Provides the classes for the optimization problem. A problem is defined by the following classes:
Genotype
-
The
Genotype
is the genetic representation of anIndividual
. The packageorg.opt4j.genotype
contains predefinedGenotype
classes that allow a modular assembly. Thus, usually you do not have to write your customGenotype
. Phenotype
- The
Phenotype
represents a solution of the optimization problem. Creator
- The task of the
Creator
is the creation of randomGenotype
s. Decoder
- The task of the
Decoder
is the decoding from a givenGenotype
to a correspondingPhenotype
. Evaluator
- The task of the
Evaluator
is the evaluation ofPhenotype
s to theObjectives
.
Additional information about the problem should be contained in an user defined class that is injected as needed.
-
ClassDescriptionThe
PhenotypeWrapper
might be used if the phenotype class of a given problem is already defined and cannot be extended with thePhenotype
marker interface.TheProblemModule
is an abstract module class for the binding of theCreator
,Decoder
, andEvaluator
.