X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=coverage.h;h=8d6fead9aa33a25cb0fa9b3e1a98a01c61b18722;hp=c556bb206c821d5b8c3245ca09fc0ff1b4a8bc21;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=42b802c0006d8b13bd5b27ea48d032a85d3f2102 diff --git a/coverage.h b/coverage.h index c556bb2..8d6fead 100644 --- a/coverage.h +++ b/coverage.h @@ -5,36 +5,28 @@ * coverage.h * Mothur * - * Created by Sarah Westcott on 3/9/09. - * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. + * Created by Pat Schloss on 4/22/09. + * Copyright 2009 Patrick D. Schloss. All rights reserved. * */ -#include "mothur.h" -#include "fullmatrix.h" -#include "globaldata.hpp" +#include "calculator.h" -using namespace std; +/* This class implements the coverage estimator on single group. + It is a child of the calculator class. */ /***********************************************************************/ -class Coverage { +class Coverage : public Calculator { - public: - Coverage(){}; - ~Coverage(){}; - vector< vector > getValues(FullMatrix*, float); - - private: - GlobalData* globaldata; - vector< vector > data; - int numGroups; - +public: + Coverage() : Calculator("coverage", 1, false) {}; + EstOutput getValues(SAbundVector*); + EstOutput getValues(vector) {return data;}; + string getCitation() { return "http://www.mothur.org/wiki/Coverage"; } }; /***********************************************************************/ - - -#endif \ No newline at end of file +#endif