X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedace.h;fp=sharedace.h;h=9ea0d6a1c901e3fb73d296d1a31c35ff11a76539;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hp=0000000000000000000000000000000000000000;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a;p=mothur.git diff --git a/sharedace.h b/sharedace.h new file mode 100644 index 0000000..9ea0d6a --- /dev/null +++ b/sharedace.h @@ -0,0 +1,32 @@ +#ifndef SHAREDACE_H +#define SHAREDACE_H +/* + * sharedace.h + * Dotur + * + * Created by Sarah Westcott on 1/8/09. + * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. + * + */ + +/* This class implements the SharedAce estimator on two groups. +It is a child of the calculator class. */ + +#include "calculator.h" + +/***********************************************************************/ + +class SharedAce : public Calculator { + +public: + SharedAce(int n=10) : abund(n), Calculator("sharedace", 1, false) {}; + EstOutput getValues(SAbundVector*) {return data;}; + EstOutput getValues(vector); + string getCitation() { return "http://www.mothur.org/wiki/SharedAce"; } +private: + int abund; +}; + +/***********************************************************************/ + +#endif