]> git.donarmstrong.com Git - mothur.git/blob - geom.h
added the Calculators Thomas made in the fall. Added parameter and command error...
[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 __MyCompanyName__. All rights reserved.
10  *
11  */
12 #include "calculator.h"
13
14 /* This class implements the LogSD 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         Geom() : Calculator("geom", 3) {};
23         EstOutput getValues(SAbundVector*);
24         EstOutput getValues(SharedRAbundVector*, SharedRAbundVector*) {return data;};
25
26 private:
27         double kEq(double, double);
28         RAbundVector getRAbundVector(SAbundVector*);
29         RAbundVector rdata;
30 };
31
32 /***********************************************************************/
33
34 #endif
35
36
37
38
39