1 #ifndef PHYLODIVERSITY_H
2 #define PHYLODIVERSITY_H
9 * Created by westcott on 4/30/10.
10 * Copyright 2010 Schloss Lab. All rights reserved.
15 #include "globaldata.hpp"
16 #include "mothurout.h"
18 typedef vector<double> EstOutput;
20 /***********************************************************************/
22 class PhyloDiversity {
25 PhyloDiversity(TreeMap* t) : tmap(t) { globaldata = GlobalData::getInstance(); m = MothurOut::getInstance(); }
28 EstOutput getValues(Tree*, vector<int>);
29 void setTotalGroupBranchLengths(Tree*);
32 GlobalData* globaldata;
36 map<string, float> groupTotals;
39 /***********************************************************************/