jmetal.qualityIndicator
Class GenerationalDistance
java.lang.Object
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)
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 |
utils_
public MetricsUtil utils_
GenerationalDistance
public GenerationalDistance()
- Constructor.
Creates a new instance of the generational distance metric.
generationalDistance
public double generationalDistance(double[][] front,
double[][] trueParetoFront,
int numberOfObjectives)
- Returns the generational distance value for a given front
- Parameters:
front
- The fronttrueParetoFront
- 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