polyhedron_sample.c: remove redundant MAXRAYS define
[barvinok.git] / verify.h
blobc133723610543180c72c4d390b5823ba779d697c
1 #ifndef VERIFY_H
2 #define VERIFY_H
4 #include <barvinok/polylib.h>
5 #include "argp.h"
7 #if defined(__cplusplus)
8 extern "C" {
9 #endif
11 struct verify_options {
12 int verify;
13 int exact;
14 int print_all;
15 int continue_on_error;
16 int m;
17 int M;
19 /* "generated" options */
20 int st;
21 char **params;
22 struct barvinok_options *barvinok;
25 extern struct argp verify_argp;
26 void verify_options_set_range(struct verify_options *options, int dim);
28 Polyhedron *check_poly_context_scan(Polyhedron *C,
29 const struct verify_options *options);
30 void check_poly_init(Polyhedron *C, struct verify_options *options);
32 struct check_poly_data;
33 typedef int (*check_poly_fun)(const struct check_poly_data *data,
34 int nparam, Value *z,
35 const struct verify_options *options);
36 struct check_poly_data {
37 Value *z;
38 check_poly_fun check;
41 int check_poly(Polyhedron *CS, const struct check_poly_data *data,
42 int nparam, int pos, Value *z,
43 const struct verify_options *options);
45 #if defined(__cplusplus)
47 #endif
49 #endif