38 if (cube.fullset != 0 && cube.num_binary_vars == n)
40 if (cube.fullset != 0) {
44 cube.num_binary_vars = cube.num_vars = n;
45 cube.part_size =
ALLOC(
int, n);
55 static int called_before = 0;
58 if (cube.fullset != 0 && cube.num_binary_vars == n && cube.num_vars == n)
68 if (cube.fullset == 0 || ! called_before) {
74 cube.num_binary_vars = n;
84 (void)
set_fill(cube.binary_mask, n*2);
88 for(i = 0; i < cube.num_vars; i++)
89 cube.var_mask[i][0] = q;
98 if (cube.num_binary_vars != 0) {
99 cube.inword = cube.last_word[cube.num_binary_vars - 1];
100 cube.inmask = cube.binary_mask[cube.inword] &
DISJOINT;
113 if (cube.num_binary_vars > 100) {
114 if (cube.fullset != 0) {
116 FREE(cube.part_size);
119 cube.num_vars = cube.num_binary_vars = 100;
120 if (cube.fullset != 0) {
122 FREE(cube.part_size);
ABC_NAMESPACE_IMPL_START void cube_setup()
ABC_NAMESPACE_IMPL_START void cautious_define_cube_size(int n)
void define_cube_size(int n)
#define ABC_NAMESPACE_IMPL_END
#define ABC_NAMESPACE_IMPL_START
void set_espresso_flags()
void undefine_cube_size()