]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedace.h
Initial revision
[mothur.git] / sharedace.h
diff --git a/sharedace.h b/sharedace.h
new file mode 100644 (file)
index 0000000..fead251
--- /dev/null
@@ -0,0 +1,33 @@
+#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 <Carbon/Carbon.h>
+#include "calculator.h"
+
+/***********************************************************************/
+
+class SharedAce : public Calculator  {
+       
+public:
+       SharedAce(int n=10) : abund(n),  Calculator("SharedAce", 3) {};
+       EstOutput getValues(SAbundVector*) {return data;};
+       EstOutput getValues(SharedRAbundVector*, SharedRAbundVector*);
+private:
+       int abund;
+};
+
+/***********************************************************************/
+#endif
+