- //cout << "matrix contains " << numDists << " distances." << endl;
-
- /* int lines = cutoff / (1.0/precision);
- vector<float> dist_cutoff(lines+1,0);
- for (int i = 0; i <= lines;i++) {
- dist_cutoff[i] = (i + 0.5) / precision;
- }
- vector<int> dist_count(lines+1,0);
- list<PCell>::iterator currentCell;
- SparseMatrix* smatrix = globaldata->gSparseMatrix;
- for (currentCell = smatrix->begin(); currentCell != smatrix->end(); currentCell++) {
- for (int i = 0; i <= lines;i++) {
- if (currentCell->dist < dist_cutoff[i]) {
- dist_count[i]++;
- break;
- }
- }
- }
-*/
- // string dist_string = "Dist:";
- // string count_string = "Count: ";
- //for (int i = 0; i <= lines;i++) {
- //dist_string = dist_string.append("\t").append(toString(dist_cutoff[i]));
- // count_string = count_string.append("\t").append(toString(dist_count[i]));
- // }
- //m->mothurOut(dist_string); m->mothurOutEndLine(); m->mothurOut(count_string); m->mothurOutEndLine();