8 * Created by Sarah Westcott on 1/22/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
19 #include "globaldata.hpp"
21 /* This class represents the treefile. */
30 Tree generateRandomTree();
31 void createNewickFile();
33 void setIndex(string, int);
34 int getNumNodes() { return numNodes; }
35 int getNumLeaves(){ return numLeaves;}
36 vector<Node> tree; //the first n nodes are the leaves, where n is the number of sequences.
39 GlobalData* globaldata;
40 int findRoot(); //return index of root node
41 void printBranch(int); //recursively print out tree
42 int numNodes, numLeaves;