public class EpsilonBoxDominanceComparator extends EpsilonBoxObjectiveComparator
ParetoDominanceComparator
, differing only in the
use of ε-box dominance when comparing the objectives.epsilons, isSameBox
Constructor and Description |
---|
EpsilonBoxDominanceComparator(double epsilon)
Constructs a dominance comparator for comparing solutions first using the
AggregateConstraintComparator
followed by the EpsilonBoxObjectiveComparator with the specified ε value. |
EpsilonBoxDominanceComparator(double[] epsilons)
Constructs a dominance comparator for comparing solutions first using the
AggregateConstraintComparator
followed by the EpsilonBoxObjectiveComparator with the specified ε values. |
EpsilonBoxDominanceComparator(Epsilons epsilons)
Constructs a dominance comparator for comparing solutions first using the
AggregateConstraintComparator
followed by the EpsilonBoxObjectiveComparator with the specified ε values. |
Modifier and Type | Method and Description |
---|---|
int |
compare(Solution solution1,
Solution solution2)
Compares the two solutions using the additive ε-box dominance
relation.
|
getEpsilons, isSameBox, setSameBox
public EpsilonBoxDominanceComparator(double epsilon)
AggregateConstraintComparator
followed by the EpsilonBoxObjectiveComparator
with the specified ε value.epsilon
- the ε value used by this comparatorpublic EpsilonBoxDominanceComparator(double[] epsilons)
AggregateConstraintComparator
followed by the EpsilonBoxObjectiveComparator
with the specified ε values.epsilons
- the ε values used by this comparatorpublic EpsilonBoxDominanceComparator(Epsilons epsilons)
AggregateConstraintComparator
followed by the EpsilonBoxObjectiveComparator
with the specified ε values.epsilons
- the ε values used by this comparatorpublic int compare(Solution solution1, Solution solution2)
EpsilonBoxObjectiveComparator
compare
in interface DominanceComparator
compare
in class EpsilonBoxObjectiveComparator
solution1
- the first solutionsolution2
- the second solution-1
if solution1
dominates solution2
,
1
if solution2
dominates solution1
, and
0
if the solutions are non-dominatedCopyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.