X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=treenode.h;h=029cee9419cf7adf88344d1635e5709196bd5c73;hp=d6163a2b1275f9816a576659019d178005042e6d;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=74c78f9abd9e733f0c2f812efec97a76632fcbf8 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