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