计算机科学 > 程序设计语言
[提交于 2015年6月16日]
标题:Mutually Exclusive Modules in Logic Programming
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Logic programming has traditionally lacked devices for expressing mutually exclusive modules. We address this limitation by adopting choice-conjunctive modules of the form $D_0 \& D_1$ where $D_0, D_1$ are a conjunction of Horn clauses and $\&$ is a linear logic connective. Solving a goal $G$ using $D_0 \& D_1$ -- $exec(D_0 \& D_1,G)$ -- has the following operational semantics: $choose$ a successful one between $exec(D_0,G)$ and $exec(D_1,G)$. In other words, if $D_0$ is chosen in the course of solving $G$, then $D_1$ will be discarded and vice versa. Hence, the class of choice-conjunctive modules can capture the notion of mutually exclusive modules.
提交历史
来自:Keehang Kwon[v1] 2015年6月16日 星期二 07:09:05 UTC