Package org.opt4j.core.domination
Interface DominationStrategy
-
- All Known Implementing Classes:
ConstraintDomination,GoalAttainmentDomination,ParetoDomination
public interface DominationStrategyThis is the interface for a domination strategy. It is used to compareIndividuals.- See Also:
Objectives.dominates(Objectives)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandominates(Objectives o1, Objectives o2)Checks twoObjectivesfor domination.booleanweaklyDominates(Objectives o1, Objectives o2)Checks twoObjectivesfor weak domination.
-
-
-
Method Detail
-
dominates
boolean dominates(Objectives o1, Objectives o2)
Checks twoObjectivesfor domination.- Parameters:
o1- the objectives to checko2- the objectives to compare with- Returns:
true, ifo1dominateso2
false, otherwise
-
weaklyDominates
boolean weaklyDominates(Objectives o1, Objectives o2)
Checks twoObjectivesfor weak domination.- Parameters:
o1- the objectives to checko2- the objectives to compare with- Returns:
true, ifo1weakly dominateso2
false, otherwise
-
-