An IPC-based Prolog design pattern for integrating backward chaining inference into applications or

来源 :Chinese Journal of Aeronautics | 被引量 : 0次 | 上传用户:candysan
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Prolog is one of the most important candidates to build expert systems and AI-related programs and has potential applications in embedded systems. However, Prolog is not suitable to develop many kinds of components, such as data acquisition and task scheduling, which are also crucial. To make the best use of the advantages and bypass the disadvantages, it is attractive to integrate Prolog with programs developed by other languages. In this paper, an IPC-based method is used to integrate backward chaining inference implemented by Prolog into applications or embedded systems. A Prolog design pattern is derived from the method for reuse, whose principle and definition are provided in detail. Additionally, the design pattern is applied to a target system, which is free software, to verify its feasibility. The detailed implementation of the application is given to clarify the design pattern. The design pattern can be further applied to wide range applications and embedded systems and the method described in this paper can also be adopted for other logic programming languages. Prolog is one of the most important candidates to build expert systems and AI-related programs and has potential applications in embedded systems. However, Prolog is not suitable to develop many kinds of components, such as data acquisition and task scheduling, which are also crucial To make the best use of the advantages and bypass the disadvantages, it is attractive to integrate Prolog with programs developed by other languages. In this paper, an IPC-based method is used to integrate backward chaining inference implemented by Prolog into applications or embedded systems. A Prolog design pattern is derived from the method for reuse, whose principle and definition are provided in detail. The detailed implementation of the application is given to clarify the design pattern. The design pattern can be further applied to wide range applications and embedded systems and the me thod described in this paper can also be adopted for other logic programming languages.
其他文献
在人们的眼中,官员腐败程度往往是和自己手中的权力成正比的,但是,有一类看似不起眼的官——村官,近年来的腐败严重程度并不逊色于人们思维定式里位高权重的大官们。安徽省合
反投影算法(BPA)是一种经典的时间域合成孔径雷达(SAR)成像处理方法。BPA对回波数据插值累加得到图像,运动误差导致的目标散焦沿不同的倾斜角度存在,无法直接应用现有的自聚
脱墨废水的色度主要来源于用于纸张着色的印刷油墨粒子和染料,大部分的染料和颜料能够利用传统的漂白方法尤其是连二亚硫酸盐漂白法进行降解除去,但是废水中由立索尔宝红颜料
国际工程承包是国际经济技术合作的重要组成部分,是货物贸易、技术贸易和服务贸易的综合载体。 我国从1979年开始进入国际工程承包市场,改革开放二十多年来发展迅速,是目前相
拥有1400多家经营户的洪大集团文体布匹区,在党建工作中努力做到党员流动不流失,离岗不离党。 Has more than 1,400 operating households Hongda Group Style Stapling Dis
经济持续增长是一个国家和地区长期追求的目标,也是区域经济持续发展、社会福利增进和政治稳定的前提条件,历来受到各国和地区政府、学术界长期关注和普遍重视。随着理论和实
造纸工业废水的生物处理技术已经发展成熟,并且工厂操作者对其操作系统也有一定的了解.但在许多情况下,他们对一些“微小角色(tiny profagonists)”的重要性和作用还不够了解
C语言是作为一个程序员来说,必须要掌握也是最基础的编程语言.在编程语言发展的历史长河里,出现了各种各样的编程语言,他们由不同的人开发又在不同的领域得到发展,从而发展到
餐厨垃圾在储存、运输过程中容易腐败变质,对其资源化利用有一定影响。考察了不同条件下储存时餐厨垃圾pH和细菌总数的变化规律,研究了室温以及5℃条件下,不同储存时间的餐厨