4 * Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.
8 * mark 8-5-2007: I removed the isLeafNode function. Changed both the traversal functions
9 * to access Node's data members via functions.
11 #ifndef ROOTEDTREEOUTPUT_H
12 #define ROOTEDTREEOUTPUT_H
15 #include "RootedGuideTree.h"
16 #include "../../general/clustalw.h"
19 /** this is only used for upgma?!
27 class RootedTreeOutput
30 RootedTreeOutput(SeqInfo* seqInfo);
31 void printPhylipTree(RootedGuideTree* tree, ofstream* ptrToFile, Alignment *alignPtr,
33 void printNexusTree(RootedGuideTree* tree, ofstream* ptrToFile, Alignment *alignPtr,
37 void phylipTraverse(ofstream* ptrToFile, Alignment *alignPtr, Node* tree);
38 void nexusTraverse(ofstream* ptrToFile, Alignment *alignPtr, Node* tree);