]> git.donarmstrong.com Git - mothur.git/blobdiff - ace.h
Revert to previous commit
[mothur.git] / ace.h
diff --git a/ace.h b/ace.h
new file mode 100644 (file)
index 0000000..ce56b76
--- /dev/null
+++ b/ace.h
@@ -0,0 +1,33 @@
+#ifndef ACE_H
+#define ACE_H
+
+/*
+ *  ace.h
+ *  Dotur
+ *
+ *  Created by Sarah Westcott on 1/7/09.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+
+/* This class implements the Ace estimator on a single group. 
+It is a child of the calculator class. */
+
+#include "calculator.h"
+
+/***********************************************************************/
+
+class Ace : public Calculator  {
+       
+public:
+       Ace(int n) : abund(n), Calculator("ace", 3, false) {};
+       EstOutput getValues(SAbundVector*);
+       EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
+       string getCitation() { return "http://www.mothur.org/wiki/Ace"; }
+private:
+       int abund;
+};
+
+/***********************************************************************/
+
+#endif