[1]高? 伟,赵致琢,李慧琪,等.Godel语言控制机制的研究与实现[J].智能系统学报,2009,4(4):345-351.
GAO Wei,ZHAO Zhi-zhuo,LI Hui-qi,et al.Research and implementation of the control facility of Gdel language[J].CAAI Transactions on Intelligent Systems,2009,4(4):345-351.
点击复制
《智能系统学报》[ISSN 1673-4785/CN 23-1538/TP] 卷:
4
期数:
2009年第4期
页码:
345-351
栏目:
学术论文—自然语言处理与理解
出版日期:
2009-08-25
- Title:
-
Research and implementation of the control facility of Gdel language
- 文章编号:
-
1673-4785(2009)04-0345-07
- 作者:
-
高? 伟,赵致琢,李慧琪,昌?? 杰
-
厦门大学 信息科学与技术学院,福建 厦门 361005
- Author(s):
-
GAO Wei, ZHAO Zhi-zhuo, LI Hui-qi, CHANG Jie
-
College of Information Science and Technology,Xiamen University,Xiamen 361005,China
-
- 关键词:
-
Gdel语言; 控制机制; 延迟; 剪枝
- Keywords:
-
Gdel language; control facility; delay; pruning
- 分类号:
-
TP312
- 文献标志码:
-
A
- 摘要:
-
Gdel语言是在Prolog语言基础上发展而来的一种新型逻辑程序设计语言,而控制机制是逻辑程序设计语言的核心内容.针对Prolog语言控制机制存在的问题,引出了Gdel语言中新的控制机制,包括DELAY延迟机制和剪枝操作然后通过实例分析,表明了这些新机制能有效地避免递归谓词的低效或无限循环调用,并能够实现子目标的协同执行,从而提高系统的运行效率.针对这一有效改进,在对Gdel语言控制机制比较深入研究的基础上,最后给出了Gdel语言控制机制的实现算法.该算法已在研发的Gdel语言编译系统中得以实现,通过实例测试,验证了算法具有较高的效率.
- Abstract:
-
Gdel, a new logic programming language that emerged from Prolog, has at its core a control facility. After an analysis of problems with the control facility in Prolog, the authors proposed new control facilities for Gdel which include a ‘delay computing’ and a ‘pruning’ operation. Examples showed that adoption of the new facilities effectively prevents inefficient or infinite loop calling of a recursive predicate and allows coroutining between subformulas, so that the efficiency of the system is considerably improved. Furthermore, an algorithm was proposed that could provide the control facility in Gdel. The algorithm was applied in the Gdel compiler developed by our group. The high efficiency of the algorithm was verified through testing.
更新日期/Last Update:
2009-11-16