ClusteringStopCondition
index
../../../../piana/code/Clustering/ClusteringStopCondition.py

File        : ClusteringStopCondition.py
Author      : Pablo Boixeda & Ramon Aragues
Creation    : 4.2005
Contents    : Class used to know when clustering should stop
Called from : Clustering.py
 
=======================================================================================================
 
This class determines when the clustering process should be halted and clusters at that level returned as answer.
 
Attention: It has to be overriden by the specific clustering that is being carried out

 
Classes
       
__builtin__.object
ClusteringStopCondition

 
class ClusteringStopCondition(__builtin__.object)
    Class used to know when clustering should stop
This class determines when the clustering process should be halted and clusters at that level returned as answer.
 
  Methods defined here:
__init__(self)
set here values that will be used to calculate if stop condition is met
condition_is_met(self)
This method returns true if stop condition is met. False otherwise.
 
We use the similarity matrix to calculate if the clustering must stop or not.

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'ClusteringStopCondition' objects>
list of weak references to the object (if defined)