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.
-
Interface Summary Interface Description Creator<G extends Genotype> Decoder<G extends Genotype,P extends Phenotype> Evaluator<P extends Phenotype> -
Class Summary Class Description PhenotypeWrapper<O> ThePhenotypeWrapper
might be used if the phenotype class of a given problem is already defined and cannot be extended with thePhenotype
marker interface.ProblemModule TheProblemModule
is an abstract module class for the binding of theCreator
,Decoder
, andEvaluator
.