3 #include <barvinok/options.h>
4 #include <barvinok/util.h>
5 #include "omega_interface/convert.h"
7 #include "param_util.h"
10 void vertices(Relation
& r
)
15 struct barvinok_options
*options
= barvinok_options_new_with_defaults();
17 Polyhedron
*D
= relation2Domain(r
, vv
, params
, options
->MaxRays
);
19 Polyhedron
*ctx
= Universe_Polyhedron(params
.size());
22 const char **param_names
= new const char *[params
.size()];
23 for (int i
= 0; i
< params
.size(); ++i
)
24 param_names
[i
] = params
[i
]->char_name();
26 PP
= Polyhedron2Param_Polyhedron(D
, ctx
, options
);
27 Param_Polyhedron_Print(stdout
, PP
, param_names
);
29 delete [] param_names
;
31 Param_Polyhedron_Free(PP
);
34 barvinok_options_free(options
);