org.moeaframework.core.comparator
Class EpsilonBoxDominanceComparator
java.lang.Object
org.moeaframework.core.comparator.EpsilonBoxObjectiveComparator
org.moeaframework.core.comparator.EpsilonBoxDominanceComparator
All Implemented Interfaces: Serializable , DominanceComparator
public class EpsilonBoxDominanceComparator extends EpsilonBoxObjectiveComparator implements Serializable
Compares two solutions using aggregate constraint violations and the
additive ε-box objective comparator. This is similar to the
method used in ParetoDominanceComparator , differing only in the
use of ε-box dominance when comparing the objectives.
See Also: AggregateConstraintComparator ,
EpsilonBoxObjectiveComparator ,
Serialized Form
Method Summary
int
compare (Solution solution1,
Solution solution2)
Compares the two solutions using the additive ε-box dominance
relation.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
EpsilonBoxDominanceComparator
public EpsilonBoxDominanceComparator (double epsilon)
Constructs a dominance comparator for comparing solutions first using the
AggregateConstraintComparator followed by the
EpsilonBoxObjectiveComparator with the specified ε value.
Parameters: epsilon - the epsilon value used by this comparator
EpsilonBoxDominanceComparator
public EpsilonBoxDominanceComparator (double[] epsilons)
Constructs a dominance comparator for comparing solutions first using the
AggregateConstraintComparator followed by the
EpsilonBoxObjectiveComparator with the specified ε value.
Parameters: epsilons - the epsilon values used by this comparator
compare
public int compare (Solution solution1,
Solution solution2)
Description copied from class: EpsilonBoxObjectiveComparator
Compares the two solutions using the additive ε-box dominance
relation.
Specified by: compare in interface DominanceComparator Overrides: compare in class EpsilonBoxObjectiveComparator
Parameters: solution1 - the first solutionsolution2 - the second solution
Returns: -1 if solution1 dominates solution2,
1 if solution2 dominates solution1, and
0 if the solutions are non-dominated
Copyright 2009-2015 MOEA Framework. All rights reserved. Licensed under the GNU Lesser General Public License . Return to the MOEA Framework homepage . Hosted by