]> git.donarmstrong.com Git - mothur.git/blobdiff - suffixdb.hpp
fixed problem with class.fy.seqs where group totals did not add up. added constructo...
[mothur.git] / suffixdb.hpp
index f211aa7ba7f612613419c54e551cb0755d2dffc7..4dc7e0fadd0cc1575250da05029d3ef32b388894 100644 (file)
@@ -26,12 +26,22 @@ class SuffixTree;
 class SuffixDB : public Database {
        
 public:
-       SuffixDB(string);
+       SuffixDB(int);
+       SuffixDB();
        ~SuffixDB();
-       Sequence findClosestSequence(Sequence*);
+       
+       void generateDB() {}; //adding sequences generates the db
+       void addSequence(Sequence);
+       vector<int> findClosestSequences(Sequence*, int);
+       
+       #ifdef USE_MPI  
+       int MPISend(int); //just sends numSeqs
+       int MPIRecv(int);
+       #endif
 
 private:
        vector<SuffixTree> suffixForest;
+       int count;
 };
 
 #endif