Interactive Debugging of ASP Programs

03/20/2014
by   Kostyantyn Shchekotykhin, et al.
0

Broad application of answer set programming (ASP) for declarative problem solving requires the development of tools supporting the coding process. Program debugging is one of the crucial activities within this process. Recently suggested ASP debugging approaches allow efficient computation of possible explanations of a fault. However, even for a small program a debugger might return a large number of possible explanations and selection of the correct one must be done manually. In this paper we present an interactive query-based ASP debugging method which extends previous approaches and finds a preferred explanation by means of observations. The system queries a programmer whether a set of ground atoms must be true in all (cautiously) or some (bravely) answer sets of the program. Since some queries can be more informative than the others, we discuss query selection strategies which, given user's preferences for an explanation, can find the best query. That is, the query an answer of which reduces the overall number of queries required for the identification of a preferred explanation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/18/2021

Generating explanations for answer set programming applications

We present an explanation system for applications that leverage Answer S...
research
09/21/2018

Answering the "why" in Answer Set Programming - A Survey of Explanation Approaches

Artificial Intelligence (AI) approaches to problem-solving and decision-...
research
08/30/2023

Explanations for Answer Set Programming

The paper presents an enhancement of xASP, a system that generates expla...
research
09/17/2021

exp(ASPc) : Explaining ASP Programs with Choice Atoms and Constraint Rules

We present an enhancement of exp(ASP), a system that generates explanati...
research
08/04/2020

An Application of ASP in Nuclear Engineering: Explaining the Three Mile Island Nuclear Accident Scenario

The paper describes an ongoing effort in developing a declarative system...
research
08/30/2023

Explainable Answer-set Programming

The interest in explainability in artificial intelligence (AI) is growin...
research
09/16/2022

User Guided Abductive Proof Generation for Answer Set Programming Queries (Extended Version)

We present a method for generating possible proofs of a query with respe...

Please sign up or login with your details

Forgot password? Click here to reset