Ignore:
Timestamp:
Sep 14, 2010, 2:11:28 PM (14 years ago)
Author:
gnappo
Message:

Migrato il resto del codice verso Jung.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/weka/clusterers/SimpleClusterer.java

    r7 r9  
    22
    33
    4 import weka.clusterers.forMetisMQI.Graph;
    54import weka.clusterers.forMetisMQI.GraphAlgorithms;
     5import weka.clusterers.forMetisMQI.UndirectedGraph;
    66import weka.core.Capabilities;
    77import weka.core.Instance;
     
    2222                getCapabilities().testWithFail(data);
    2323               
    24                 Graph g = new Graph(data);
     24                UndirectedGraph g = new UndirectedGraph();
     25                g.loadFromInstance(data);
    2526                GraphAlgorithms ga = new GraphAlgorithms();
    2627                ga.METIS(g);
Note: See TracChangeset for help on using the changeset viewer.