作者: Thomas Krennwallner , Thomas Eiter , Christoph Redl
DOI:
关键词: Procedural programming 、 Programming language 、 Aggregate (data warehouse) 、 Answer set programming 、 Set (abstract data type) 、 Computer science 、 Feature (linguistics) 、 Remote procedure call 、 Declarative programming 、 Artificial intelligence
摘要: Answer-Set Programming (ASP) is an established declarative programming paradigm. However, classical ASP lacks subprogram calls as in procedural programming, and access to external computations (like remote procedure calls) general. The feature desired for increasing modularity and---assuming proper place---(meta-)reasoning over results. While HEX-programs extend with source access, they do not support of (sub-)programs upfront. We present nested HEX-programs, which serve the feature, a user-friendly manner. Notably, answer sets called sub-programs can be individually accessed. This particularly useful applications that need reason like belief set merging, user-defined aggregate functions, or preferences sets.