9 * Created by Sarah Westcott on 2/9/09.
10 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
14 #include "treecalculator.h"
17 /***********************************************************************/
19 class Unweighted : public TreeCalculator {
22 Unweighted(TreeMap* t, bool r) : tmap(t), includeRoot(r) {};
24 EstOutput getValues(Tree*, int, string);
25 EstOutput getValues(Tree*, string, string, int, string);
31 linePair(int i, int j) : start(i), num(j) {}
33 vector<linePair> lines;
35 GlobalData* globaldata;
40 map< vector<string>, set<int> > rootForGrouping; //maps a grouping combo to the roots for that combo
43 EstOutput driver(Tree*, vector< vector<string> >, int, int);
44 EstOutput createProcesses(Tree*, vector< vector<string> >);
45 EstOutput driver(Tree*, vector< vector<string> >, int, int, bool);
46 EstOutput createProcesses(Tree*, vector< vector<string> >, bool);
47 int getRoot(Tree*, int, vector<string>);
50 /***********************************************************************/