*
*/
-using namespace std;
-
#include "mothur.h"
+#include "mothurout.h"
/* This class represents a node on a tree. */
~Node() { pGroups.clear(); pcount.clear(); };
void setName(string);
- void setGroup(string);
+ void setGroup(vector<string>);
void setBranchLength(float);
void setLabel(float);
void setParent(int);
void setLengthToLeaves(float);
string getName();
- string getGroup();
+ vector<string> getGroup();
float getBranchLength();
float getLengthToLeaves();
float getLabel();
private:
string name;
- string group;
+ vector<string> group;
float branchLength, length2leaf, label;
int parent;
int lchild;
int rchild;
int vectorIndex;
+ MothurOut* m;
};
#endif