TY - JOUR
T1 - An IPC-based prolog design pattern for integrating backward chaining inference into applications or embedded systems
AU - Guoqi, Li
AU - Yuanxun, Shao
AU - Sheng, Hong
AU - Bin, Liu
N1 - Publisher Copyright:
© 2014 Production and hosting by Elsevier Ltd. on behalf of CSAA & BUAA. Open access under CC BY-NC-ND license.
PY - 2014
Y1 - 2014
N2 - 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.
AB - 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.
KW - Backward chaining inference
KW - Design method
KW - Embedded systems
KW - Inference engines
KW - Inter-process communication
KW - Prolog
UR - https://www.scopus.com/pages/publications/84927652619
U2 - 10.1016/j.cja.2014.10.024
DO - 10.1016/j.cja.2014.10.024
M3 - 文章
AN - SCOPUS:84927652619
SN - 1000-9361
VL - 27
SP - 1571
EP - 1577
JO - Chinese Journal of Aeronautics
JF - Chinese Journal of Aeronautics
IS - 6
ER -