X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=simpson.h;fp=simpson.h;h=968d5a152a3625429c89af509a13a949604d5759;hb=20a2d0350a737a434c89f303662d64a8eeea7b05;hp=0000000000000000000000000000000000000000;hpb=bbb5879a7e566935c23d63d42bb945072424b939;p=mothur.git diff --git a/simpson.h b/simpson.h new file mode 100644 index 0000000..968d5a1 --- /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 +#include "calculator.h" + +/***********************************************************************/ + +class Simpson : public Calculator { + +public: + Simpson() : Calculator("Simpson", 3) {}; + EstOutput getValues(SAbundVector*); + EstOutput getValues(SharedRAbundVector*, SharedRAbundVector*) {return data;}; +}; + +/***********************************************************************/ + +#endif \ No newline at end of file