计算机科学 > 程序设计语言
[提交于 2014年6月6日]
标题:Interclausal Logic Variables
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Unification of logic variables instantly connects present and future observations of their value, independently of their location in the data areas of the runtime system. The paper extends this property to "interclausal logic variables", an easy to implement Prolog extension that supports instant global information exchanges without dynamic database updates. We illustrate their usefulness with two of algorithms, {\em graph coloring} and {\em minimum spanning tree}. Implementations of interclausal variables as source-level transformations and as abstract machine adaptations are given. To address the need for globally visible chained transitions of logic variables we describe a DCG-based program transformation that extends the functionality of interclausal variables.
提交历史
来自:Paul Tarau[v1] 2014年6月6日 星期五 00:00:00 UTC