4 * Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.
8 * mark May 8th 2007: removed makeEmpty(Node* t function), changed makeEmpty(). I also
9 * made changes to any functions that accessed Node's data members
11 #ifndef ROOTEDGUIDETREE_H
12 #define ROOTEDGUIDETREE_H
17 #include "../../alignment/Alignment.h"
28 RootedGuideTree(Node* root);
30 void setRoot(Node* r);
32 void calcSeqWeights(int firstSeq, int lastSeq, vector<int>* seqWeights);
33 Node* getRoot(){return root;}
36 int calcOrderNode(Node* node);
37 void calcWeights(vector<int>* seqWeights);
38 void doWeightCalc(float weightSoFar, vector<float>* seqWeights, Node* t);