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
Genotypeis the genetic representation of anIndividual. The packageorg.opt4j.genotypecontains predefinedGenotypeclasses that allow a modular assembly. Thus, usually you do not have to write your customGenotype. Phenotype- The
Phenotyperepresents a solution of the optimization problem. Creator- The task of the
Creatoris the creation of randomGenotypes. Decoder- The task of the
Decoderis the decoding from a givenGenotypeto a correspondingPhenotype. Evaluator- The task of the
Evaluatoris the evaluation ofPhenotypes to theObjectives.
Additional information about the problem should be contained in an user defined class that is injected as needed.
-
ClassDescriptionThe
PhenotypeWrappermight be used if the phenotype class of a given problem is already defined and cannot be extended with thePhenotypemarker interface.TheProblemModuleis an abstract module class for the binding of theCreator,Decoder, andEvaluator.