- 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/Bisection.java
r12 r15 139 139 140 140 /** 141 * Returns the smaller subgraph of this bisection.141 * Returns the smaller not empty subgraph of this bisection, null otherwise. 142 142 * @return 143 143 */ 144 public Subgraph getSmallerSubgraph() { 144 public Subgraph getSmallerNotEmptySubgraph() { 145 if(a.getVertexCount() > 0 && b.getVertexCount() == 0) 146 return a; 147 if(b.getVertexCount() > 0 && a.getVertexCount() == 0) 148 return b; 145 149 if(a.getVertexCount() < b.getVertexCount()) 146 150 return a;
Note: See TracChangeset
for help on using the changeset viewer.