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 compareIndividual
s.- See Also:
Objectives.dominates(Objectives)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
dominates(Objectives o1, Objectives o2)
Checks twoObjectives
for domination.boolean
weaklyDominates(Objectives o1, Objectives o2)
Checks twoObjectives
for weak domination.
-
-
-
Method Detail
-
dominates
boolean dominates(Objectives o1, Objectives o2)
Checks twoObjectives
for domination.- Parameters:
o1
- the objectives to checko2
- the objectives to compare with- Returns:
true
, ifo1
dominateso2
false
, otherwise
-
weaklyDominates
boolean weaklyDominates(Objectives o1, Objectives o2)
Checks twoObjectives
for weak domination.- Parameters:
o1
- the objectives to checko2
- the objectives to compare with- Returns:
true
, ifo1
weakly dominateso2
false
, otherwise
-
-