- Timestamp:
- Sep 17, 2010, 6:04:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/weka/clusterers/forMetisMQI/graph/Subgraph.java
r13 r15 204 204 @Override 205 205 public String toString() { 206 String out = "["; 206 if(getVertexCount() == 0) 207 return "[]"; 208 StringBuffer out =new StringBuffer("["); 207 209 Iterator<Node> it = nodes.iterator(); 208 210 while(it.hasNext()) { 209 211 Node u = it.next(); 210 out = out + u + ","; 211 } 212 out = out + "]"; 213 return out; 212 out.append(u.toString() + ","); 213 } 214 out.setLength(out.length() - 1); 215 out.append("]"); 216 return out.toString(); 214 217 } 215 218
Note: See TracChangeset
for help on using the changeset viewer.