]> git.donarmstrong.com Git - mothur.git/blobdiff - knn.h
started work on classify.seqs command. changed the database class so that it does...
[mothur.git] / knn.h
diff --git a/knn.h b/knn.h
new file mode 100644 (file)
index 0000000..15a33b0
--- /dev/null
+++ b/knn.h
@@ -0,0 +1,35 @@
+#ifndef KNN_H
+#define KNN_H
+
+/*
+ *  knn.h
+ *  Mothur
+ *
+ *  Created by westcott on 11/4/09.
+ *  Copyright 2009 Schloss Lab. All rights reserved.
+ *
+ */
+#include "mothur.h"
+#include "classify.h"
+
+/**************************************************************************************************/
+
+class Knn : public Classify {
+       
+public:
+       Knn(string, string, string, int, int, int, int, int, int);
+       ~Knn() {};
+       
+       string getTaxonomy(Sequence*);
+       
+private:
+       int num;
+       string findCommonTaxonomy(vector<string>);
+};
+
+/**************************************************************************************************/
+
+#endif
+
+