22 #ifndef ABC__sat__bsat__satVec_h
23 #define ABC__sat__bsat__satVec_h
57 int newsize = (v->
cap < 4) ? v->
cap * 2 : (v->
cap / 2) * 3;
61 printf(
"Failed to realloc memory from %.1f MB to %.1f MB.\n",
62 1.0 * v->
cap / (1<<20), 1.0 * newsize / (1<<20) );
72 for (; ws[j] != e ; j++);
74 for (; j <
veci_size(v)-1; j++) ws[j] = ws[j+1];
101 int newsize = (v->
cap < 4) ? v->
cap * 2 : (v->
cap / 2) * 3;
110 for (; ws[j] != e ; j++);
112 for (; j <
vecp_size(v)-1; j++) ws[j] = ws[j+1];
static int lit_check(lit l, int n)
static const lbool l_False
ABC_INT64_T clauses_literals
static const int var_Undef
#define ABC_REALLOC(type, obj, num)
static int lit_var(lit l)
static void veci_push(veci *v, int e)
static void veci_delete(veci *v)
#define ABC_ALLOC(type, num)
static void veci_resize(veci *v, int k)
static void vecp_remove(vecp *v, void *e)
ABC_INT64_T learnts_literals
static lit lit_neg(lit l)
static void veci_new(veci *v)
static lit lit_read(int s)
static void vecp_push(vecp *v, void *e)
static lit toLitCond(int v, int c)
static void vecp_delete(vecp *v)
static int veci_pop(veci *v)
static void veci_remove(veci *v, int e)
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
#define ABC_NAMESPACE_HEADER_END
static const lit lit_Undef
static int lit_sign(lit l)
static void vecp_resize(vecp *v, int k)
static const lbool l_True
static const lbool l_Undef
static int * veci_begin(veci *v)
static int veci_size(veci *v)
static void vecp_new(vecp *v)
static int vecp_size(vecp *v)
static void ** vecp_begin(vecp *v)
static int lit_print(lit l)