Calculate count as a partition and convert to Enumeration afterwards
[barvinok.git] / barvinok.h
blob98e8cacc98bf33daf93062e0dde206c70f0d009e
1 #ifndef BARVINOK_H
2 #define BARVINOK_H
4 #include <gmp.h>
6 #if defined(__cplusplus)
7 extern "C" {
8 #endif
10 #include <polylib/polylibgmp.h>
12 void barvinok_decompose(Polyhedron *C, Polyhedron **ppos, Polyhedron **pneg);
13 void barvinok_count(Polyhedron *P, Value* result, unsigned NbMaxCons);
14 Enumeration* barvinok_enumerate(Polyhedron *P, Polyhedron* C, unsigned MaxRays);
16 #ifdef USE_MODULO
17 evalue* ceil3(Value *coef, int len, Value d);
18 #endif
20 #if defined(__cplusplus)
22 #endif
24 #endif