1 | #define AWAR_ALIGNMENT "tmp/pars/alignment" |
---|
2 | #define AWAR_FILTER_NAME "tmp/pars/filter/name" |
---|
3 | #define AWAR_FILTER_FILTER "tmp/pars/filter/filter" |
---|
4 | #define AWAR_FILTER_ALIGNMENT "tmp/pars/filter/alignment" |
---|
5 | #define AWAR_PARSIMONY "tmp/pars/parsimony" |
---|
6 | #define AWAR_BEST_PARSIMONY "tmp/pars/best_parsimony" |
---|
7 | #define AWAR_STACKPOINTER "tmp/pars/stackpointer" |
---|
8 | |
---|
9 | #define NNI_MODES // uncomment to hide NNI/K.L. mode buttons |
---|
10 | |
---|
11 | //#define AWAR_TREE AWAR_TREE |
---|
12 | |
---|
13 | #define AWAR_PARS_TYPE "pars/pars_type" |
---|
14 | |
---|
15 | enum PARS_pars_type { |
---|
16 | PARS_WAGNER, |
---|
17 | PARS_TRANSVERSION |
---|
18 | }; |
---|
19 | |
---|
20 | extern class AP_main { |
---|
21 | private: |
---|
22 | class AP_main_stack *stack; |
---|
23 | class AP_main_list list; |
---|
24 | unsigned long stack_level; |
---|
25 | |
---|
26 | public: |
---|
27 | // *************** read only |
---|
28 | char *use; |
---|
29 | unsigned long user_push_counter; |
---|
30 | // ************** real public |
---|
31 | struct { |
---|
32 | unsigned int add_marked:1; |
---|
33 | unsigned int add_selected:1; |
---|
34 | unsigned int calc_branch_lenths:1; |
---|
35 | unsigned int calc_bootstrap:1; |
---|
36 | unsigned int quit:1; |
---|
37 | } commands; |
---|
38 | |
---|
39 | unsigned long combineCount; |
---|
40 | AP_main(void); |
---|
41 | ~AP_main(void); |
---|
42 | class AP_tree **tree_root; |
---|
43 | GB_ERROR open(char *db_server); |
---|
44 | // char *test(char *ratename, char *treename); |
---|
45 | void set_tree_root(AP_tree *new_root); |
---|
46 | |
---|
47 | AP_BOOL buffer_cout; |
---|
48 | |
---|
49 | void user_push(void); |
---|
50 | void user_pop(void); |
---|
51 | void push(void); |
---|
52 | void pop(void); |
---|
53 | void push_node(AP_tree * node,AP_STACK_MODE); |
---|
54 | void clear(void); // clears all buffers |
---|
55 | |
---|
56 | |
---|
57 | |
---|
58 | } *ap_main; |
---|
59 | |
---|
60 | extern GBDATA *GLOBAL_gb_main; |
---|