MOEA Framework 2.1
API Specification

org.moeaframework.core.indicator
Class Normalizer

java.lang.Object
  extended by org.moeaframework.core.indicator.Normalizer

public class Normalizer
extends Object

Normalizes populations so that all objectives reside in the range [0, 1]. This normalization ignores infeasible solutions, so the resulting normalized population contains no infeasible solutions. A reference set should be used to ensure the normalization is uniformly applied.


Constructor Summary
Normalizer(Problem problem, double[] minimum, double[] maximum)
          Constructs a normalizer for normalizing population so that all objectives reside in the range [0, 1].
Normalizer(Problem problem, Population population)
          Constructs a normalizer for normalizing populations so that all objectives reside in the range [0, 1].
 
Method Summary
 NondominatedPopulation normalize(NondominatedPopulation population)
          Returns a new non-dominated population containing the normalized solutions from the specified population.
 Population normalize(Population population)
          Returns a new population containing the normalized solutions from the specified population.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Normalizer

public Normalizer(Problem problem,
                  Population population)
Constructs a normalizer for normalizing populations so that all objectives reside in the range [0, 1]. This constructor derives the minimum and maximum bounds from the given population.

Parameters:
problem - the problem
population - the population defining the minimum and maximum bounds
Throws:
IllegalArgumentException - if the population set contains fewer than two solutions, or if there exists an objective with an empty range

Normalizer

public Normalizer(Problem problem,
                  double[] minimum,
                  double[] maximum)
Constructs a normalizer for normalizing population so that all objectives reside in the range [0, 1]. This constructor allows defining the minimum and maximum bounds explicitly.

Parameters:
problem - the problem
minimum - the minimum bounds of each objective
maximum - the maximum bounds of each objective
Method Detail

normalize

public NondominatedPopulation normalize(NondominatedPopulation population)
Returns a new non-dominated population containing the normalized solutions from the specified population.

Parameters:
population - the population
Returns:
a new non-dominated population containing the normalized solutions from the specified population

normalize

public Population normalize(Population population)
Returns a new population containing the normalized solutions from the specified population.

Parameters:
population - the population
Returns:
a new population containing the normalized solutions from the specified population

MOEA Framework 2.1
API Specification

Copyright 2009-2014 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Hosted by Get MOEA Framework at SourceForge.net. Fast, secure and Free Open Source software downloads