X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=distancedb.hpp;h=d7e05db85afed819b9f2d26c99d06c1426ca19f9;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=bfb5090bcda99d7396bfcf0092048c6d3e10eb49;hpb=4a2d841cb97fb02351022efe9d7068b1dc212bf9;p=mothur.git diff --git a/distancedb.hpp b/distancedb.hpp index bfb5090..d7e05db 100644 --- a/distancedb.hpp +++ b/distancedb.hpp @@ -19,10 +19,12 @@ class DistanceDB : public Database { public: DistanceDB(); + DistanceDB(const DistanceDB& ddb); ~DistanceDB() { delete distCalculator; } void generateDB() {} //doesn't generate a search db - void addSequence(Sequence); + void addSequence(Sequence); + string getName(int i) { return data[i].getName(); } vector findClosestSequences(Sequence*, int); // returns indexes of n closest sequences to query #ifdef USE_MPI