class Weighted : public TreeCalculator {
public:
- Weighted(TreeMap* t) : tmap(t) {};
+ Weighted(TreeMap* t, bool r) : tmap(t), includeRoot(r) {};
~Weighted() {};
EstOutput getValues(Tree*, string, string);
};
vector<linePair> lines;
- GlobalData* globaldata;
EstOutput data;
TreeMap* tmap;
map<string, int>::iterator it;
int processors;
string outputDir;
map< vector<string>, set<int> > rootForGrouping; //maps a grouping combo to the root for that combo
+ bool includeRoot;
EstOutput driver(Tree*, vector< vector<string> >, int, int);
EstOutput createProcesses(Tree*, vector< vector<string> >);