8 #include "adt/obstack.h"
11 #define KAPS_ENABLE_VECTOR_NAMES 0
12 #define KAPS_STATISTIC 0
14 #define KAPS_USE_UNSIGNED 0
18 static const num INF_COSTS = UINT_MAX;
21 static const num INF_COSTS = INTMAX_MAX;
27 typedef struct pbqp_edge pbqp_edge;
28 typedef struct pbqp_node pbqp_node;
29 typedef struct pbqp pbqp;
32 struct obstack obstack; /* Obstack. */
33 num solution; /* Computed solution. */
34 size_t num_nodes; /* Number of PBQP nodes. */
35 pbqp_node **nodes; /* Nodes of PBQP. */
36 FILE *dump_file; /* File to dump in. */
38 unsigned num_bf; /* Number of brute force reductions. */
39 unsigned num_edges; /* Number of independent edges. */
40 unsigned num_r0; /* Number of trivial solved nodes. */
41 unsigned num_r1; /* Number of R1 reductions. */
42 unsigned num_r2; /* Number of R2 reductions. */
43 unsigned num_rn; /* Number of RN reductions. */
47 #endif /* KAPS_PBQP_T_H */