4 #include <barvinok/util.h>
5 #include <barvinok/barvinok.h>
9 int main(int argc
, char **argv
)
13 struct barvinok_options
*options
= barvinok_options_new_with_defaults();
15 set_program_name(argv
[0]);
16 argp_parse(&barvinok_argp
, argc
, argv
, 0, 0, options
);
18 A
= Polyhedron_Read(options
->MaxRays
);
20 Polyhedron_Print(stdout
, P_VALUE_FMT
, A
);
21 barvinok_count_with_options(A
, &cb
, options
);
22 value_print(stdout
, P_VALUE_FMT
, cb
);
24 if (options
->print_stats
)
25 barvinok_stats_print(options
->stats
, stdout
);
28 barvinok_options_free(options
);