Interface GeneratorInterface

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double[] computeMean()
      Get the cluster mean vector.
      java.util.List<double[]> generate​(int count)
      Generate a specified number of points
      double getDensity​(double[] p)
      Get the density of the given vector
      int getDim()
      Get dimensionality of generated data
      java.lang.String getName()
      Get cluster name
      int getSize()
      Get number of points to be generated by this generator.
      Model makeModel()
      Make a cluster model for this cluster.
    • Method Detail

      • getSize

        int getSize()
        Get number of points to be generated by this generator.
        Returns:
        cluster size
      • getDim

        int getDim()
        Get dimensionality of generated data
        Returns:
        dimensionality
      • generate

        java.util.List<double[]> generate​(int count)
        Generate a specified number of points
        Parameters:
        count - Number of points to generate
        Returns:
        List of generated points
      • getDensity

        double getDensity​(double[] p)
        Get the density of the given vector
        Parameters:
        p - vector
        Returns:
        density
      • getName

        java.lang.String getName()
        Get cluster name
        Returns:
        cluster name
      • makeModel

        Model makeModel()
        Make a cluster model for this cluster.
        Returns:
        Cluster model
      • computeMean

        double[] computeMean()
        Get the cluster mean vector.
        Returns:
        Cluster mean, or null.