source:
branches/profile/SL/TREE_READ/TreeRead.h
Last change on this file was 11401, checked in by westram, 11 years ago | |
---|---|
File size: 1.2 KB |
Line | |
---|---|
1 | // ============================================================ // |
2 | // // |
3 | // File : TreeRead.h // |
4 | // Purpose : // |
5 | // // |
6 | // Coded by Ralf Westram (coder@reallysoft.de) in June 2009 // |
7 | // Institute of Microbiology (Technical University Munich) // |
8 | // www.arb-home.de // |
9 | // // |
10 | // ============================================================ // |
11 | |
12 | #ifndef TREEREAD_H |
13 | #define TREEREAD_H |
14 | |
15 | #ifndef ARBDBT_H |
16 | #include <arbdbt.h> |
17 | #endif |
18 | |
19 | #define DEFAULT_BRANCH_LENGTH_MARKER -1000.0 // tree-edges w/o length are marked with this value during read and corrected in TREE_scale |
20 | |
21 | inline bool is_marked_as_default_len(GBT_LEN len) { return len <= DEFAULT_BRANCH_LENGTH_MARKER; } |
22 | |
23 | GBT_TREE *TREE_load(const char *path, const TreeNodeFactory& nodeMaker, char **commentPtr, bool allow_length_scaling, char **warningPtr); |
24 | void TREE_scale(GBT_TREE *tree, double length_scale, double bootstrap_scale); |
25 | |
26 | #else |
27 | #error TreeRead.h included twice |
28 | #endif // TREEREAD_H |
Note: See TracBrowser
for help on using the repository browser.