ARB
Main Page
Namespaces
Classes
Files
File List
File Members
CONSENSUS_TREE
CT_ntree.hxx
Go to the documentation of this file.
1
// ============================================================= //
2
// //
3
// File : CT_ntree.hxx //
4
// Purpose : //
5
// //
6
// Institute of Microbiology (Technical University Munich) //
7
// http://www.arb-home.de/ //
8
// //
9
// ============================================================= //
10
11
#ifndef CT_NTREE_HXX
12
#define CT_NTREE_HXX
13
14
#ifndef CT_PART_HXX
15
#include "
CT_part.hxx
"
16
#endif
17
18
struct
NSONS
;
19
20
struct
NT_NODE
{
21
PART
*
part
;
22
NSONS
*
son_list
;
23
};
24
25
26
struct
NSONS
{
27
NT_NODE
*
node
;
28
NSONS
*
prev
, *
next
;
29
};
30
31
32
void
ntree_init
(
const
PartitionSize
*size);
33
void
ntree_cleanup
();
34
35
int
ntree_count_sons
(
const
NT_NODE
*
tree
);
36
37
void
insert_ntree
(
PART
*& part);
38
const
NT_NODE
*
ntree_get
();
39
40
#if defined(NTREE_DEBUG_FUNCTIONS)
41
void
print_ntree(
NT_NODE
*
tree
,
int
indent
);
42
bool
is_well_formed(
const
NT_NODE
*
tree
);
43
#endif
44
45
46
#else
47
#error CT_ntree.hxx included twice
48
#endif // CT_NTREE_HXX
NSONS::prev
NSONS * prev
Definition:
CT_ntree.hxx:28
insert_ntree
void insert_ntree(PART *&part)
Definition:
CT_ntree.cxx:201
PartitionSize
Definition:
CT_part.hxx:43
NSONS::node
NT_NODE * node
Definition:
CT_ntree.hxx:27
NT_NODE::part
PART * part
Definition:
CT_ntree.hxx:21
ntree_cleanup
void ntree_cleanup()
Definition:
CT_ntree.cxx:62
ntree_init
void ntree_init(const PartitionSize *size)
Definition:
CT_ntree.cxx:55
tree
Definition:
DNAml_rates_1_0.h:72
ntree_count_sons
int ntree_count_sons(const NT_NODE *tree)
Definition:
CT_ntree.cxx:75
NT_NODE::son_list
NSONS * son_list
Definition:
CT_ntree.hxx:22
PART
Definition:
CT_part.hxx:62
indent
Definition:
output.h:122
CT_part.hxx
ntree_get
const NT_NODE * ntree_get()
Definition:
CT_ntree.cxx:19
NSONS::next
NSONS * next
Definition:
CT_ntree.hxx:28
NT_NODE
Definition:
CT_ntree.hxx:20
NSONS
Definition:
CT_ntree.hxx:26
Generated by
1.8.8