]> git.donarmstrong.com Git - mothur.git/blobdiff - unweighted.h
adding treeclimber and unifrac pieces
[mothur.git] / unweighted.h
diff --git a/unweighted.h b/unweighted.h
new file mode 100644 (file)
index 0000000..d39b5e7
--- /dev/null
@@ -0,0 +1,37 @@
+#ifndef UNWEIGHTED_H
+#define UNWEIGHTED_H
+
+
+/*
+ *  unweighted.h
+ *  Mothur
+ *
+ *  Created by Sarah Westcott on 2/9/09.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+
+#include "treecalculator.h"
+#include "treemap.h"
+
+/***********************************************************************/
+
+class Unweighted : public TreeCalculator  {
+       
+       public:
+               Unweighted(TreeMap* t) : tmap(t) {};
+               ~Unweighted() {};
+               EstOutput getValues(Tree*);
+               
+       private:
+               EstOutput data;
+               vector<int> penalty;
+               TreeMap* tmap;
+
+};
+
+/***********************************************************************/
+
+
+
+#endif
\ No newline at end of file