Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable incremental adaptation #45

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Enable incremental adaptation #45

merged 1 commit into from
Jan 27, 2025

Conversation

uulm-janbaudisch
Copy link
Collaborator

No description provided.

@uulm-janbaudisch uulm-janbaudisch added the enhancement New feature or request label Jan 5, 2025
@uulm-janbaudisch uulm-janbaudisch self-assigned this Jan 5, 2025
@uulm-janbaudisch uulm-janbaudisch force-pushed the incremental branch 2 times, most recently from 0e683f2 to 23a2fd4 Compare January 5, 2025 18:58
@uulm-janbaudisch uulm-janbaudisch requested review from SundermannC and removed request for SundermannC January 5, 2025 18:59
@uulm-janbaudisch uulm-janbaudisch marked this pull request as draft January 5, 2025 19:08
Comment on lines +220 to +229
let clauses: BTreeSet<BTreeSet<i32>> = self
.inter_graph
.cnf_clauses
.iter()
.map(|clause| clause.iter().copied().collect())
.collect();

if !clauses.is_empty() {
self.update_cached_state(Either::Right(clauses), Some(self.number_of_variables));
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This functionality was not present on the original branch, as the clause cache was not used yet.

@uulm-janbaudisch uulm-janbaudisch marked this pull request as ready for review January 26, 2025 22:13
@SundermannC SundermannC merged commit 6e2b3a4 into main Jan 27, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants