Ignore:
Timestamp:
Sep 23, 2010, 10:32:44 AM (14 years ago)
Author:
gnappo
Message:

Modificata strategia individuazione cluster: quelli trovati vengono rimossi.

File:
1 edited

Legend:

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

    r14 r17  
    7474                while (dataIterator.hasNext()) {
    7575                        Instance edge = dataIterator.next();
    76                         Node node1 = new Node(Integer.toString(((int) Math.round(edge.value(from)))));
    77                         Node node2 = new Node(Integer.toString(((int) Math.round(edge.value(to)))));
     76                        Node node1 = new Node(edge.stringValue(from));
     77                        Node node2 = new Node(edge.stringValue(to));
    7878                        addVertex(node1);
    7979                        addVertex(node2);
Note: See TracChangeset for help on using the changeset viewer.