Changeset 29c136 in git
- Timestamp:
- Sep 30, 2010, 3:02:45 PM (13 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 8eda39598bf5a0767209a0c1a874ffbdbfead64b
- Parents:
- d2ea299b0b4e5a97bdd5d6bd73f96ec8a53ee4bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/MinorProcessor.cc
rd2ea299 r29c136 158 158 159 159 bool MinorProcessor::setNextKeys(const int k) 160 { bool b = false; bool c = false; 161 if (b) printf("1_minor = %s\n", _minor.toString().c_str()); 162 if (b) printf("1_container = %s\n", _container.toString().c_str()); 163 if (c) printf("###1\n"); 160 { 164 161 /* This method moves _minor to the next valid (k x k)-minor within 165 162 _container. It returns true iff this is successful, i.e. iff … … 170 167 to compute the first (k x k)-minor. */ 171 168 _minor.selectFirstRows(k, _container); 172 if (b) printf("21_minor = %s\n", _minor.toString().c_str());173 if (b) printf("21_container = %s\n", _container.toString().c_str());174 if (c) printf("###21\n");175 169 _minor.selectFirstColumns(k, _container); 176 if (b) printf("22_minor = %s\n", _minor.toString().c_str());177 if (b) printf("22_container = %s\n", _container.toString().c_str());178 if (c) printf("###22\n");179 170 return true; 180 171 } … … 183 174 /* Here we were able to pick a next subset of columns 184 175 within the same subset of rows. */ 185 if (b) printf("3_minor = %s\n", _minor.toString().c_str());186 if (b) printf("3_container = %s\n", _container.toString().c_str());187 if (c) printf("###3\n");188 176 return true; 189 177 } … … 194 182 subset of rows. We must hence reset the subset of columns: */ 195 183 _minor.selectFirstColumns(k, _container); 196 if (b) printf("4_minor = %s\n", _minor.toString().c_str());197 if (b) printf("4_container = %s\n", _container.toString().c_str());198 if (c) printf("###4\n");199 184 return true; 200 185 } … … 204 189 of columns nor of rows. I.e., we have iterated through 205 190 all sensible choices of subsets of rows and columns. */ 206 if (b) printf("5_minor = %s\n", _minor.toString().c_str());207 if (b) printf("5_container = %s\n", _container.toString().c_str());208 if (c) printf("###5\n");209 191 return false; 210 192 }
Note: See TracChangeset
for help on using the changeset viewer.