Package edu.uci.ics.jung.algorithms.util
Class KMeansClusterer.NotEnoughClustersException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.uci.ics.jung.algorithms.util.KMeansClusterer.NotEnoughClustersException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- KMeansClusterer<T>
public static class KMeansClusterer.NotEnoughClustersException extends java.lang.RuntimeException
An exception that indicates that the specified data points cannot be clustered into the number of clusters requested by the user. This will happen if and only if there are fewer distinct points than requested clusters. (If there are fewer total data points than requested clusters,IllegalArgumentException
will be thrown.)- Author:
- Joshua O'Madadhain
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotEnoughClustersException()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
-