Package org.opt4j.core.domination
Class ParetoDomination
java.lang.Object
org.opt4j.core.domination.ParetoDomination
- All Implemented Interfaces:
DominationStrategy
The
DominationStrategy
Pareto-Domination.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
dominates
(double[] va, double[] vb) boolean
dominates
(Objectives o1, Objectives o2) Checks twoObjectives
for domination.boolean
weaklyDominates
(double[] va, double[] vb) boolean
weaklyDominates
(Objectives o1, Objectives o2) Checks twoObjectives
for weak domination.
-
Constructor Details
-
ParetoDomination
public ParetoDomination()
-
-
Method Details
-
dominates
Checks twoObjectives
for domination. The dominance relation is Pareto-Domination.- Specified by:
dominates
in interfaceDominationStrategy
- Parameters:
o1
- the objectives to checko2
- the objectives to compare with- Returns:
true
, ifo1
dominateso2
false
, otherwise
-
dominates
public boolean dominates(double[] va, double[] vb) - Parameters:
va
- array of objective valuesvb
- array of objective values- Returns:
true
, ifva
dominatesvb
,false
, otherwise
-
weaklyDominates
Checks twoObjectives
for weak domination. The dominance relation is Pareto-Domination.- Specified by:
weaklyDominates
in interfaceDominationStrategy
- Parameters:
o1
- the objectives to checko2
- the objectives to compare with- Returns:
true
, ifo1
weakly dominateso2
false
, otherwise
-
weaklyDominates
public boolean weaklyDominates(double[] va, double[] vb) - Parameters:
va
- array of objective valuesvb
- array of objective values- Returns:
true
, ifva
weakly dominatesvb
,false
, otherwise
-