For every ColPartition in the grid, sets its type based on position in the columns.
| 1336 | // For every ColPartition in the grid, sets its type based on position |
| 1337 | // in the columns. |
| 1338 | void ColumnFinder::SetPartitionTypes() { |
| 1339 | GridSearch<ColPartition, ColPartition_CLIST, ColPartition_C_IT> |
| 1340 | gsearch(&part_grid_); |
| 1341 | gsearch.StartFullSearch(); |
| 1342 | ColPartition* part; |
| 1343 | while ((part = gsearch.NextFullSearch()) != NULL) { |
| 1344 | part->SetPartitionType(resolution_, best_columns_[gsearch.GridY()]); |
| 1345 | } |
| 1346 | } |
| 1347 | |
| 1348 | // Only images remain with multiple types in a run of partners. |
| 1349 | // Sets the type of all in the group to the maximum of the group. |
nothing calls this directly
no test coverage detected