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;
39 map< vector<string>, set<int> > rootForGrouping; //maps a grouping combo to the roots for that combo
42 EstOutput driver(Tree*, vector< vector<string> >, int, int);
43 EstOutput createProcesses(Tree*, vector< vector<string> >);
44 EstOutput driver(Tree*, vector< vector<string> >, int, int, bool);
45 EstOutput createProcesses(Tree*, vector< vector<string> >, bool);
46 int getRoot(Tree*, int, vector<string>);
49 /***********************************************************************/