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

Feature: allow tuple inequalities in symmetry breaking #21

Open
MaxOstrowski opened this issue Jul 18, 2023 · 0 comments
Open

Feature: allow tuple inequalities in symmetry breaking #21

MaxOstrowski opened this issue Jul 18, 2023 · 0 comments

Comments

@MaxOstrowski
Copy link
Member

MaxOstrowski commented Jul 18, 2023

Feature request: Add support for tuples:
foo(X) :- room(X, P1, V1), room(X, P2, V2), (P1,V1) != (P2,V2).
This means "derive head if at least one of the elements is different". This is different to P1 != P2, V1 != V2. It is an or, not an and. This could still be translated to:
(P1,V1) < (P2,V2) as long as all variables come from the same place from the same predicate.

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

No branches or pull requests

1 participant