]> git.donarmstrong.com Git - mothur.git/blobdiff - simpson.h
Initial revision
[mothur.git] / simpson.h
diff --git a/simpson.h b/simpson.h
new file mode 100644 (file)
index 0000000..968d5a1
--- /dev/null
+++ b/simpson.h
@@ -0,0 +1,31 @@
+#ifndef SIMPSON_H
+#define SIMPSON_H
+/*
+ *  simpson.h
+ *  Dotur
+ *
+ *  Created by Sarah Westcott on 1/7/09.
+ *  Copyright 2009 Schloss Lab Umass Amherst. All rights reserved.
+ *
+ */
+
+/* This class implements the Simpson estimator on single group. 
+It is a child of the calculator class. */
+
+
+#include <Carbon/Carbon.h>
+#include "calculator.h"
+
+/***********************************************************************/
+
+class Simpson : public Calculator  {
+
+public:
+       Simpson() : Calculator("Simpson", 3) {};
+       EstOutput getValues(SAbundVector*);
+       EstOutput getValues(SharedRAbundVector*, SharedRAbundVector*) {return data;};
+};
+
+/***********************************************************************/
+
+#endif
\ No newline at end of file