]> git.donarmstrong.com Git - mothur.git/blobdiff - solow.h
added boneh, efron, and solow calculators
[mothur.git] / solow.h
diff --git a/solow.h b/solow.h
new file mode 100644 (file)
index 0000000..6d58df2
--- /dev/null
+++ b/solow.h
@@ -0,0 +1,33 @@
+#ifndef SOLOW_H
+#define SOLOW_H
+
+/*
+ *  solow.h
+ *  Mothur
+ *
+ *  Created by Thomas Ryabin on 5/13/09.
+ *  Copyright 2009 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#include "calculator.h"
+
+/* This class implements the solow calculator on single group. 
+ It is a child of the calculator class. */
+
+/***********************************************************************/
+
+class Solow : public Calculator  {
+       
+public: 
+       Solow(int size) : m(size), Calculator("solow", 1, false) {};
+       EstOutput getValues(SAbundVector*);     
+       EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
+private:
+       int m;
+};
+
+
+/***********************************************************************/
+
+#endif