X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=shen.h;fp=shen.h;h=ad0eda47c54b7d8c0f081e908471ab16eb85d717;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hp=0000000000000000000000000000000000000000;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a;p=mothur.git diff --git a/shen.h b/shen.h new file mode 100644 index 0000000..ad0eda4 --- /dev/null +++ b/shen.h @@ -0,0 +1,35 @@ +#ifndef SHEN_H +#define SHEN_H + +/* + * shen.h + * Mothur + * + * Created by Thomas Ryabin on 5/18/09. + * Copyright 2009Schloss Lab UMASS Amherst. All rights reserved. + * + */ + +#include "calculator.h" + +/* This class implements the shen calculator on single group. + It is a child of the calculator class. */ + +/***********************************************************************/ + +class Shen : public Calculator { + +public: + Shen(int size, int n) : f(size), abund(n), Calculator("shen", 1, false) {}; + EstOutput getValues(SAbundVector*); + EstOutput getValues(vector) {return data;}; + string getCitation() { return "http://www.mothur.org/wiki/Shen"; } +private: + int f; + int abund; +}; + + +/***********************************************************************/ + +#endif