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, false) {};
20 EstOutput getValues(SAbundVector* rank){ return data; };
21 EstOutput getValues(vector<SharedRAbundVector*> shared) {
23 data[0] = (double)shared[0]->getNumSeqs() + (double)shared[1]->getNumSeqs();
26 string getCitation() { return "http://www.mothur.org/wiki/Sharednseqs"; }
29 /***********************************************************************/