Class GenerationalDistance

  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
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


public MetricsUtil utils_
Constructor Detail


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

Method Detail


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

front - The front
trueParetoFront - The true pareto front


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