11 #define gb_assert(cond) arb_assert(cond)
13 #define GBT_SPECIES_INDEX_SIZE 10000L
14 #define GBT_SAI_INDEX_SIZE 1000L
16 #define GB_GROUP_NAME_MAX 256
18 #define DEFAULT_BRANCH_LENGTH 0.1
20 #define ERROR_CONTAINER_PATH "tmp/message/pending"
22 #define REMOTE_BASE "tmp/remote/"
23 #define MACRO_TRIGGER_CONTAINER REMOTE_BASE "trigger"
24 #define MACRO_TRIGGER_TERMINATED MACRO_TRIGGER_CONTAINER "/terminated"
25 #define MACRO_TRIGGER_RECORDING MACRO_TRIGGER_CONTAINER "/recording"
26 #define MACRO_TRIGGER_ERROR MACRO_TRIGGER_CONTAINER "/error"
27 #define MACRO_TRIGGER_TRACKED MACRO_TRIGGER_CONTAINER "/tracked"
55 return 2*leafs-1-
int(model);
59 return (nodes+1+
int(model))/2;
79 #define SRT_AUTOCORRECT_TREENAME " =:\n=:*=tree_*1:tree_tree_*=tree_*1"
80 #define SRT_AUTOCORRECT_ALINAME " =:\n=:*=ali_*1:ali_ali_*=ali_*1"
86 #define CHANGE_KEY_PATH "presets/key_data"
87 #define CHANGE_KEY_PATH_GENES "presets/gene_key_data"
88 #define CHANGE_KEY_PATH_EXPERIMENTS "presets/experiment_key_data"
90 #define CHANGEKEY "key"
91 #define CHANGEKEY_NAME "key_name"
92 #define CHANGEKEY_TYPE "key_type"
93 #define CHANGEKEY_HIDDEN "key_hidden"
97 #error arbdbt.h included twice
CONSTEXPR_INLINE int edges_2_nodes(int nodes)
CONSTEXPR_INLINE int nodes_2_edges(int nodes)
CONSTEXPR_INLINE int nodes_2_innerNodes(int nodes, TreeModel model)
CONSTEXPR_INLINE int leafs_2_innerNodes(int leafs, TreeModel model)
GB_ERROR(* species_callback)(GBDATA *gb_species, int *clientdata)
CONSTEXPR_INLINE int leafs_2_nodes(int leafs, TreeModel model)
CONSTEXPR_INLINE int leafs_2_edges(int leafs, TreeModel model)
CONSTEXPR_INLINE int edges_2_leafs(int edges, TreeModel model)
CONSTEXPR_INLINE int nodes_2_leafs(int nodes, TreeModel model)