Answer set programming (ASP) is a popular nonmonotonic-logic based paradigm for knowledge representation and solving combinatorial problems. Computing the answer set of an ASP program is NP-hard in general, and researchers have been investing significant effort to speed it up. The majority of current ASP solvers employ SAT solver-like technology to find these answer sets. As a result, justification for why a literal is in the answer set is hard to produce. There are dependency graph based approaches to find answer sets, but due to the representational limitations of dependency graphs, such approaches are limited. This paper proposes a novel dependency graph-based approach for finding answer sets in which conjunction of goals is explicitly represented as a node which allows arbitrary answer set programs to be uniformly represented. Our representation preserves causal relationships allowing for justification for each literal in the answer set to be elegantly found. In this paper, we explore two different approaches based on the graph representation: bottom-up and top-down. The bottom-up approach finds models by assigning truth values along with the topological order, while the top-down approach generates models starting from the constraints.
翻译:答案设置程序( ASP) 是一个流行的、非口头的、基于知识表达和解决组合问题的模型( ASP ) 。 计算一个 ASP 程序的答案集一般是NP- 硬的, 研究人员一直在投入大量精力来加速它。 目前的大多数 ASP 解答者都使用类似于 SAT 解答器的技术来寻找这些解答组。 因此, 很难找到答案组。 存在基于依赖图形的查找解答集的方法, 但是由于依赖图的描述局限性, 这种方法是有限的。 本文提出了一个新的基于依赖图形的解答组方法, 其中明确代表了目标的组合, 使任意解答集程序得到统一代表 。 我们的解答组代表保留了每个字节中的因果关系, 以优雅的方式找到答案组。 在本文中, 我们探索基于图形代表的两种不同方法: 自下而上和自下而下而上而下的方法。 自下而上而上而上的方法会找到模式, 与上而上而下的方法则产生从制约开始的模式 。