Class NormalizedIndicator

java.lang.Object
org.moeaframework.core.indicator.NormalizedIndicator
All Implemented Interfaces:
Indicator
Direct Known Subclasses:
AdditiveEpsilonIndicator, GenerationalDistance, GenerationalDistancePlus, InvertedGenerationalDistance, InvertedGenerationalDistancePlus, 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. See DefaultNormalizer for details on how normalization can be customized.
      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, 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 - a user-provided normalizer, or null to use the default
  • 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