X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sparsedistancematrix.h;h=6c6bbe5a03d2c378c146539b3c20d5f3fd8755c3;hp=f18fdd7db9a0351ba59aa38adabf3365fe0221c2;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=f687723a8357916e86a05116978e6869b039ce36 diff --git a/sparsedistancematrix.h b/sparsedistancematrix.h index f18fdd7..6c6bbe5 100644 --- a/sparsedistancematrix.h +++ b/sparsedistancematrix.h @@ -46,17 +46,21 @@ public: void resize(ull n) { seqVec.resize(n); } void clear(); void addCell(ull, PDistCell); + int addCellSorted(ull, PDistCell); vector > seqVec; + private: PDistCell smallCell; //The cell with the smallest distance int numNodes; bool sorted; int sortSeqVec(); + int sortSeqVec(int); float smallDist, aboveCutoff; MothurOut* m; + }; /***********************************************************************/