biomcmc-lib
0.1
low level library for phylogenetic analysis
|
Information of a node (binary tree). More...
#include <topology_common.h>
Data Fields | |
topol_node | up |
topol_node | right |
topol_node | left |
topol_node | sister |
int | id |
Parent, children and sister nodes. | |
int | level |
int | mid [5] |
Node ID (values smaller than nleaves indicate leaves) and distance from root. | |
bool | internal |
Mapping between nodes and postorder vectors [0,1] (postorder, undone); idx for deep coal [2,3] and losses [4]. | |
bool | u_done |
If internal node, TRUE; if leaf, FALSE. | |
bool | d_done |
Has the topology up this edge (eq. to node) changed? (needed in likelihood calc) | |
bipartition | split |
Has the topology down this edge (eq. to node) changed? (needed in likelihood calc) | |
Information of a node (binary tree).