jmetal.qualityIndicator
Class GeneralizedSpread

java.lang.Object
  extended by jmetal.qualityIndicator.GeneralizedSpread

public class GeneralizedSpread
extends java.lang.Object

This class implements the generalized spread metric for two or more dimensions. It can be used also as command line program just by typing. $ java jmetal.qualityIndicator.GeneralizedSpread Reference: A. Zhou, Y. Jin, Q. Zhang, B. Sendhoff, and E. Tsang Combining model-based and genetics-based offspring generation for multi-objective optimization using a convergence criterion, 2006 IEEE Congress on Evolutionary Computation, 2006, pp. 3234-3241.


Field Summary
static MetricsUtil utils_
           
 
Constructor Summary
GeneralizedSpread()
          Constructor Creates a new instance of GeneralizedSpread
 
Method Summary
 double generalizedSpread(double[][] paretoFront, double[][] paretoTrueFront, int numberOfObjectives)
          Calculates the generalized spread metric.
static void main(java.lang.String[] args)
          This class can be invoked from the command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

utils_

public static MetricsUtil utils_
Constructor Detail

GeneralizedSpread

public GeneralizedSpread()
Constructor Creates a new instance of GeneralizedSpread

Method Detail

generalizedSpread

public double generalizedSpread(double[][] paretoFront,
                                double[][] paretoTrueFront,
                                int numberOfObjectives)
Calculates the generalized spread metric. Given the pareto front, the true pareto front as double [] and the number of objectives, the method return the value for the metric.

Parameters:
paretoFront - The pareto front.
paretoTrueFront - The true pareto front.
numberOfObjectives - The number of objectives.
Returns:
the value of the generalized spread metric

main

public static void main(java.lang.String[] args)
This class can be invoked from the command line. Three params are required: 1) the name of the file containing the front, 2) the name of the file containig the true Pareto front 3) the number of objectives