Skip to content

Commit

Permalink
Skip LBD calculation if clauses are good enough
Browse files Browse the repository at this point in the history
  • Loading branch information
shnarazk committed Sep 21, 2024
1 parent 50603c1 commit 8525b77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cdb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,9 @@ impl ClauseDBIF for ClauseDB {
ref mut lbd_temp,
..
} = self;
if clause[ci].rank < threshold as DecisionLevel {
continue;
}
clause[ci].update_lbd(asg, lbd_temp);
if threshold < clause[ci].extended_lbd() {
// keep -= 1;
Expand Down

0 comments on commit 8525b77

Please sign in to comment.