Package org.opt4j.core.domination
Interface DominationStrategy
- All Known Implementing Classes:
ConstraintDomination
,GoalAttainmentDomination
,ParetoDomination
public interface DominationStrategy
This is the interface for a domination strategy. It is used to compare
Individual
s.- See Also:
-
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.
-
Method Details
-
dominates
Checks twoObjectives
for domination.- Parameters:
o1
- the objectives to checko2
- the objectives to compare with- Returns:
true
, ifo1
dominateso2
false
, otherwise
-
weaklyDominates
Checks twoObjectives
for weak domination.- Parameters:
o1
- the objectives to checko2
- the objectives to compare with- Returns:
true
, ifo1
weakly dominateso2
false
, otherwise
-