]> git.donarmstrong.com Git - mothur.git/blobdiff - shannon.h
Initial revision
[mothur.git] / shannon.h
diff --git a/shannon.h b/shannon.h
new file mode 100644 (file)
index 0000000..223bc90
--- /dev/null
+++ b/shannon.h
@@ -0,0 +1,33 @@
+#ifndef SHANNON_H
+#define SHANNON_H
+/*
+ *  shannon.h
+ *  Dotur
+ *
+ *  Created by Sarah Westcott on 1/7/09.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+
+/* This class implements the Shannon estimator on single group. 
+It is a child of the calculator class. */
+
+
+#include <Carbon/Carbon.h>
+#include "calculator.h"
+
+/***********************************************************************/
+
+class Shannon : public Calculator  {
+       
+public:
+       Shannon() : Calculator("Shannon", 3) {};
+       EstOutput getValues(SAbundVector* rank);
+       EstOutput getValues(SharedRAbundVector*, SharedRAbundVector*) {return data;};
+private:
+       
+};
+
+/***********************************************************************/
+
+#endif