]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedrjsd.h
added rjsd calculator. improved work balance load between processors for paralellize...
[mothur.git] / sharedrjsd.h
diff --git a/sharedrjsd.h b/sharedrjsd.h
new file mode 100644 (file)
index 0000000..9c98696
--- /dev/null
@@ -0,0 +1,31 @@
+//
+//  sharedrjsd.h
+//  Mothur
+//
+//  Created by Sarah Westcott on 1/21/14.
+//  Copyright (c) 2014 Schloss Lab. All rights reserved.
+//
+
+#ifndef Mothur_sharedrjsd_h
+#define Mothur_sharedrjsd_h
+
+#include "calculator.h"
+
+/***********************************************************************/
+//Jensen-Shannon divergence (JSD)
+class RJSD : public Calculator  {
+       
+public:
+       RJSD() :  Calculator("rjsd", 1, false) {};
+       EstOutput getValues(SAbundVector*) {return data;};
+       EstOutput getValues(vector<SharedRAbundVector*>);
+       string getCitation() { return "http://www.mothur.org/wiki/RJSD"; }
+private:
+       
+};
+
+/***********************************************************************/
+
+
+
+#endif