4 #include <polylib/polylibgmp.h>
5 #include "ev_operations.h"
9 struct option options
[] = {
10 { "convert", no_argument
, 0, 'c' },
15 int main(int argc
, char **argv
)
24 while ((c
= getopt_long(argc
, argv
, "c", options
, &ind
)) != -1) {
33 A
= Constraints2Polyhedron(M
, 600);
36 C
= Constraints2Polyhedron(M
, 600);
38 Polyhedron_Print(stdout
, P_VALUE_FMT
, A
);
39 Polyhedron_Print(stdout
, P_VALUE_FMT
, C
);
40 param_name
= Read_ParamNames(stdin
, C
->Dimension
);
41 en
= barvinok_enumerate(A
, C
, 600);
42 Enumeration_Print(stdout
, en
, param_name
);
44 Enumeration_mod2table(en
, C
->Dimension
);
45 Enumeration_Print(stdout
, en
, param_name
);
48 Free_ParamNames(param_name
, C
->Dimension
);