Class EuclideanIntegerPoint

java.lang.Object
org.apache.commons.math.stat.clustering.EuclideanIntegerPoint
All Implemented Interfaces:
Serializable, Clusterable<EuclideanIntegerPoint>

public class EuclideanIntegerPoint extends Object implements Clusterable<EuclideanIntegerPoint>, Serializable
A simple implementation of Clusterable for points with integer coordinates.
Since:
2.0
See Also:
  • Constructor Details

    • EuclideanIntegerPoint

      public EuclideanIntegerPoint(int[] point)
      Build an instance wrapping an integer array.

      The wrapped array is referenced, it is not copied.

      Parameters:
      point - the n-dimensional point in integer space
  • Method Details