]> git.donarmstrong.com Git - mothur.git/blob - parsimony.h
parsimony command now uses groups, fixed bug with unweighted groups
[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                 
27         private:
28                 GlobalData* globaldata;
29                 EstOutput data;
30                 TreeMap* tmap;
31                 bool inUsersGroups(string);
32                 map<string, int>::iterator it;
33 };
34
35 /***********************************************************************/
36 #endif