Closed aymeric75 closed 5 days ago
It's hard to help you here because we do not know what the encoding is supposed to do. It looks like a part of something complex. Maybe ask the author of the encoding for help?
Your questions are also very basic. Maybe you should read some introductory material about ASP. You could check out our guide or the book Answer Set Programming by Vladimir Lifschitz. There is also a free draft available.
Here is the begining of a .lp file that I am trying to run:
I am trying to understand how the input file should be formatted. Here is an example of such a format from what I understood so far
Now, I am wondering how to ground the fval/3 and fval/4 predicates, for instance, for the "shape" predicate, would the following work ?
fval(1, (shape, null_arg), 1)
it would mean something like: the "shape" predicate is always true on instance 1Finally, in the code shown above what does 0..1 means (in
fval(I,(F,null_arg),0..1)
) ?Thanks a lot