7 * Created by Sarah Westcott on 1/7/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
12 /* This class implements the Sobs estimator on single group.
13 It is a child of the calculator class. */
16 #include <Carbon/Carbon.h>
17 #include "calculator.h"
19 /***********************************************************************/
21 class Sobs : public Calculator {
24 Sobs() : Calculator("Sobs", 1) {};
25 EstOutput getValues(SAbundVector* rank){
27 data[0] = (double)rank->getNumBins();
30 EstOutput getValues(SharedRAbundVector* shared1, SharedRAbundVector* shared2) {return data;};
33 /***********************************************************************/