|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.problem.OptimisationProblemAdapter net.sourceforge.cilib.moo.criterion.CriterionBasedMOProblemAdapter
public class CriterionBasedMOProblemAdapter
Serves as an adapter for a MOOptimisationProblem
and converts it to a
single-objective optimisation problem by selecting one of the sub-objectives
as its active objective. This functionality is required by Criterion-based
Multi-objective algorithms where the search process focusses only on one of the
sub-objectives at a time or in a Multi-population, criterion-based multi-objective
algorithm where each sub-population focusses on a different objective. (see
MultiPopulationCriterionBasedAlgorithm
where an
ObjectiveAssignmentStrategy
is used to assign the different sub-objectives
to different sub-populations.
Field Summary |
---|
Fields inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter |
---|
dataSetBuilder, fitnessEvaluations |
Constructor Summary | |
---|---|
CriterionBasedMOProblemAdapter(CriterionBasedMOProblemAdapter copy)
|
|
CriterionBasedMOProblemAdapter(MOOptimisationProblem problem)
|
Method Summary | |
---|---|
protected Fitness |
calculateFitness(Type solution)
Determine the Fitness of the current Problem instance
based on the provided solution . |
OptimisationProblem |
getActiveOptimisationProblem()
|
DomainRegistry |
getBehaviouralDomain()
Returns the domain component that describes the search space of the needed behavioral characteristics of the problem. |
CriterionBasedMOProblemAdapter |
getClone()
Create a cloned copy of the current object and return it. |
DomainRegistry |
getDomain()
Returns the domain component that describes the search space for this problem. |
List<OptimisationProblem> |
getOptimisationProblems()
|
void |
setActiveOptimisationProblem(OptimisationProblem problem)
|
Methods inherited from class net.sourceforge.cilib.problem.OptimisationProblemAdapter |
---|
accept, changeEnvironment, getChangeStrategy, getDataSetBuilder, getFitness, getFitnessEvaluations, setChangeStrategy, setDataSetBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CriterionBasedMOProblemAdapter(MOOptimisationProblem problem)
public CriterionBasedMOProblemAdapter(CriterionBasedMOProblemAdapter copy)
Method Detail |
---|
public CriterionBasedMOProblemAdapter getClone()
OptimisationProblem
getClone
in interface OptimisationProblem
getClone
in interface Problem
getClone
in interface Cloneable
getClone
in class OptimisationProblemAdapter
Object.clone()
public OptimisationProblem getActiveOptimisationProblem()
public void setActiveOptimisationProblem(OptimisationProblem problem)
public List<OptimisationProblem> getOptimisationProblems()
protected Fitness calculateFitness(Type solution)
OptimisationProblemAdapter
Fitness
of the current Problem
instance
based on the provided solution
.
calculateFitness
in class OptimisationProblemAdapter
solution
- The Type
representing the candidate solution.
Fitness
of the solution
in the current Problem.OptimisationProblemAdapter.getFitness(Type, boolean)
public DomainRegistry getBehaviouralDomain()
OptimisationProblem
public DomainRegistry getDomain()
OptimisationProblem
DomainRegistry
object representing the search space.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |