]> git.donarmstrong.com Git - mothur.git/blobdiff - boneh.h
Revert to previous commit
[mothur.git] / boneh.h
diff --git a/boneh.h b/boneh.h
new file mode 100644 (file)
index 0000000..d16ffa7
--- /dev/null
+++ b/boneh.h
@@ -0,0 +1,35 @@
+#ifndef BONEH_H
+#define BONEH_H
+
+/*
+ *  boneh.h
+ *  Mothur
+ *
+ *  Created by Thomas Ryabin on 5/13/09.
+ *  Copyright 2009Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+
+#include "calculator.h"
+
+/* This class implements the boneh calculator on single group. 
+ It is a child of the calculator class. */
+
+/***********************************************************************/
+
+class Boneh : public Calculator  {
+       
+public: 
+       Boneh(int size) : f(size), Calculator("boneh", 1, false) {};
+       EstOutput getValues(SAbundVector*);     
+       EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
+       string getCitation() { return "http://www.mothur.org/wiki/Boneh"; }
+private:
+       double getV(double, double, double);
+       int f;
+};
+
+
+/***********************************************************************/
+
+#endif