public class Spread
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MetricsUtil |
utils_ |
Constructor and Description |
---|
Spread()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
spread(double[][] front,
double[][] trueParetoFront,
int numberOfObjectives)
Calculates the Spread metric.
|
public static MetricsUtil utils_
public double spread(double[][] front, double[][] trueParetoFront, int numberOfObjectives)
double []
, and the number of objectives,
the method returns the value of the metric.front
- The front.trueParetoFront
- The true pareto front.numberOfObjectives
- The number of objectives.