Skip to content

Chaching#8

Merged
omereliy merged 2 commits into
masterfrom
chaching
Mar 17, 2026
Merged

Chaching#8
omereliy merged 2 commits into
masterfrom
chaching

Conversation

@omereliy

Copy link
Copy Markdown
Owner

No description provided.

count_models_with_temporary_clause was doing full SAT enumeration per
grounded action even when the solution cache was already populated.
Now filters cached solutions in O(|cache|*|clause|) instead of
O(SAT_SOLVE), matching the existing pattern in
count_models_with_assumptions_via_filter. Falls back to SAT when cache
is unavailable or clause references unknown fluents.

Also makes count_solutions() return len(cache) when valid, avoiding
redundant re-enumeration in _get_base_model_count().
@omereliy omereliy marked this pull request as ready for review March 17, 2026 17:02
@omereliy omereliy merged commit e1843bb into master Mar 17, 2026
3 checks passed
@omereliy omereliy deleted the chaching branch April 3, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant