Article contents
Incremental maintenance of overgrounded logic programs with tailored simplifications
Published online by Cambridge University Press: 21 September 2020
Abstract
The repeated execution of reasoning tasks is desirable in many applicative scenarios, such as stream reasoning and event processing. When using answer set programming in such contexts, one can avoid the iterative generation of ground programs thus achieving a significant payoff in terms of computing time. However, this may require some additional amount of memory and/or the manual addition of operational directives in the declarative knowledge base at hand. We introduce a new strategy for generating series of monotonically growing propositional programs. The proposed overgrounded programs with tailoring (OPTs) can be updated and reused in combination with consecutive inputs. With respect to earlier approaches, our tailored simplification technique reduces the size of instantiated programs. A maintained OPT slowly grows in size from an iteration to another while the update cost decreases, especially in later iterations. In this paper we formally introduce tailored embeddings, a family of equivalence-preserving ground programs which are at the theoretical basis of OPTs and we describe their properties. We then illustrate an OPT update algorithm and report about our implementation and its performance.
Keywords
- Type
- Original Article
- Information
- Theory and Practice of Logic Programming , Volume 20 , Issue 5: 36th International Conference on Logic Programming Special Issue I , September 2020 , pp. 719 - 734
- Copyright
- © The Author(s), 2020. Published by Cambridge University Press
Footnotes
We thank the reviewers of this paper, whose constructive comments helped to improve our work. This work has been partially supported by MIUR under project “Declarative Reason- ing over Streams” (CUP H24I17000080001) – PRIN 2017, by MISE under project “S2BDW” (F/050389/01-03/X32) – “Horizon2020” PON I&C2014-20, by Regione Calabria under project “DLV Large Scale” (CUP J28C17000220006) – POR Calabria 2014-20.
References
- 6
- Cited by