Class GreedyClusterer

java.lang.Object
org.ojalgo.data.cluster.FeatureBasedClusterer
org.ojalgo.data.cluster.GreedyClusterer
All Implemented Interfaces:
ClusteringAlgorithm<Point>

final class GreedyClusterer extends FeatureBasedClusterer
  • Field Details

  • Constructor Details

    • GreedyClusterer

      GreedyClusterer(DistanceMeasure measure, double threshold)
  • Method Details

    • cluster

      public List<Set<Point>> cluster(Collection<Point> input)
      Description copied from interface: ClusteringAlgorithm
      Partitions the given items into clusters.
      Parameters:
      input - The items to cluster; must not be null. May be empty.
      Returns:
      A list of clusters; each element of the list is a Set<T> representing one cluster and containing its members. Sets are non-empty and pairwise disjoint; ordering is unspecified.