]> git.donarmstrong.com Git - mothur.git/blob - distancedb.hpp
started work on classify.seqs command. changed the database class so that it does...
[mothur.git] / distancedb.hpp
1 #ifndef DISTANCEDB_HPP
2 #define DISTANCEDB_HPP
3
4 /*
5  *  distancedb.hpp
6  *  
7  *
8  *  Created by Pat Schloss on 12/29/08.
9  *  Copyright 2008 Patrick D. Schloss. All rights reserved.
10  *
11  */
12
13
14 #include "mothur.h"
15
16 class DistanceDB : public Database {
17         
18 public:
19
20         DistanceDB(string, string);
21         vector<int> findClosestSequences(Sequence*, int);
22         
23 private:
24
25         struct hit{
26                 string seqName;
27                 int indexNumber;
28                 float simScore;
29         };
30         
31         vector<hit> mostSimSequenceVector;
32         int searchIndex;
33 };
34
35 #endif