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:
Serializable
- Enclosing class:
KMeansClusterer<T>
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.)- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotEnoughClustersException
public NotEnoughClustersException()
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-