X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=distancedb.hpp;h=2624d6d6440190520e02af09c43264bf365c9f33;hp=bfb5090bcda99d7396bfcf0092048c6d3e10eb49;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=4a2d841cb97fb02351022efe9d7068b1dc212bf9 diff --git a/distancedb.hpp b/distancedb.hpp index bfb5090..2624d6d 100644 --- a/distancedb.hpp +++ b/distancedb.hpp @@ -22,7 +22,8 @@ public: ~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