Go to the source code of this file.
◆ make_sparse()
Definition at line 26 of file sparse.c.
28{
30
32
33 do {
35 if (cost.
total == best_cost.total)
36 break;
38
40 if (cost.
total == best_cost.total)
41 break;
44
45 return F;
46}
struct cost_struct cost_t
#define EXECUTE(fct, i, S, cost)
◆ mv_reduce()
Definition at line 63 of file sparse.c.
65{
67 register pcube p, p1, last;
68 int index;
71
72
74
75 if (
cube.sparse[var]) {
76
77
78 for(i =
cube.first_part[var]; i <=
cube.last_part[var]; i++) {
79
80
82
83
87 F_cube_table[F1->count] =
p;
88 p1 =
GETSET(F1, F1->count++);
91 }
92 }
93
94
95
99 p1 =
GETSET(D1, D1->count++);
102 }
103 }
104
106
107
108 index = 0;
111 p = F_cube_table[index];
112
113
114
115
116 if (var ==
cube.num_vars-1 ||
119 }
121 }
122 index++;
123 }
124
128 }
129 }
130 }
131
132
135 if (
cube.sparse[var]) {
139 F->active_count--;
140 }
141 }
142 }
143 }
144
145 if (F->count != F->active_count) {
147 }
148 return F;
149}
pset_family sf_inactive()
#define is_in_set(set, e)
#define set_insert(set, e)
#define foreach_active_set(R, last, p)
#define GETSET(family, index)
#define set_remove(set, e)
#define foreach_set(R, last, p)