X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedjsd.h;fp=sharedjsd.h;h=cec0faa190db3ddb05d8e045a41acf5d39b40d66;hb=a2cde58c1e72199498a2142983ef040dce36da10;hp=0000000000000000000000000000000000000000;hpb=3e8b80da722e11c72bce957e2f42a6e884dd02b6;p=mothur.git diff --git a/sharedjsd.h b/sharedjsd.h new file mode 100644 index 0000000..cec0faa --- /dev/null +++ b/sharedjsd.h @@ -0,0 +1,30 @@ +// +// sharedjsd.h +// Mothur +// +// Created by SarahsWork on 12/9/13. +// Copyright (c) 2013 Schloss Lab. All rights reserved. +// + +#ifndef Mothur_sharedjsd_h +#define Mothur_sharedjsd_h + +#include "calculator.h" + +/***********************************************************************/ +//Jensen-Shannon divergence (JSD) +class JSD : public Calculator { + +public: + JSD() : Calculator("jsd", 1, false) {}; + EstOutput getValues(SAbundVector*) {return data;}; + EstOutput getValues(vector); + string getCitation() { return "http://www.mothur.org/wiki/JSD"; } +private: + +}; + +/***********************************************************************/ + + +#endif