Package org.opt4j.core.domination
Class ConstraintDomination
java.lang.Object
org.opt4j.core.domination.ConstraintDomination
- All Implemented Interfaces:
DominationStrategy
This class implements
It needs a
DominationStrategy. The dominance relation is
constraint-domination as described in K. Deb, A. Pratap, S. Agarwal, and T.
Meyarivan, "A fast and elitist multiobjective genetic algorithm : Nsga-ii,"
Evolutionary Computation, IEEETransactions on, vol. 6, no. 2, pp. 182-197,
August 2002.
It needs a
ConstraintChecker that checks infeasibility and/or
satisfaction constraints.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classData structure to save information about objectives in the cache of the strategy classConstraintDomination. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstraintDomination(ConstraintChecker checker, DominationStrategy feasibleStrategy) -
Method Summary
Modifier and TypeMethodDescriptionbooleandominates(Objectives o1, Objectives o2) Checks twoObjectivesfor domination.booleanweaklyDominates(Objectives o1, Objectives o2) Checks twoObjectivesfor weak domination.
-
Field Details
-
constraintChecker
-
feasibleStrategy
-
cache
-
-
Constructor Details
-
ConstraintDomination
-
-
Method Details
-
dominates
Checks twoObjectivesfor domination. The dominance relation is Constraint-Domination.- Specified by:
dominatesin interfaceDominationStrategy- Parameters:
o1- the objectives to checko2- the objectives to compare with- Returns:
true, ifo1dominateso2
false, otherwise
-
weaklyDominates
Checks twoObjectivesfor weak domination. The dominance relation is Constraint-Domination.- Specified by:
weaklyDominatesin interfaceDominationStrategy- Parameters:
o1- the objectives to checko2- the objectives to compare with- Returns:
true, ifo1weakly dominateso2
false, otherwise
-