Package org.uma.jmetal.util.point.impl
Class ArrayPoint
java.lang.Object
org.uma.jmetal.util.point.impl.ArrayPoint
- All Implemented Interfaces:
Point
- Direct Known Subclasses:
IdealPoint,NadirPoint
Class representing a point (i.e, an array of double values)
- Author:
- Antonio J. Nebro
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorArrayPoint(double[] point) Constructor from an array of double valuesArrayPoint(int dimension) ConstructorArrayPoint(Point point) Copy constructor -
Method Summary
-
Field Details
-
point
protected double[] point
-
-
Constructor Details
-
ArrayPoint
public ArrayPoint()Default constructor -
ArrayPoint
public ArrayPoint(int dimension) Constructor- Parameters:
dimension- Dimension of the point
-
ArrayPoint
-
ArrayPoint
public ArrayPoint(double[] point) Constructor from an array of double values- Parameters:
point-
-
-
Method Details
-
dimension
-
values
-
value
-
value
-
update
-
set
-
toString
-
equals
-
hashCode
-