Skip to content

Commit

Permalink
refactor: initial refactor of the nogood propagator to avoid code dup…
Browse files Browse the repository at this point in the history
…lication
  • Loading branch information
ImkoMarijnissen committed Nov 13, 2024
1 parent 1f49128 commit 51939d6
Show file tree
Hide file tree
Showing 2 changed files with 519 additions and 1,098 deletions.
3 changes: 0 additions & 3 deletions pumpkin-solver/src/engine/cp/event_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ impl EventSink {
pub(crate) fn event_occurred(&mut self, event: IntDomainEvent, domain: DomainId) {
let elem = &mut self.present[domain];

// println!("EO {} {}", domain, event);
// println!("\tpresent: {}", elem.contains(event));

if elem.insert(event) {
self.events.push((event, domain));
} else {
Expand Down
Loading

0 comments on commit 51939d6

Please sign in to comment.