Skip to content

Commit 8adf7de

Browse files
committed
arjun working properly
1 parent 161111d commit 8adf7de

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/Sat/UniSamp.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,16 @@ bool UniSamp::solve(bool& timeout_expired) // Search without assumptions.
131131
arjun->set_seed(5);
132132

133133
sampling_vars_orig = sampling_vars;
134+
arjun->set_starting_sampling_set(sampling_vars_orig);
134135
sampling_vars = arjun->get_indep_set();
136+
std::cout << "c [unigen->arjun] sampling var size [from arjun] " << sampling_vars.size() << "\n";
137+
135138
delete arjun;
136139

137-
sampling_vars = sampling_vars_orig; //TODO AS this is debugging as Arjun is not performing correctly
140+
//TODO AS: this is debugging as Arjun is not performing correctly
141+
//sampling_vars = sampling_vars_orig;
138142

139143
a->set_projection_set(sampling_vars);
140-
std::cout << "c [unigen->arjun] sampling var size [from arjun] " << sampling_vars.size() << "\n";
141144

142145
auto sol_count = a->count();
143146
s->set_full_sampling_vars(sampling_vars_orig);

0 commit comments

Comments
 (0)