首页 | 本学科首页   官方微博 | 高级检索  
     检索      


An IPC-based Prolog design pattern for integrating backward chaining inference into applications or embedded systems
Authors:Li Guoqi  Shao Yuanxun  Hong Sheng  Liu Bin
Institution:Science and Technology on Reliability and Environment Engineering Laboratory, School of Reliability and Systems Engineering, Beihang University, Beijing 100191, China
Abstract: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.
Keywords:Backward chaining inference  Design method  Embedded systems  Inference engines  Inter-process communication  Prolog
本文献已被 CNKI 维普 万方数据 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号