Logic Production System (LPS) is a logic-based framework for modelling reactive behaviour. Based on abductive logic programming, it combines reactive rules with logic programs, a database and a causal theory that specifies transitions between the states of the database. This paper proposes a systematic mapping of the Kernel of this framework (called KELPS) into an answer set program (ASP). For this purpose a new variant of KELPS with finite models, called $n$-distance KELPS, is introduced. A formal definition of the mapping from this $n$-distance KELPS to ASP is given and proven sound and complete. The Answer Set Programming paradigm allows to capture additional behaviours to the basic reactivity of KELPS, in particular proactive, preemptive and prospective behaviours. These are all discussed and illustrated with examples. Then a hybrid framework is proposed that integrates KELPS and ASP, allowing to combine the strengths of both paradigms. Under consideration in Theory and Practice of Logic Programming (TPLP).
翻译:逻辑生产系统(LPS)是模拟反应行为的逻辑框架,它根据绑架逻辑程序,将反应性规则与逻辑程序、数据库和因果理论结合起来,具体说明数据库各州之间的过渡情况。本文件建议系统绘制这一框架(称为KELPS)的内核图,将其纳入一个答案集程序(ASP)。为此,引入了KELPS的新的有限模型变体,称为美元-距离KELPS, 正式界定了从这一美元-距离KELPS到ASP的绘图,并证明是合理和完整的。“答案设定方案编制模式”模式允许捕捉到KELPS基本再活动的其他行为,特别是主动、先发制人和预期行为。这些都用实例加以讨论和说明。然后建议一个混合框架,将KELPS和ASP结合两种模式的优点。在逻辑规划的理论和实践中考虑。