1 #include <barvinok/options.h>
2 #include <barvinok/sample.h>
7 int main(int argc
, char **argv
)
12 struct barvinok_options
*bv_options
= barvinok_options_new_with_defaults();
14 set_program_name(argv
[0]);
15 argp_parse(&barvinok_argp
, argc
, argv
, 0, 0, bv_options
);
18 P
= Constraints2Polyhedron(M
, bv_options
->MaxRays
);
21 sample
= Polyhedron_Sample(P
, bv_options
);
23 assert(in_domain(P
, sample
->p
));
24 Vector_Print(stdout
, P_VALUE_FMT
, sample
);
29 barvinok_options_free(bv_options
);