|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uci.ics.jung.algorithms.cluster.ClusterSet
edu.uci.ics.jung.algorithms.cluster.VertexClusterSet
A ClusterSet where each cluster is a set of vertices
| Constructor Summary | |
VertexClusterSet(Graph underlyingGraph)
Constructs and initializes the set |
|
| Method Summary | |
ClusterSet |
createEquivalentClusterSet(Graph anotherGraph)
Creates a new cluster set where each vertex and cluster in the new cluster set correspond 1-to-1 with those in the original graph |
Graph |
getClusterAsNewSubGraph(int index)
Constructs a new graph from the given cluster |
| Methods inherited from class edu.uci.ics.jung.algorithms.cluster.ClusterSet |
addCluster, getCluster, getClusters, getUnderlyingGraph, iterator, size, sort |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VertexClusterSet(Graph underlyingGraph)
underlyingGraph - | Method Detail |
public Graph getClusterAsNewSubGraph(int index)
getClusterAsNewSubGraph in class ClusterSetindex - the position index of the cluster in the collection
public ClusterSet createEquivalentClusterSet(Graph anotherGraph)
createEquivalentClusterSet in class ClusterSetanotherGraph - a new graph whose vertices are equivalent to those in the original graph
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||