Go to the source code of this file.
static int lit_check |
( |
lit |
l, |
|
|
int |
n |
|
) |
| |
|
inlinestatic |
Definition at line 149 of file satVec.h.
149 {
return l >= 0 &&
lit_var(l) < n; }
static int lit_var(lit l)
static int lit_print |
( |
lit |
l | ) |
|
|
inlinestatic |
Definition at line 147 of file satVec.h.
static int lit_var(lit l)
static int lit_sign(lit l)
static lit lit_read |
( |
int |
s | ) |
|
|
inlinestatic |
Definition at line 148 of file satVec.h.
static lit lit_neg(lit l)
static int lit_sign |
( |
lit |
l | ) |
|
|
inlinestatic |
static int lit_var |
( |
lit |
l | ) |
|
|
inlinestatic |
static lit toLit |
( |
int |
v | ) |
|
|
inlinestatic |
static lit toLitCond |
( |
int |
v, |
|
|
int |
c |
|
) |
| |
|
inlinestatic |
Definition at line 143 of file satVec.h.
143 {
return v + v + (c != 0); }
static int* veci_begin |
( |
veci * |
v | ) |
|
|
inlinestatic |
static void veci_delete |
( |
veci * |
v | ) |
|
|
inlinestatic |
static void veci_new |
( |
veci * |
v | ) |
|
|
inlinestatic |
Definition at line 38 of file satVec.h.
#define ABC_ALLOC(type, num)
static int veci_pop |
( |
veci * |
v | ) |
|
|
inlinestatic |
static void veci_push |
( |
veci * |
v, |
|
|
int |
e |
|
) |
| |
|
inlinestatic |
Definition at line 53 of file 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) );
#define ABC_REALLOC(type, obj, num)
static void veci_remove |
( |
veci * |
v, |
|
|
int |
e |
|
) |
| |
|
inlinestatic |
Definition at line 68 of file satVec.h.
72 for (; ws[j] != e ; j++);
74 for (; j <
veci_size(v)-1; j++) ws[j] = ws[j+1];
static void veci_resize(veci *v, int k)
static int * veci_begin(veci *v)
static int veci_size(veci *v)
static void veci_resize |
( |
veci * |
v, |
|
|
int |
k |
|
) |
| |
|
inlinestatic |
static int veci_size |
( |
veci * |
v | ) |
|
|
inlinestatic |
static void** vecp_begin |
( |
vecp * |
v | ) |
|
|
inlinestatic |
static void vecp_delete |
( |
vecp * |
v | ) |
|
|
inlinestatic |
static void vecp_new |
( |
vecp * |
v | ) |
|
|
inlinestatic |
Definition at line 87 of file satVec.h.
#define ABC_ALLOC(type, num)
static void vecp_push |
( |
vecp * |
v, |
|
|
void * |
e |
|
) |
| |
|
inlinestatic |
Definition at line 97 of file satVec.h.
101 int newsize = (v->
cap < 4) ? v->
cap * 2 : (v->
cap / 2) * 3;
#define ABC_REALLOC(type, obj, num)
static void vecp_remove |
( |
vecp * |
v, |
|
|
void * |
e |
|
) |
| |
|
inlinestatic |
Definition at line 106 of file satVec.h.
110 for (; ws[j] != e ; j++);
112 for (; j <
vecp_size(v)-1; j++) ws[j] = ws[j+1];
static void vecp_resize(vecp *v, int k)
static int vecp_size(vecp *v)
static void ** vecp_begin(vecp *v)
static void vecp_resize |
( |
vecp * |
v, |
|
|
int |
k |
|
) |
| |
|
inlinestatic |
static int vecp_size |
( |
vecp * |
v | ) |
|
|
inlinestatic |