summaryrefslogtreecommitdiff
path: root/doc/apt-transport-https.1.xml
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-05-20 13:13:45 +0200
committerJulian Andres Klode <jak@debian.org>2026-01-05 21:20:24 +0000
commitf8dd5ea23c6a7fccf643329c50ae1f11f48b1a09 (patch)
tree2860437e0f691c298a723b90a1c4d5cc8116c75a /doc/apt-transport-https.1.xml
parent6ceaa78088ebdaea6cb887a7e8066fc29e0f984d (diff)
solver3: Remove Push() and refactor Solve()
This method is no longer needed technically speaking, we should use Assume() instead. It turns out that there is a slight bug in the propagation and some clauses that are unit end up on the heap rather than having been propagated away, so we temporarily need to keep an if for that around. To accomodate the switch from Push() to Assume() we need to make sure that the work item is pushed to our trail *after* we have assumed it, such that reverting pushes it back to the work heap. Refactor the code to consistently use Assume() rather than supporting Enqueue(), this vastly simplifies things. This is not fully accurate in the current model and leads to unnecessary decision levels, since sometimes we seem to be reaching unit clauses here. This preserves traversal order by first removing the item from the heap and then adding it back if we need to solve it again.
Diffstat (limited to 'doc/apt-transport-https.1.xml')
0 files changed, 0 insertions, 0 deletions