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
Modifier and TypeClassDescriptionprotected class
Data structure to save information about objectives in the cache of the strategy classConstraintDomination
. -
Field Summary
-
Constructor Summary
ConstructorDescriptionConstraintDomination
(ConstraintChecker checker, DominationStrategy feasibleStrategy) -
Method Summary
Modifier and TypeMethodDescriptionboolean
dominates
(Objectives o1, Objectives o2) Checks twoObjectives
for domination.boolean
weaklyDominates
(Objectives o1, Objectives o2) Checks twoObjectives
for weak domination.
-
Field Details
-
constraintChecker
-
feasibleStrategy
-
cache
-
-
Constructor Details
-
ConstraintDomination
-
-
Method Details
-
dominates
Checks twoObjectives
for domination. The dominance relation is Constraint-Domination.- Specified by:
dominates
in interfaceDominationStrategy
- Parameters:
o1
- the objectives to checko2
- the objectives to compare with- Returns:
true
, ifo1
dominateso2
false
, otherwise
-
weaklyDominates
Checks twoObjectives
for weak domination. The dominance relation is Constraint-Domination.- Specified by:
weaklyDominates
in interfaceDominationStrategy
- Parameters:
o1
- the objectives to checko2
- the objectives to compare with- Returns:
true
, ifo1
weakly dominateso2
false
, otherwise
-