X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=coverage.h;h=7b89c1e6f07d420a0e8a1737fc21154d44a411ce;hb=a5af3313f0221a8b41aa362d72eadb60a4dd6e27;hp=7e6430019551b7db843ba178815eb5fbfeef5ae8;hpb=2d2fbc80f9359b19873ba3e63970b58f4f8f49f3;p=mothur.git diff --git a/coverage.h b/coverage.h index 7e64300..7b89c1e 100644 --- a/coverage.h +++ b/coverage.h @@ -5,36 +5,27 @@ * 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(){}; - void getValues(FullMatrix*, float, vector< vector >&); - void getValues(FullMatrix*, float, vector< vector >&, string); //for random matrices - - private: - GlobalData* globaldata; - int numGroups, numUserGroups; - +public: + Coverage() : Calculator("coverage", 1, false) {}; + EstOutput getValues(SAbundVector*); + EstOutput getValues(vector) {return data;}; }; /***********************************************************************/ - - -#endif \ No newline at end of file +#endif