Class NormalizedIndicator

java.lang.Object
org.moeaframework.core.indicator.NormalizedIndicator
All Implemented Interfaces:
Indicator
Direct Known Subclasses:
AdditiveEpsilonIndicator, GenerationalDistance, InvertedGenerationalDistance, MaximumParetoFrontError, NativeHypervolume, PISAHypervolume, RIndicator, WFGNormalizedHypervolume

public abstract class NormalizedIndicator extends Object implements Indicator
Abstract class for indicators that require normalized approximation and reference sets.
  • Field Details

    • problem

      protected final Problem problem
      The problem.
  • Constructor Details

    • NormalizedIndicator

      public NormalizedIndicator(Problem problem, NondominatedPopulation referenceSet)
      Constructs a normalized indicator for the specified problem and corresponding reference set.
      Parameters:
      problem - the problem
      referenceSet - the reference set for the problem
      Throws:
      IllegalArgumentException - if the reference set contains fewer than two solutions
    • NormalizedIndicator

      public NormalizedIndicator(Problem problem, NondominatedPopulation referenceSet, double[] referencePoint)
      Constructs a normalized indicator for the specified problem and corresponding reference set. This version allows the use of a custom reference point.
      Parameters:
      problem - the problem
      referenceSet - the reference set for the problem
      referencePoint - the reference point (used for hypervolume calculations)
      Throws:
      IllegalArgumentException - if the reference set contains fewer than two solutions
    • NormalizedIndicator

      public NormalizedIndicator(Problem problem, NondominatedPopulation referenceSet, double[] minimum, double[] maximum)
      Constructs a normalized indicator for the specified problem and corresponding reference set. This version allows the use of a custom minimum and maximum bounds.
      Parameters:
      problem - the problem
      referenceSet - the reference set for the problem
      minimum - the minimum bounds
      maximum - the maximum bounds
    • NormalizedIndicator

      public NormalizedIndicator(Problem problem, NondominatedPopulation referenceSet, Normalizer normalizer)
      Constructs a normalized indicator for the specified problem, reference set, and normalizer.
      Parameters:
      problem - the problem
      referenceSet - the reference set for the problem
      normalizer - the normalizer
  • Method Details

    • normalize

      protected NondominatedPopulation normalize(NondominatedPopulation approximationSet)
      Normalizes the specified approximation set.
      Parameters:
      approximationSet - the approximation set to be normalized
      Returns:
      a new population representing the normalized approximation set
    • getNormalizedReferenceSet

      protected NondominatedPopulation getNormalizedReferenceSet()
      Returns the normalized reference set.
      Returns:
      the normalized reference set