Bsoft object

struct Bnode

Source:

include/rwtree.h

Description:

Unrooted tree node structure.

Features:

An unrooted tree consists of a set of trifurcated internal nodes and
a set of end or tip nodes. The choice of the root node is arbitrary,
although it is always defined as the entry point into the tree.
The branch length is the distance from the node closer to the root
of the tree (thus inherent directionality which must be reset if
the tree is rerooted). The plot angle is just a convenient field
for tree display.

Code:

struct Bnode {
Bnode *one, *two, *three; // Node pointers, two are 0 for tip nodes
int number; // Number of tip nodes in branch, 1 for a tip node
char label[100]; // Node label, '.' denotes an internal node
float length; // Branch length
float angle; // Plot angle
};

Other objects included:

struct Bangle


Generated by bdoc.pl on Mon Jun 15 11:55:12 2009


Back to the Bsoft home