]> git.donarmstrong.com Git - mothur.git/blob - weighted.h
7e4be7c6d0f4ebc95c7d3a224ba3c5e71a4e6d06
[mothur.git] / weighted.h
1 #ifndef WEIGHTED_H
2 #define WEIGHTED_H
3
4
5 /*
6  *  weighted.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 Weighted : public TreeCalculator  {
20         
21         public:
22                 Weighted(TreeMap* t) : tmap(t) {};
23                 ~Weighted() {};
24                 EstOutput getValues(Tree*);
25                 
26         private:
27                 GlobalData* globaldata;
28                 EstOutput data;
29                 TreeMap* tmap;
30                 map<string, int>::iterator it;
31                 map<string, float> WScore; //a score for each group combination i.e. AB, AC, BC.
32 };
33
34 /***********************************************************************/
35
36
37 #endif