Changeset 28 for src/main


Ignore:
Timestamp:
Oct 13, 2010, 11:34:27 AM (14 years ago)
Author:
gnappo
Message:

Versione per la dimostrazione.

Location:
src/main/java/weka/clusterers/forMetisMQI
Files:
2 edited

Legend:

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

    r26 r28  
    165165                boolean finished = false;
    166166                Bisection bisection = partition;
    167                 Set<Node> cluster = new HashSet<Node>(partition.getLargerSubgraph()
     167                Set<Node> cluster = new HashSet<Node>(partition.getSmallerSubgraph()
    168168                                .createInducedSubgraph().getVertices());
    169169//              System.out.println("IMPROVING SUBGRAPH: " + cluster);
  • src/main/java/weka/clusterers/forMetisMQI/util/Random.java

    r26 r28  
    1515        public static Random instance() {
    1616                if(instance == null) {
    17                         instance = new Random(new java.util.Random().nextLong()/*1234567890*/);
     17                        instance = new Random(/*new java.util.Random().nextLong()*/1234567890);
    1818                }
    1919                return instance;
Note: See TracChangeset for help on using the changeset viewer.