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