1 //
2 //  metrosichel.hpp
3 //  Mothur
4 //
5 //  Created by Sarah Westcott on 5/3/19.
6 //  Copyright © 2019 Schloss Lab. All rights reserved.
7 //
8 
9 #ifndef metrosichel_hpp
10 #define metrosichel_hpp
11 
12 #include "diversityutils.hpp"
13 #include "diversitycalc.h"
14 
15 //MetroSichel - Fits the compound Poisson Sichel dist
16 /***********************************************************************/
17 
18 class MetroSichel : public DiversityCalculator {
19 
20 public:
21 
22     MetroSichel(int af, double siga, double sigb, double sigg, double sigS, int n, string st);
~MetroSichel()23     ~MetroSichel() {}
24 
25     vector<string> getValues(SAbundVector* rank);
26 
getTag()27     string getTag() { return "si"; }
28 
29 
30 private:
31 
32     double sigmaA, sigmaB, sigmaG, sigmaS;
33     int nIters, fitIters;
34     string outFileStub;
35 
36 };
37 
38 /***********************************************************************/
39 
40 
41 
42 #endif /* metrosichel_hpp */
43