guide-tree structure More...
#include <muscle_tree.h>
Data Fields | |
uint | m_uNodeCount |
uint | m_uCacheCount |
uint * | m_uNeighbor1 |
uint * | m_uNeighbor2 |
uint * | m_uNeighbor3 |
bool * | m_bHasEdgeLength1 |
bool * | m_bHasEdgeLength2 |
bool * | m_bHasEdgeLength3 |
double * | m_dEdgeLength1 |
double * | m_dEdgeLength2 |
double * | m_dEdgeLength3 |
char ** | m_ptrName |
uint * | m_Ids |
bool | m_bRooted |
uint | m_uRootNodeIndex |
guide-tree structure
Minimal rooted tree is single node. Minimal unrooted tree is single edge. Leaf node always has nulls in neighbors 2 and 3, neighbor 1 is parent. When tree is rooted, neighbor 1=parent, 2=left, 3=right.
bool tree_t::m_bRooted |
tree is rooted
double* tree_t::m_dEdgeLength1 |
double* tree_t::m_dEdgeLength2 |
double* tree_t::m_dEdgeLength3 |
node id. index range: 0 -- m_uNodeCount
char** tree_t::m_ptrName |
leaf labels. index range: 0 -- (m_uNodeCount+1)/2
reserved memory
parent node
left node
right node
number of nodes