- Timestamp:
- Sep 23, 2010, 10:32:44 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/weka/clusterers/forMetisMQI/graph/UndirectedGraph.java
r14 r17 74 74 while (dataIterator.hasNext()) { 75 75 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)); 78 78 addVertex(node1); 79 79 addVertex(node2);
Note: See TracChangeset
for help on using the changeset viewer.