4 #include <barvinok/util.h>
5 #include <barvinok/barvinok.h>
7 int main(int argc
, char **argv
)
11 struct barvinok_options
*options
= barvinok_options_new_with_defaults();
13 argc
= barvinok_options_parse(options
, argc
, argv
, ISL_ARG_ALL
);
15 A
= Polyhedron_Read(options
->MaxRays
);
17 Polyhedron_Print(stdout
, P_VALUE_FMT
, A
);
18 barvinok_count_with_options(A
, &cb
, options
);
19 value_print(stdout
, P_VALUE_FMT
, cb
);
21 if (options
->print_stats
)
22 barvinok_stats_print(options
->stats
, stdout
);
25 barvinok_options_free(options
);