]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.h
added Jensen-Shannon calc. working on get.communitytype command. fixed bug in get...
[mothur.git] / summarysharedcommand.h
index 8ba9b9fcf3e40b745cf75ddbaccd2f6df8cde652..1b3f16469bfc64345631f489e4c6651895041de0 100644 (file)
@@ -56,6 +56,7 @@
 #include "memchord.h"
 #include "memeuclidean.h"
 #include "mempearson.h"
+#include "sharedjsd.h"
 
 class SummarySharedCommand : public Command {
 
@@ -216,6 +217,8 @@ static DWORD WINAPI MySummarySharedThreadFunction(LPVOID lpParam){
                     sumCalculators.push_back(new MemEuclidean());
                 }else if (pDataArray->Estimators[i] == "mempearson") { 
                     sumCalculators.push_back(new MemPearson());
+                }else if (pDataArray->Estimators[i] == "jsd") {
+                    sumCalculators.push_back(new JSD());
                 }
             }
         }