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 Weighted : public TreeCalculator {
22 Weighted(TreeMap* t) : tmap(t) {};
25 EstOutput getValues(Tree*, string, string);
26 EstOutput getValues(Tree*, int, string);
32 linePair(int i, int j) : start(i), num(j) {}
34 vector<linePair> lines;
36 GlobalData* globaldata;
39 map<string, int>::iterator it;
40 map<string, double> WScore; //a score for each group combination i.e. AB, AC, BC.
44 EstOutput driver(Tree*, vector< vector<string> >, int, int);
45 EstOutput createProcesses(Tree*, vector< vector<string> >);
46 double getLengthToRoot(Tree*, int, string, string);
49 /***********************************************************************/