8 * Created by Sarah Westcott on 1/7/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
13 /* This class implements the Sobs estimator on single group.
14 It is a child of the calculator class. */
17 #include "calculator.h"
19 /***********************************************************************/
21 class Sobs : public Calculator {
24 Sobs() : Calculator("sobs", 1, false) {};
25 EstOutput getValues(SAbundVector* rank){
27 data[0] = (double)rank->getNumBins();
30 EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
31 string getCitation() { return "http://www.mothur.org/wiki/Sobs"; }
34 /***********************************************************************/