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
Individuals.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleandominates(Objectives o1, Objectives o2) Checks twoObjectivesfor domination.booleanweaklyDominates(Objectives o1, Objectives o2) Checks twoObjectivesfor weak domination.
-
Method Details
-
dominates
Checks twoObjectivesfor domination.- Parameters:
o1- the objectives to checko2- the objectives to compare with- Returns:
true, ifo1dominateso2
false, otherwise
-
weaklyDominates
Checks twoObjectivesfor weak domination.- Parameters:
o1- the objectives to checko2- the objectives to compare with- Returns:
true, ifo1weakly dominateso2
false, otherwise
-