]> git.donarmstrong.com Git - mothur.git/blob - knn.h
final fixes for 1.7
[mothur.git] / knn.h
1 #ifndef KNN_H
2 #define KNN_H
3
4 /*
5  *  knn.h
6  *  Mothur
7  *
8  *  Created by westcott on 11/4/09.
9  *  Copyright 2009 Schloss Lab. All rights reserved.
10  *
11  */
12  
13 #include "mothur.h"
14 #include "classify.h"
15
16 /**************************************************************************************************/
17
18 class Knn : public Classify {
19         
20 public:
21         Knn(string, string, string, int, float, float, float, float, int);
22         ~Knn() {};
23         
24         string getTaxonomy(Sequence*);
25         
26 private:
27         int num;
28         string findCommonTaxonomy(vector<string>);
29 };
30
31 /**************************************************************************************************/
32
33 #endif
34
35