Class ArrayFront
java.lang.Object
org.uma.jmetal.util.legacy.front.impl.ArrayFront
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructorArrayFront(int numberOfPoints, int dimensions) ConstructorArrayFront(String fileName) ConstructorArrayFront(String fileName, String separator) ArrayFront(List<? extends Solution<?>> solutionList) ConstructorArrayFront(Front front) Copy Constructor -
Method Summary
Modifier and TypeMethodDescriptioncreateInputStream(String fileName) booleandouble[][]intgetPoint(int index) intinthashCode()voidvoidsort(Comparator<Point> comparator) toString()
-
Field Details
-
points
-
numberOfPoints
protected int numberOfPoints
-
-
Constructor Details
-
ArrayFront
public ArrayFront()Constructor -
ArrayFront
-
ArrayFront
Copy Constructor -
ArrayFront
public ArrayFront(int numberOfPoints, int dimensions) Constructor -
ArrayFront
- Throws:
FileNotFoundException
-
ArrayFront
Constructor- Parameters:
fileName- File containing the data. Each line of the file is a list of objective values- Throws:
FileNotFoundException
-
-
Method Details
-
createInputStream
- Throws:
FileNotFoundException
-
getNumberOfPoints
public int getNumberOfPoints()- Specified by:
getNumberOfPointsin interfaceFront
-
getPointDimensions
public int getPointDimensions()- Specified by:
getPointDimensionsin interfaceFront
-
getPoint
-
setPoint
-
sort
-
equals
-
hashCode
-
toString
-
getMatrix
-