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, vector<double>&);
26 EstOutput getValues(Tree*, int, string);
28 vector<double> getBranchLengthSums(Tree*);
34 linePair(int i, int j) : start(i), num(j) {}
36 vector<linePair> lines;
38 GlobalData* globaldata;
41 map<string, int>::iterator it;
42 map<string, double> WScore; //a score for each group combination i.e. AB, AC, BC.
46 EstOutput driver(Tree*, vector< vector<string> >, int, int, vector<double>&);
47 EstOutput createProcesses(Tree*, vector< vector<string> >, vector<double>&);
50 /***********************************************************************/