View Javadoc
1   package edu.uci.ics.jung.algorithms.cluster;
2   
3   import junit.framework.TestCase;
4   import edu.uci.ics.jung.graph.Graph;
5   import edu.uci.ics.jung.graph.util.TestGraphs;
6   
7   public class WeakComponentClustererTest extends TestCase {
8   	
9   	Graph<String,Number> graph =  TestGraphs.getDemoGraph();
10  	
11  	public void testWeakComponent() {
12  		WeakComponentClusterer<String,Number> clusterer = 
13  			new WeakComponentClusterer<String,Number>();
14  //		Set<Set<String>> clusterSet = 
15  		clusterer.apply(graph);
16  //		System.err.println("set is "+clusterSet);
17  	}
18  
19  }