- Timestamp:
- Oct 8, 2010, 10:28:38 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/weka/clusterers/forMetisMQI/GraphAlgorithms.java
r24 r25 92 92 int verboseLevel = Configuration.instance().getVerboseLevel(); 93 93 GraphsFrame gf = GraphsFrame.instance(); 94 System.out.println("Seed: " + Random.instance().getSeed()); 94 95 System.out.println("Vertex count: " + g.getVertexCount()); 95 96 System.out.println("Edges count: " + g.getEdgeCount()); … … 122 123 System.out.println("Partizione raffinata (MQI)"); 123 124 double newConductance = ((double)mqiBisection.edgeCut() / 2) / Math.min(mqiBisection.getSubgraph().totalDegree(),mqiBisection.getComplement().totalDegree()); 124 System.out.println("Conductance: " + newConductance); 125 System.out.println("Cluster "+ i + ": V=" + clusterGraph.getVertexCount() + ", E=" + clusterGraph.getEdgeCount()+"."); 126 System.out.println("Cluster conductance: " + newConductance); 125 127 126 System.out.println("CLUSTER "+ i + ": V=" + clusterGraph.getVertexCount() + ", E=" + clusterGraph.getEdgeCount()+".");127 128 clusters.add(cluster); 128 129 … … 133 134 } 134 135 } 135 if(verboseLevel > 0) 136 if(verboseLevel > 0) { 136 137 gf.addPanel(Util.panelClusters(gclone, clusters)); 137 gf.setVisible(true); 138 gf.setVisible(true); 139 } 138 140 return clusters; 139 141 }
Note: See TracChangeset
for help on using the changeset viewer.