]> git.donarmstrong.com Git - mothur.git/blobdiff - weighted.h
sped up unifrac weighted.
[mothur.git] / weighted.h
index 7e4be7c6d0f4ebc95c7d3a224ba3c5e71a4e6d06..fedfa0ce8d372420baba40964010fd46004fb716 100644 (file)
@@ -22,16 +22,19 @@ class Weighted : public TreeCalculator  {
                Weighted(TreeMap* t) : tmap(t) {};
                ~Weighted() {};
                EstOutput getValues(Tree*);
+               EstOutput getValues(Tree*, string, string);
                
        private:
                GlobalData* globaldata;
                EstOutput data;
                TreeMap* tmap;
                map<string, int>::iterator it;
-               map<string, float> WScore; //a score for each group combination i.e. AB, AC, BC.
+               map<string, double> WScore; //a score for each group combination i.e. AB, AC, BC.
+               
+               vector<double> getBranchLengthSums(Tree*);
 };
 
 /***********************************************************************/
 
 
-#endif
\ No newline at end of file
+#endif