source: branches/port5/SL/TREE_READ/TreeRead.h

Last change on this file was 6030, checked in by westram, 16 years ago
  • renamed defines
File size: 1.3 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 TREE_DEFLEN        0.1 /* default length of tree-edge w/o given length */
20#define TREE_DEFLEN_MARKER -1000.0 /* tree-edges w/o length are marked with this value during read and corrected in TREE_scale */
21
22GBT_TREE *TREE_load(const char *path, int structuresize, char **commentPtr, int allow_length_scaling, char **warningPtr);
23void      TREE_scale(GBT_TREE *tree, double length_scale, double bootstrap_scale);
24char     *TREE_log_action_to_tree_comment(const char *comment, const char *action);
25
26#else
27#error TreeRead.h included twice
28#endif // TREEREAD_H
Note: See TracBrowser for help on using the repository browser.