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

Time-Limited Enumeration of Answer Sets #9

Closed
mahi045 opened this issue Apr 18, 2024 · 3 comments
Closed

Time-Limited Enumeration of Answer Sets #9

mahi045 opened this issue Apr 18, 2024 · 3 comments

Comments

@mahi045
Copy link

mahi045 commented Apr 18, 2024

Hi,
Is there a feature in WASP that allows for the enumeration of answer sets within a specified time frame? Additionally, can it display the count of answer sets that have been enumerated during that period?

Thanks in advance

@dodaro
Copy link
Collaborator

dodaro commented Apr 19, 2024

Hi,

You can use the options "-n0 --silent=2" to enumerate all answer sets and to obtain a cumulative number of enumerated answer sets.

Output: Number of printed answers: 2

However, in its current implementation, wasp does not support an early termination after a given timeout. You should use an external tool, e.g. pyrunlim (https://github.com/alviano/python/tree/master/pyrunlim) or dumbo-runlim (https://github.com/alviano/dumbo-runlim).

@mahi045
Copy link
Author

mahi045 commented Apr 19, 2024

@dodaro Thanks for your answer.
I have another question: Can we do projected enumeration in WASP?

@dodaro
Copy link
Collaborator

dodaro commented Apr 20, 2024

You are welcome!

No, this feature is not supported.

@mahi045 mahi045 closed this as completed Apr 20, 2024
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