2 #include <polylib/polylibgmp.h>
3 #include <barvinok/options.h>
4 #include <barvinok/util.h>
7 #ifdef HAVE_GROWING_CHERNIKOVA
8 #define MAXRAYS (POL_NO_DUAL | POL_INTEGER)
13 #define ALLOC(type) (type*)malloc(sizeof(type))
15 struct barvinok_options
*barvinok_options_new_with_defaults()
17 struct barvinok_options
*options
= ALLOC(struct barvinok_options
);
24 options
->MaxRays
= MAXRAYS
;
26 #ifdef USE_INCREMENTAL_BF
27 options
->incremental_specialization
= 2;
28 #elif defined USE_INCREMENTAL_DF
29 options
->incremental_specialization
= 1;
31 options
->incremental_specialization
= 0;
34 options
->lexmin_emptiness_check
= 1;