idrave / FOND-ASP

5 stars 1 forks source link

Make `-single-shot` optional #36

Open ssardina opened 2 years ago

ssardina commented 2 years ago

Currently every call to clingo uses the -single-shot, but some planner variantes may want to do multi-shot solving, by solving and then grounding the plan, and this won't work if that option is on.

image

we need to move that to an option.

Note: we added that option with @idrave after this thread discussion on the forum. Most solvers we have are indeed single-shot, but we have one where the grounding of the policy comes after.

Also, the option for CLI is only shown when one does clingo --help=3