1 #ifndef SHAREDJACKKNIFE_H
2 #define SHAREDJACKKNIFE_H
8 * Created by Thomas Ryabin on 3/30/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
13 #include "calculator.h"
15 /*This class implements the SharedJackknife estimator.
16 It is a child of the calculator class.*/
18 /***********************************************************************/
20 class SharedJackknife : public Calculator {
23 SharedJackknife() : numGroups(-1), callCount(0), count(0), currentCallDone(true), Calculator("sharedjackknife", 3, false) {};
24 EstOutput getValues(SAbundVector*) {return data;};
25 EstOutput getValues(vector<SharedRAbundVector*>);
26 string getCitation() { return "http://www.mothur.org/wiki/Sharedjackknife"; }
29 int numGroups, callCount, count;
31 vector<SharedRAbundVector*> groups;
32 double simpson(vector<int>, double, int);
36 /***********************************************************************/