8 * Created by Sarah Westcott on 3/16/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
13 #include "calculator.h"
15 /***********************************************************************/
16 class SharedNSeqs : public Calculator {
19 SharedNSeqs() : Calculator("SharedNSeqs", 1) {};
20 EstOutput getValues(SAbundVector* rank){ return data; };
21 EstOutput getValues(SharedRAbundVector* shared1, SharedRAbundVector* shared2) {
23 data[0] = (double)shared1->getNumSeqs() + (double)shared2->getNumSeqs();
28 /***********************************************************************/