Class FrontUtils

java.lang.Object
org.uma.jmetal.util.legacy.front.util.FrontUtils

@Deprecated public class FrontUtils extends Object
Deprecated.
A Front is a list of points. This class includes utilities to work with Front objects.
Author:
Antonio J. Nebro <antonio@lcc.uma.es>
  • Constructor Details

    • FrontUtils

      public FrontUtils()
      Deprecated.
  • Method Details

    • getMaximumValues

      public static double[] getMaximumValues(Front front)
      Deprecated.
      Gets the maximum values for each objectives in a front
      Parameters:
      front - A front of objective values
      Returns:
      double [] An array with the maximum values for each objective
    • getMinimumValues

      public static double[] getMinimumValues(Front front)
      Deprecated.
      Gets the minimum values for each objectives in a given front
      Parameters:
      front - The front
      Returns:
      double [] An array with the minimum value for each objective
    • distanceToNearestPoint

      public static double distanceToNearestPoint(Point point, Front front)
      Deprecated.
      Gets the distance between a point and the nearest one in a front. If a distance equals to 0 is found, that means that the point is in the front, so it is excluded
      Parameters:
      point - The point
      front - The front that contains the other points to calculate the distances
      Returns:
      The minimum distance between the point and the front
    • distanceToNearestPoint

      public static double distanceToNearestPoint(Point point, Front front, Distance<double[],double[]> distance)
      Deprecated.
      Gets the distance between a point and the nearest one in a front. If a distance equals to 0 is found, that means that the point is in the front, so it is excluded
      Parameters:
      point - The point
      front - The front that contains the other points to calculate the distances
      Returns:
      The minimum distance between the point and the front
    • distanceToClosestPoint

      public static double distanceToClosestPoint(Point point, Front front)
      Deprecated.
      Gets the distance between a point and the nearest one in a given front. The Euclidean distance is assumed
      Parameters:
      point - The point
      front - The front that contains the other points to calculate the distances
      Returns:
      The minimum distance between the point and the front
    • distanceToClosestPoint

      public static double distanceToClosestPoint(Point point, Front front, Distance<double[],double[]> distance)
      Deprecated.
      Gets the distance between a point and the nearest one in a given front
      Parameters:
      point - The point
      front - The front that contains the other points to calculate the distances
      Returns:
      The minimum distance between the point and the front
    • getInvertedFront

      public static Front getInvertedFront(Front front)
      Deprecated.
      This method receives a normalized pareto front and return the inverted one. This method is for minimization problems
      Parameters:
      front - The pareto front to inverse
      Returns:
      The inverted pareto front
    • convertFrontToArray

      public static double[][] convertFrontToArray(Front front)
      Deprecated.
      Given a front, converts it to an array of double values
      Parameters:
      front -
      Returns:
      A front as double[][] array
    • convertFrontToSolutionList

      public static List<PointSolution> convertFrontToSolutionList(Front front)
      Deprecated.
      Given a front, converts it to a Solution set of PointSolutions
      Parameters:
      front -
      Returns:
      A front as a List