#define KAPS_DUMP 0
#define KAPS_ENABLE_VECTOR_NAMES 0
#define KAPS_STATISTIC 0
-
-typedef intmax_t num;
+#define KAPS_TIMING 0
+#define KAPS_USE_UNSIGNED 0
+
+#if KAPS_USE_UNSIGNED
+ typedef unsigned num;
+ static const num INF_COSTS = UINT_MAX;
+#else
+ typedef intmax_t num;
+ static const num INF_COSTS = INTMAX_MAX;
+#endif
#include "matrix_t.h"
#include "vector_t.h"
typedef struct pbqp_node pbqp_node;
typedef struct pbqp pbqp;
-static const num INF_COSTS = INTMAX_MAX;
-
struct pbqp {
struct obstack obstack; /* Obstack. */
num solution; /* Computed solution. */