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

Answer set with two abductive supports is duplicated #22

Open
vuphan314 opened this issue Jun 10, 2016 · 1 comment
Open

Answer set with two abductive supports is duplicated #22

vuphan314 opened this issue Jun 10, 2016 · 1 comment

Comments

@vuphan314
Copy link

@iensen 😁

Below is a CR-Prolog program:

predicates
a(). b(). c().

rules

a.

-a :- not b, not c.
b :+. c :+.

b :- c.
c :- b.

Sparc+DLV gives:

SPARC  V2.49
program translated
{a, b, c}

{a, b, c}

The answer set {a, b, c} is duplicated, possibly because it has two abductive supports {b :+.} and {c :+.}.

@iensen
Copy link
Owner

iensen commented Nov 29, 2021

When using Clingo solver, this can be fixed by using #project directive (see my fix for iensen/plog2.0#18).

I am not quite sure about DLV, perhaps we can decide not to support it anymore.

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

2 participants