4 #include <barvinok/polylib.h>
7 #if defined(__cplusplus)
11 struct verify_options
{
15 int continue_on_error
;
20 /* "generated" options */
23 struct barvinok_options
*barvinok
;
26 extern struct argp verify_argp
;
27 void verify_options_set_range(struct verify_options
*options
, int dim
);
29 Polyhedron
*check_poly_context_scan(Polyhedron
*P
, Polyhedron
**C
,
31 const struct verify_options
*options
);
32 void check_poly_init(Polyhedron
*C
, struct verify_options
*options
);
33 void check_poly_print(int ok
, int nparam
, Value
*z
,
34 Value want_n
, Value want_d
,
35 Value got_n
, Value got_d
,
36 const char *op
, const char *check
,
38 const struct verify_options
*options
);
40 struct check_poly_data
;
41 typedef int (*check_poly_fun
)(const struct check_poly_data
*data
,
43 const struct verify_options
*options
);
44 struct check_poly_data
{
49 int check_poly(Polyhedron
*CS
, const struct check_poly_data
*data
,
50 int nparam
, int pos
, Value
*z
,
51 const struct verify_options
*options
);
53 struct check_EP_data
{
54 struct check_poly_data cp
;
61 int check_EP(struct check_EP_data
*data
, unsigned nvar
, unsigned nparam
,
62 struct verify_options
*options
);
63 void evalue_optimum(const struct check_EP_data
*data
, Value
*opt
, int sign
);
64 void check_EP_set_scan(struct check_EP_data
*data
, Polyhedron
*C
,
66 void check_EP_clear_scan(struct check_EP_data
*data
);
68 #if defined(__cplusplus)