2 #include <barvinok/options.h>
3 #include <barvinok/sample.h>
5 int main(int argc
, char **argv
)
10 struct barvinok_options
*bv_options
= barvinok_options_new_with_defaults();
12 argc
= barvinok_options_parse(bv_options
, argc
, argv
, ISL_ARG_ALL
);
15 P
= Constraints2Polyhedron(M
, bv_options
->MaxRays
);
18 sample
= Polyhedron_Sample(P
, bv_options
);
20 assert(in_domain(P
, sample
->p
));
21 Vector_Print(stdout
, P_VALUE_FMT
, sample
);
26 barvinok_options_free(bv_options
);