]> git.donarmstrong.com Git - mothur.git/blobdiff - shannon.h
Revert to previous commit
[mothur.git] / shannon.h
diff --git a/shannon.h b/shannon.h
new file mode 100644 (file)
index 0000000..3d9ecde
--- /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 "calculator.h"
+
+/***********************************************************************/
+
+class Shannon : public Calculator  {
+       
+public:
+       Shannon() : Calculator("shannon", 3, false) {};
+       EstOutput getValues(SAbundVector* rank);
+       EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
+       string getCitation() { return "http://www.mothur.org/wiki/Shannon"; }
+private:
+       
+};
+
+/***********************************************************************/
+
+#endif