Changeset 8 for src/main/java/weka/clusterers/forMetisMQI/Subgraph.java
- Timestamp:
- Sep 11, 2010, 4:12:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/weka/clusterers/forMetisMQI/Subgraph.java
r7 r8 9 9 import java.util.TreeSet; 10 10 import java.util.Map.Entry; 11 12 import weka.clusterers.forMetisMQI.Graph.NodeInfo;13 11 14 12 public class Subgraph { … … 134 132 } 135 133 134 public int getWeight(int u, int v) { 135 int ret = -1; 136 if(isEdge(u,v)) 137 ret = g.getWeight(u, v); 138 return ret; 139 } 140 136 141 public Iterator<Integer> iterator() { 137 142 return listOfNodes.iterator();
Note: See TracChangeset
for help on using the changeset viewer.