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>
public static class KMeansClusterer.NotEnoughClustersException
- extends 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
KMeansClusterer.NotEnoughClustersException
public KMeansClusterer.NotEnoughClustersException()
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Copyright © 2009. All Rights Reserved.