]> git.donarmstrong.com Git - mothur.git/blobdiff - treenode.h
fixed concensus command and modified tree class so you can print labels on trees
[mothur.git] / treenode.h
index 58d967d5cf297bbcd82e3839822e201a0aed121f..df30cd3a32d5ebc47a54cadf8ea0a6b47c9122f0 100644 (file)
@@ -25,6 +25,7 @@ class Node  {
                void setName(string);
                void setGroup(string);  
                void setBranchLength(float);
+               void setLabel(float);
                void setParent(int);
                void setChildren(int, int);             //leftchild, rightchild
                void setIndex(int);
@@ -34,6 +35,7 @@ class Node  {
                string getGroup();  
                float getBranchLength();
                float getLengthToLeaves();
+               float getLabel();
                int getParent();
                int getLChild();
                int getRChild();
@@ -53,7 +55,7 @@ class Node  {
        private:
                string                  name;
                string                  group;
-               float                   branchLength, length2leaf;
+               float                   branchLength, length2leaf, label;
                int                             parent;
                int                             lchild;
                int                             rchild;