Class MinMaxDominanceComparator

java.lang.Object
org.moeaframework.core.comparator.ChainedComparator
org.moeaframework.algorithm.single.MinMaxDominanceComparator
All Implemented Interfaces:
Comparator<Solution>, AggregateObjectiveComparator, DominanceComparator

public class MinMaxDominanceComparator extends ChainedComparator implements AggregateObjectiveComparator
Weighted min-max aggregate function that supports constraints.
See Also:
  • Constructor Details

    • MinMaxDominanceComparator

      public MinMaxDominanceComparator(double... weights)
      Constructs a new dominance comparator using a weighted min-max aggregate function and constraints. One weight should be given for each objective; if fewer weights are provided, the last weight is repeated for the remaining objectives. Defaults to weights of 1.0 if none are provided.
      Parameters:
      weights - the weight vector
  • Method Details