ARB
|
Go to the source code of this file.
Functions | |
const NT_NODE * | ntree_get () |
static NT_NODE * | new_ntnode (PART *&p) |
static void | del_tree (NT_NODE *tree) |
void | ntree_init (const PartitionSize *registry) |
void | ntree_cleanup () |
int | ntree_count_sons (const NT_NODE *tree) |
static void | move_son (NT_NODE *f_node, NT_NODE *s_node, NSONS *nson) |
static int | ins_ntree (NT_NODE *tree, PART *&newpart) |
void | insert_ntree (PART *&part) |
Variables | |
static NT_NODE * | ntree = NULp |
const NT_NODE* ntree_get | ( | ) |
Definition at line 19 of file CT_ntree.cxx.
References ntree.
Referenced by ConsensusTree::get_consensus_tree().
Definition at line 25 of file CT_ntree.cxx.
References NULp, NT_NODE::part, and NT_NODE::son_list.
Referenced by ins_ntree(), and ntree_init().
|
static |
Definition at line 36 of file CT_ntree.cxx.
References NSONS::next, NULp, NT_NODE::part, and NT_NODE::son_list.
Referenced by ntree_cleanup().
void ntree_init | ( | const PartitionSize * | registry | ) |
Definition at line 55 of file CT_ntree.cxx.
References arb_assert, PartitionSize::create_root(), and new_ntnode().
Referenced by ConsensusTree::get_consensus_tree().
void ntree_cleanup | ( | ) |
Definition at line 62 of file CT_ntree.cxx.
References del_tree(), and NULp.
Referenced by ConsensusTree::get_consensus_tree().
Definition at line 75 of file CT_ntree.cxx.
References node::next, and NT_NODE::son_list.
Referenced by ConsensusTree::get_consensus_tree().
Definition at line 85 of file CT_ntree.cxx.
References NSONS::next, NULp, NSONS::prev, and NT_NODE::son_list.
Referenced by ins_ntree().
Definition at line 106 of file CT_ntree.cxx.
References arb_assert, ARB_calloc(), PART::equals(), fputs(), PART::is_real_son_of(), PART::is_subset_of(), move_son(), new_ntnode(), NSONS::next, NSONS::node, NULp, PART::overlaps_with(), NT_NODE::part, NSONS::prev, and NT_NODE::son_list.
Referenced by insert_ntree().
void insert_ntree | ( | PART *& | part | ) |
Definition at line 201 of file CT_ntree.cxx.
References arb_assert, ASSERT_RESULT, PART::clone(), fputs(), PART::get_len(), ins_ntree(), PART::invert(), PART::is_valid(), NULp, PART::set_len(), and NT_NODE::son_list.
Referenced by ConsensusTree::get_consensus_tree().
Definition at line 16 of file CT_ntree.cxx.
Referenced by ntree_get().