Skip to content

Commit e7a3e5e

Browse files
Natasha Yogananda Jeppudanielsn
Natasha Yogananda Jeppu
authored andcommitted
Store clause counter value from satcheck_minisat instead of storing the clause itself
Add comment to explain solver_clause_num + 1 in solver hardness, change <int> to <size_t> Remove sorting of clause set keeping performance in mind
1 parent 3c5ab7a commit e7a3e5e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/solvers/solver_hardness.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ void solver_hardnesst::register_clause(
111111
// The clause_counter is incremented after the call to register_clause.
112112
// Here we add 1 to solver_clause_num to incorporate this increment.
113113
current_hardness.clause_set.push_back(solver_clause_num + 1);
114-
std::sort(
115-
current_hardness.clause_set.begin(), current_hardness.clause_set.end());
116114
}
117115

118116
void solver_hardnesst::set_outfile(const std::string &file_name)

0 commit comments

Comments
 (0)