ARB
Classes | Functions
CT_ntree.hxx File Reference
#include "CT_part.hxx"
Include dependency graph for CT_ntree.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NT_NODE
 
struct  NSONS
 

Functions

void ntree_init (const PartitionSize *size)
 
void ntree_cleanup ()
 
int ntree_count_sons (const NT_NODE *tree)
 
void insert_ntree (PART *&part)
 
const NT_NODEntree_get ()
 

Function Documentation

void ntree_init ( const PartitionSize size)

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().

int ntree_count_sons ( const NT_NODE tree)

Definition at line 75 of file CT_ntree.cxx.

References node::next, and NT_NODE::son_list.

Referenced by ConsensusTree::get_consensus_tree().

void insert_ntree ( PART *&  part)
const NT_NODE* ntree_get ( )

Definition at line 19 of file CT_ntree.cxx.

References ntree.

Referenced by ConsensusTree::get_consensus_tree().