]> git.donarmstrong.com Git - mothur.git/blob - unweighted.h
added errorchecking and help info on new unifrac and treeclimber code
[mothur.git] / unweighted.h
1 #ifndef UNWEIGHTED_H
2 #define UNWEIGHTED_H
3
4
5 /*
6  *  unweighted.h
7  *  Mothur
8  *
9  *  Created by Sarah Westcott on 2/9/09.
10  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
11  *
12  */
13
14 #include "treecalculator.h"
15 #include "treemap.h"
16
17 /***********************************************************************/
18
19 class Unweighted : public TreeCalculator  {
20         
21         public:
22                 Unweighted(TreeMap* t) : tmap(t) {};
23                 ~Unweighted() {};
24                 EstOutput getValues(Tree*);
25                 
26         private:
27                 GlobalData* globaldata;
28                 EstOutput data;
29                 vector<int> penalty;
30                 TreeMap* tmap;
31                 bool inUsersGroups(string);
32
33 };
34
35 /***********************************************************************/
36
37
38
39 #endif