Skip to content

Commit 78793f2

Browse files
committed
Move to class simplifiedcnf
1 parent 6213fb2 commit 78793f2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ int main(int argc, char** argv)
317317
const string fname(files[0]);
318318
if (do_arjun) {
319319
parse_file(fname, &cnf);
320-
const auto orig_sampl_vars = cnf.sampl_vars;
320+
const auto orig_sampl_vars = cnf.get_sampl_vars();
321321
double my_time = cpu_time();
322322
ArjunNS::Arjun arjun;
323323
arjun.set_verb(verb);
@@ -330,11 +330,11 @@ int main(int argc, char** argv)
330330
arjun.standalone_minimize_indep(cnf, etof_conf.all_indep);
331331
if (with_e) arjun.standalone_elim_to_file(cnf, etof_conf, simp_conf);
332332
appmc->new_vars(cnf.nVars());
333-
appmc->set_sampl_vars(cnf.sampl_vars);
334-
for(const auto& c: cnf.clauses) appmc->add_clause(c);
335-
for(const auto& c: cnf.red_clauses) appmc->add_red_clause(c);
336-
appmc->set_multiplier_weight(cnf.multiplier_weight);
337-
print_final_indep_set(cnf.sampl_vars, orig_sampl_vars.size());
333+
appmc->set_sampl_vars(cnf.get_sampl_vars());
334+
for(const auto& c: cnf.get_clauses()) appmc->add_clause(c);
335+
for(const auto& c: cnf.get_red_clauses()) appmc->add_red_clause(c);
336+
appmc->set_multiplier_weight(cnf.get_multiplier_weight());
337+
print_final_indep_set(cnf.get_sampl_vars(), orig_sampl_vars.size());
338338
cout << "c o [arjun] Arjun finished. T: " << (cpu_time() - my_time) << endl;
339339
} else {
340340
parse_file(fname, appmc);

0 commit comments

Comments
 (0)