X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=simpson.h;fp=simpson.h;h=d3d93a74965dad446b1bb18ae9df11c921bb4e59;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hp=0000000000000000000000000000000000000000;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a;p=mothur.git diff --git a/simpson.h b/simpson.h new file mode 100644 index 0000000..d3d93a7 --- /dev/null +++ b/simpson.h @@ -0,0 +1,31 @@ +#ifndef SIMPSON_H +#define SIMPSON_H +/* + * simpson.h + * Dotur + * + * Created by Sarah Westcott on 1/7/09. + * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. + * + */ + +/* This class implements the Simpson estimator on single group. +It is a child of the calculator class. */ + + +#include "calculator.h" + +/***********************************************************************/ + +class Simpson : public Calculator { + +public: + Simpson() : Calculator("simpson", 3, false) {}; + EstOutput getValues(SAbundVector*); + EstOutput getValues(vector) {return data;}; + string getCitation() { return "http://www.mothur.org/wiki/Simpson"; } +}; + +/***********************************************************************/ + +#endif