jmetal.qualityIndicator
Class GenerationalDistance

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

public class GenerationalDistance
extends java.lang.Object

This class implements the generational distance indicator. It can be used also as a command line by typing: "java jmetal.qualityIndicator.GenerationalDistance " Reference: Van Veldhuizen, D.A., Lamont, G.B.: Multiobjective Evolutionary Algorithm Research: A History and Analysis. Technical Report TR-98-03, Dept. Elec. Comput. Eng., Air Force Inst. Technol. (1998)


Field Summary
 MetricsUtil utils_
           
 
Constructor Summary
GenerationalDistance()
          Constructor.
 
Method Summary
 double generationalDistance(double[][] front, double[][] trueParetoFront, int numberOfObjectives)
          Returns the generational distance value for a given front
static void main(java.lang.String[] args)
          This class can be invoqued 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 MetricsUtil utils_
Constructor Detail

GenerationalDistance

public GenerationalDistance()
Constructor. Creates a new instance of the generational distance metric.

Method Detail

generationalDistance

public double generationalDistance(double[][] front,
                                   double[][] trueParetoFront,
                                   int numberOfObjectives)
Returns the generational distance value for a given front

Parameters:
front - The front
trueParetoFront - The true pareto front

main

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