| Constructor and Description |
|---|
FrontUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double[][] |
convertFrontToArray(Front front)
Given a front, converts it to an array of double values
|
static List<PointSolution> |
convertFrontToSolutionList(Front front)
Given a front, converts it to a Solution set of PointSolutions
|
static double |
distanceToClosestPoint(Point point,
Front front)
Gets the distance between a point and the nearest one in a given front.
|
static double |
distanceToClosestPoint(Point point,
Front front,
PointDistance distance)
Gets the distance between a point and the nearest one in a given front
|
static double |
distanceToNearestPoint(Point point,
Front front)
Gets the distance between a point and the nearest one in a front.
|
static double |
distanceToNearestPoint(Point point,
Front front,
PointDistance distance)
Gets the distance between a point and the nearest one in a front.
|
static Front |
getInvertedFront(Front front)
This method receives a normalized pareto front and return the inverted one.
|
static double[] |
getMaximumValues(Front front)
Gets the maximum values for each objectives in a front
|
static double[] |
getMinimumValues(Front front)
Gets the minimum values for each objectives in a given front
|
public static double[] getMaximumValues(Front front)
front - A front of objective valuespublic static double[] getMinimumValues(Front front)
front - The frontpublic static double distanceToNearestPoint(Point point, Front front)
point - The pointfront - The front that contains the other points to calculate the distancespublic static double distanceToNearestPoint(Point point, Front front, PointDistance distance)
point - The pointfront - The front that contains the other points to calculate the distancespublic static double distanceToClosestPoint(Point point, Front front)
point - The pointfront - The front that contains the other points to calculate the
distancespublic static double distanceToClosestPoint(Point point, Front front, PointDistance distance)
point - The pointfront - The front that contains the other points to calculate the
distancespublic static Front getInvertedFront(Front front)
front - The pareto front to inversepublic static double[][] convertFrontToArray(Front front)
front - public static List<PointSolution> convertFrontToSolutionList(Front front)
front - Copyright © 2017. All rights reserved.