]> git.donarmstrong.com Git - mothur.git/blob - geom.h
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / geom.h
1 #ifndef GEOM_H
2 #define GEOM_H
3
4 /*
5  *  geom.h
6  *  Mothur
7  *
8  *  Created by Thomas Ryabin on 2/23/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12 #include "calculator.h"
13
14 /* This class implements the geometric estimator on single group. 
15 It is a child of the calculator class. */
16
17 /***********************************************************************/
18
19 class Geom : public Calculator  {
20         
21 public:
22
23         Geom() : Calculator("geometric", 3, false) {};
24
25         EstOutput getValues(SAbundVector*);
26         EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
27         string getCitation() { return "http://www.mothur.org/wiki/Geometric"; }
28 private:
29         double kEq(double, double);
30         RAbundVector getRAbundVector(SAbundVector*);
31         RAbundVector rdata;
32 };
33
34 /***********************************************************************/
35
36 #endif
37
38
39
40
41