]> git.donarmstrong.com Git - mothur.git/blob - knn.h
added modify names parameter to set.dir
[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, int);
22         ~Knn();
23         
24         void setDistName(string s);
25         string getTaxonomy(Sequence*);
26         
27 private:
28         int num;
29         string findCommonTaxonomy(vector<string>);
30         string search, outDistName;
31         
32 };
33
34 /**************************************************************************************************/
35
36 #endif
37
38