]> git.donarmstrong.com Git - mothur.git/blob - bstick.h
changed random forest output filename
[mothur.git] / bstick.h
1 #ifndef BSTICK_H
2 #define BSTICK_H
3 /*
4  *  bstick.h
5  *  Mothur
6  *
7  *  Created by Thomas Ryabin on 3/6/09.
8  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
9  *
10  */
11 #include "calculator.h"
12
13 /*This class implements the BStick estimator on single group. 
14 It is a child of the calculator class.*/ 
15
16 /***********************************************************************/
17
18 class BStick : public Calculator  {
19         
20 public:
21         BStick() : Calculator("bstick", 3, false) {};
22         EstOutput getValues(SAbundVector*);
23         EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
24         string getCitation() { return "http://www.mothur.org/wiki/Bstick"; }
25 private:
26         double invSum(int, double);
27         RAbundVector getRAbundVector(SAbundVector*);
28         RAbundVector rdata;
29 };
30
31 /***********************************************************************/
32
33 #endif