edu.uci.ics.jung.algorithms.cluster
Class KMeansClusterer.NotEnoughClustersException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byedu.uci.ics.jung.algorithms.cluster.KMeansClusterer.NotEnoughClustersException
All Implemented Interfaces:
Serializable
Enclosing class:
KMeansClusterer

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

Constructor Summary
KMeansClusterer.NotEnoughClustersException()
           
 
Method Summary
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KMeansClusterer.NotEnoughClustersException

public KMeansClusterer.NotEnoughClustersException()
Method Detail

getMessage

public String getMessage()