edu.umass.cs.mallet.projects.seg_plus_coref.clustering
Class GraphClustering

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byjava.util.HashSet
              extended byjava.util.LinkedHashSet
                  extended byedu.umass.cs.mallet.projects.seg_plus_coref.clustering.Clustering
                      extended byedu.umass.cs.mallet.projects.seg_plus_coref.clustering.GraphClustering
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.io.Serializable, java.util.Set

public class GraphClustering
extends Clustering

See Also:
Serialized Form

Constructor Summary
GraphClustering(salvo.jesus.graph.WeightedGraph graph, Clustering clusters)
           
 
Method Summary
 double evaluateClustering()
           
 int inSameCluster(Mention v1, Mention v2)
           
 void printClustering()
           
 
Methods inherited from class edu.umass.cs.mallet.projects.seg_plus_coref.clustering.Clustering
getSelectVertices, inSameCluster, print, printDetailed, setSelectVertices
 
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

GraphClustering

public GraphClustering(salvo.jesus.graph.WeightedGraph graph,
                       Clustering clusters)
Method Detail

printClustering

public void printClustering()
Overrides:
printClustering in class Clustering

evaluateClustering

public double evaluateClustering()

inSameCluster

public int inSameCluster(Mention v1,
                         Mention v2)