X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=treenode.h;h=029cee9419cf7adf88344d1635e5709196bd5c73;hb=250e3b11b1c9c1e1ad458ab6c7e71ac2e67e11d9;hp=d6163a2b1275f9816a576659019d178005042e6d;hpb=74c78f9abd9e733f0c2f812efec97a76632fcbf8;p=mothur.git diff --git a/treenode.h b/treenode.h index d6163a2..029cee9 100644 --- a/treenode.h +++ b/treenode.h @@ -11,6 +11,7 @@ */ #include "mothur.h" +#include "mothurout.h" /* This class represents a node on a tree. */ @@ -21,7 +22,7 @@ class Node { ~Node() { pGroups.clear(); pcount.clear(); }; void setName(string); - void setGroup(string); + void setGroup(vector); void setBranchLength(float); void setLabel(float); void setParent(int); @@ -30,7 +31,7 @@ class Node { void setLengthToLeaves(float); string getName(); - string getGroup(); + vector getGroup(); float getBranchLength(); float getLengthToLeaves(); float getLabel(); @@ -52,12 +53,13 @@ class Node { private: string name; - string group; + vector group; float branchLength, length2leaf, label; int parent; int lchild; int rchild; int vectorIndex; + MothurOut* m; }; #endif