#include "sharedsobs.h"
#include "sharednseqs.h"
#include "sharedjsd.h"
+#include "sharedrjsd.h"
/********************************************************************/
}else if (Estimators[i] == "sharedobserved") { Calculator* temp = new SharedSobs(); m->mothurOut(temp->getName() + ": "); temp->citation(); delete temp;
}else if (Estimators[i] == "kulczynski") { Calculator* temp = new Kulczynski(); m->mothurOut(temp->getName() + ": "); temp->citation(); delete temp;
}else if (Estimators[i] == "jsd") { Calculator* temp = new JSD(); m->mothurOut(temp->getName() + ": "); temp->citation(); delete temp;
+ }else if (Estimators[i] == "rjsd") { Calculator* temp = new RJSD(); m->mothurOut(temp->getName() + ": "); temp->citation(); delete temp;
}else { m->mothurOut("[ERROR]: Missing else if for " + Estimators[i] + " in printCitations."); m->mothurOutEndLine(); }
}else { m->mothurOut(Estimators[i] + " is not a valid calculator, no citation will be given."); m->mothurOutEndLine(); }
}
shared["memchord"] = "memchord";
shared["memeuclidean"] = "memeuclidean";
shared["mempearson"] = "mempearson";
- shared["jsd"] = "jsd";
+ shared["jsd"] = "jsd";
+ shared["rjsd"] = "rjsd";
shared["default"] = "default";
}
catch(exception& e) {
sharedsummary["memchord"] = "memchord";
sharedsummary["memeuclidean"] = "memeuclidean";
sharedsummary["mempearson"] = "mempearson";
- sharedsummary["jsd"] = "jsd";
+ sharedsummary["jsd"] = "jsd";
+ sharedsummary["rjsd"] = "rjsd";
sharedsummary["default"] = "default";
}
catch(exception& e) {
matrix["structchi2"] = "structchi2";
matrix["soergel"] = "soergel";
matrix["spearman"] = "spearman";
- matrix["speciesprofile"] = "speciesprofile";
+ matrix["speciesprofile"] = "speciesprofile";
matrix["hamming"] = "hamming";
matrix["gower"] = "gower";
matrix["memchi2"] = "memchi2";
matrix["memchord"] = "memchord";
matrix["memeuclidean"] = "memeuclidean";
- matrix["mempearson"] = "mempearson";
- matrix["jsd"] = "jsd";
+ matrix["mempearson"] = "mempearson";
+ matrix["rjsd"] = "rjsd";
+ matrix["jsd"] = "jsd";
}
catch(exception& e) {