]> git.donarmstrong.com Git - mothur.git/blob - boneh.h
added boneh, efron, and solow calculators
[mothur.git] / boneh.h
1 #ifndef BONEH_H
2 #define BONEH_H
3
4 /*
5  *  boneh.h
6  *  Mothur
7  *
8  *  Created by Thomas Ryabin on 5/13/09.
9  *  Copyright 2009 __MyCompanyName__. All rights reserved.
10  *
11  */
12
13 #include "calculator.h"
14
15 /* This class implements the boneh calculator on single group. 
16  It is a child of the calculator class. */
17
18 /***********************************************************************/
19
20 class Boneh : public Calculator  {
21         
22 public: 
23         Boneh(int size) : m(size), Calculator("boneh", 1, false) {};
24         EstOutput getValues(SAbundVector*);     
25         EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
26 private:
27         double getV(double, double, double);
28         int m;
29 };
30
31
32 /***********************************************************************/
33
34 #endif