]> git.donarmstrong.com Git - mothur.git/blobdiff - treenode.h
added some features to trim.seqs
[mothur.git] / treenode.h
index 58d967d5cf297bbcd82e3839822e201a0aed121f..d6163a2b1275f9816a576659019d178005042e6d 100644 (file)
@@ -10,8 +10,6 @@
  *
  */
 
-using namespace std;
-
 #include "mothur.h"
 
 /* This class represents a node on a tree. */
@@ -25,6 +23,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 +33,7 @@ class Node  {
                string getGroup();  
                float getBranchLength();
                float getLengthToLeaves();
+               float getLabel();
                int getParent();
                int getLChild();
                int getRChild();
@@ -53,7 +53,7 @@ class Node  {
        private:
                string                  name;
                string                  group;
-               float                   branchLength, length2leaf;
+               float                   branchLength, length2leaf, label;
                int                             parent;
                int                             lchild;
                int                             rchild;