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