Class Cluster

    • Method Detail

      • getNumArray

        public double[] getNumArray()
        Gets the numArray of this Cluster.
        Returns:
        the numArray of this Cluster
      • getSize

        public long getSize()
        Get the size of this Cluster.
        Returns:
        the size of this Cluster
      • getSumSquaresNumArray

        public double getSumSquaresNumArray()
        Gets the sum of squared values of the numArray of this Cluster.
        Returns:
        the sum of squared values of the numArray of this Cluster
      • builder

        public static Cluster.Builder builder()
        Creates a builder that builds Cluster instances based on defaults: no numArray, no name, no id, size set to -1.
        Returns:
        Cluster.Builder