Documentation of 'com.yahoo.egads.utilities.IdentifiedDoublePoint' Java class
IdentifiedDoublePoint
com.yahoo.egads.utilities

Class IdentifiedDoublePoint

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.commons.math3.ml.clustering.Clusterable


    public class IdentifiedDoublePoint
    extends org.apache.commons.math3.ml.clustering.DoublePoint
    A simple implementation of Clusterable for points with double coordinates, with an added id.
    Since:
    3.2
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      IdentifiedDoublePoint(double[] point, int id)
      Build an instance wrapping an double array.
      IdentifiedDoublePoint(int[] point, int id)
      Build an instance wrapping an integer array.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getId() 
      • Methods inherited from class org.apache.commons.math3.ml.clustering.DoublePoint

        equals, getPoint, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IdentifiedDoublePoint

        public IdentifiedDoublePoint(double[] point,
                                     int id)
        Build an instance wrapping an double array.

        The wrapped array is referenced, it is not copied.

        Parameters:
        point - the n-dimensional point in double space
      • IdentifiedDoublePoint

        public IdentifiedDoublePoint(int[] point,
                                     int id)
        Build an instance wrapping an integer array.

        The wrapped array is copied to an internal double array.

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

      • getId

        public int getId()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.