de.uni_leipzig.bf.cluster.harden
Class QualityMeasure

java.lang.Object
  extended by de.uni_leipzig.bf.cluster.harden.QualityMeasure
Direct Known Subclasses:
QualityMeasureRelativeFlow, QualityMeasureSilhouette

public abstract class QualityMeasure
extends java.lang.Object

Is an abstract base class for a concrete QualityMeasure implementation.

 

Constructor Summary
QualityMeasure()
           
 
Method Summary
 java.util.HashMap<java.util.TreeSet<java.lang.Integer>,java.lang.Double> getQuality(java.util.Set<java.util.TreeSet<java.lang.Integer>> clusters, java.util.TreeSet<java.lang.Integer> blackList, ClusterGraph clusterGraph)
          Gets the quality for a Set with the overloaded method getQuality(TreeSet, TreeSet, ClusterGraph), and ignores null and empty TreeSets in clusters.
abstract  double getQuality(java.util.TreeSet<java.lang.Integer> clusters, java.util.TreeSet<java.lang.Integer> blackList, ClusterGraph clusterGraph)
          Implement this abstract method for your concrete QualityMeasure class.
 java.lang.String toString()
          Gets this class name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QualityMeasure

public QualityMeasure()
Method Detail

getQuality

public java.util.HashMap<java.util.TreeSet<java.lang.Integer>,java.lang.Double> getQuality(java.util.Set<java.util.TreeSet<java.lang.Integer>> clusters,
                                                                                           java.util.TreeSet<java.lang.Integer> blackList,
                                                                                           ClusterGraph clusterGraph)
Gets the quality for a Set with the overloaded method getQuality(TreeSet, TreeSet, ClusterGraph), and ignores null and empty TreeSets in clusters.


getQuality

public abstract double getQuality(java.util.TreeSet<java.lang.Integer> clusters,
                                  java.util.TreeSet<java.lang.Integer> blackList,
                                  ClusterGraph clusterGraph)
Implement this abstract method for your concrete QualityMeasure class.


toString

public java.lang.String toString()
Gets this class name.

Overrides:
toString in class java.lang.Object