8 * Created by Sarah Westcott on 1/23/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
21 /* This class represents a node on a tree. */
26 Node(); //pass it the sequence name
30 void setGroup(string); //non leaf nodes will belong to multiple groups, leaf nodes will only belong to one.
31 void setBranchLength(float);
33 void setChildren(int, int); //leftchild, rightchild
37 vector<string> getGroup(); //leaf nodes will only have 1 group, but branch nodes may have multiple groups.
38 float getBranchLength();
44 void printNode(ostream&); //prints out the name and the branch length