Line | |
---|
1 | #ifndef MAD_MATCH2_H |
---|
2 | #define MAD_MATCH2_H |
---|
3 | |
---|
4 | // types |
---|
5 | |
---|
6 | struct node; |
---|
7 | struct in_cmd; |
---|
8 | struct expression; |
---|
9 | |
---|
10 | // interface |
---|
11 | |
---|
12 | void match2_match(struct in_cmd*); |
---|
13 | void match2_end(struct in_cmd*); |
---|
14 | void match2_macro(struct in_cmd*); |
---|
15 | void match2_constraint(struct in_cmd*); |
---|
16 | int match2_evaluate_exressions(int, int, double*); |
---|
17 | void match2_delete_expressions(void); |
---|
18 | int match2_augmentnmacros(void); /*increases space in the working arrays*/ |
---|
19 | |
---|
20 | int match2_print_var(struct in_cmd*); |
---|
21 | void match2_delete_arrays(void); |
---|
22 | |
---|
23 | // variables |
---|
24 | |
---|
25 | extern int MAX_MATCH_CONS; /*these are set to proper values at the initialization of the match2 module*/ |
---|
26 | extern int MAX_MATCH_MACRO; /*zero values means that it is not initialized yet*/ |
---|
27 | |
---|
28 | extern char match2_keepexpressions; /*do not delete expressions at the end matching used by match with PTC knobs*/ |
---|
29 | |
---|
30 | extern char **match2_macro_name; |
---|
31 | extern char* **match2_cons_name; |
---|
32 | extern double **match2_cons_value; |
---|
33 | extern double **match2_cons_value_rhs; |
---|
34 | extern double **match2_cons_value_lhs; |
---|
35 | extern double **match2_cons_weight; |
---|
36 | extern char **match2_cons_sign; |
---|
37 | extern int match2_cons_curr[3]; |
---|
38 | |
---|
39 | #endif // MAD_MATCH2_H |
---|
40 | |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.