]> git.donarmstrong.com Git - mothur.git/blobdiff - weighted.h
mods to trim.seqs
[mothur.git] / weighted.h
index 3fed6f5e90757ef699e7c4e68c1c7ccd954f9109..11cd26b2d9642cb2679a0f3dfc06d930c15127f0 100644 (file)
@@ -21,18 +21,33 @@ class Weighted : public TreeCalculator  {
        public:
                Weighted(TreeMap* t) : tmap(t) {};
                ~Weighted() {};
-               EstOutput getValues(Tree*);
+               
                EstOutput getValues(Tree*, string, string);
+               EstOutput getValues(Tree*, int, string);
                
        private:
+               struct linePair {
+                       int start;
+                       int num;
+                       linePair(int i, int j) : start(i), num(j) {}
+               };
+               vector<linePair> lines;
+
                GlobalData* globaldata;
                EstOutput data;
                TreeMap* tmap;
                map<string, int>::iterator it;
                map<string, double> WScore; //a score for each group combination i.e. AB, AC, BC.
+               int processors;
+               string outputDir;
+               map< vector<string>, set<int> > rootForGrouping;  //maps a grouping combo to the root for that combo
+               
+               EstOutput driver(Tree*, vector< vector<string> >, int, int); 
+               EstOutput createProcesses(Tree*, vector< vector<string> >);
+               double getLengthToRoot(Tree*, int, string, string);
 };
 
 /***********************************************************************/
 
 
-#endif
\ No newline at end of file
+#endif