1 #include <barvinok/options.h>
4 int main(int argc
, char **argv
)
10 struct barvinok_options
*bv_options
= barvinok_options_new_with_defaults();
13 A
= Constraints2Polyhedron(M
, bv_options
->MaxRays
);
16 C
= Constraints2Polyhedron(M
, bv_options
->MaxRays
);
18 param_name
= Read_ParamNames(stdin
, C
->Dimension
);
20 bv_options
->polynomial_approximation
= BV_APPROX_SIGN_APPROX
;
21 EP
= Param_Polyhedron_Volume(A
, C
, bv_options
);
22 print_evalue(stdout
, EP
, (const char **)param_name
);
23 fprintf(stdout
, "\n");
26 Free_ParamNames(param_name
, C
->Dimension
);
29 barvinok_options_free(bv_options
);