]> git.donarmstrong.com Git - mothur.git/blob - parsimony.h
sffinfo bug with flow grams right index when clipQualRight=0
[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 "counttable.h"
16
17 /***********************************************************************/
18
19 class Parsimony : public TreeCalculator  {
20         
21         public:
22                 Parsimony() {};
23                 ~Parsimony() {};
24                 EstOutput getValues(Tree*, int, string);
25                 
26         private:
27                 struct linePair {
28                         int start;
29                         int num;
30                         linePair(int i, int j) : start(i), num(j) {}
31                 };
32                 vector<linePair> lines;
33         
34                 EstOutput data;
35                 int processors;
36                 string outputDir;
37         
38                 EstOutput driver(Tree*, vector< vector<string> >, int, int, CountTable*); 
39                 EstOutput createProcesses(Tree*, vector< vector<string> >, CountTable*);
40 };
41
42 /***********************************************************************/
43
44 #endif