]> git.donarmstrong.com Git - mothur.git/blob - parsimony.h
working on parallelizing unifrac.weighted.
[mothur.git] / parsimony.h
1 #ifndef PARSIMONY_H
2 #define PARSIMONY_H
3
4
5 /*
6  *  parsimony.h
7  *  Mothur
8  *
9  *  Created by Sarah Westcott on 1/26/09.
10  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
11  *
12  */
13
14 #include "treecalculator.h"
15 #include "treemap.h"
16 #include "globaldata.hpp"
17
18 /***********************************************************************/
19
20 class Parsimony : public TreeCalculator  {
21         
22         public:
23                 Parsimony(TreeMap* t) : tmap(t) {};
24                 ~Parsimony() {};
25                 EstOutput getValues(Tree*);
26                 //EstOutput getValues(Tree*, string, string) { return data; }
27                 
28         private:
29                 GlobalData* globaldata;
30                 Tree* copyTree;
31                 EstOutput data;
32                 TreeMap* tmap;
33                 map<string, int>::iterator it;
34 };
35
36 /***********************************************************************/
37
38 #endif