printBranch(tree[node].getRChild());
out << ")";
}else { //you are a leaf
- tree[node].printNode(out); //prints out name and branch length
+ tree[node].printNode(); //prints out name and branch length
}
}
}
/*****************************************************************/
+
void Tree::setGroups() {
try {
//if the user has not entered specific groups to analyze then do them all
}
+/*****************************************************************/
+
+void Tree::printTree() {
+
+ for(int i=0;i<numNodes;i++){
+ cout << i << '\t';
+ tree[i].printNode();
+ }
+
+}
+
+/*****************************************************************/
+
+