Ignore:
Timestamp:
Sep 17, 2010, 6:04:18 PM (14 years ago)
Author:
gnappo
Message:

Individuazione del miglioramento del taglio: tentativi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/weka/clusterers/forMetisMQI/GraphAlgorithms.java

    r14 r15  
    5757        static public Set<Set<Node>> metisMqi(UndirectedGraph g, int numberOfCluster, int sizeFinerGraph) {
    5858                Set<Set<Node>> clusters = new HashSet<Set<Node>>();
     59                Util.viewGraph(g);
    5960                for (int i = 0; i < numberOfCluster; i++) {
    6061                        Bisection partition = metis(g,sizeFinerGraph);
    6162                        Set<Node> cluster = MQI.mqi(partition);
    6263                        clusters.add(cluster);
     64                        System.out.println("CLUSTER "+ i + ": " + cluster);
    6365                }
    6466                return clusters;
Note: See TracChangeset for help on using the changeset viewer.