期刊文献+

一种在面向对象语言中嵌入规则的预编译器的实现 被引量:2

A study of the implementation of the precompiler for embedding the rule-based paradigm into the objet-oriented language
在线阅读 下载PDF
导出
摘要 传统的基于规则的工具,如OPS5,CLIPS等都是自封闭的,很难集成在用C 等面向对象语言开发的实际系统中.该文在借鉴ILOGRules和CLIPS等工具的基础上提出了一种嵌入在C 语言中的规则语言,主要研究了把该规则语言翻译到生成Rete网络推理机的C 源文件的预编译器的实现方法.该规则语言对ILOGRules做了两点扩充,一是允许直接把C 语言嵌入在规则的条件部分和动作部分用来表达谓词测试和动作;二是增加了AND和OR两种模式成组关系,这样增强了规则表达实际问题的能力和规则与C 语言的互操作性. Traditional rulebased tools, such as OPS5, CLIPS, etc. are standalone, so it is difficult to integrate them into an actual system coded with the C language. Based on ILOG Rules and CLIPS, a rule language embedded into the C is designed and a precompiler which translates this rule language into the C source is implemented in this paper. The designed rule language enhances the ability of cooperation between rule and C language in two aspects: one is that the rule can be embedded directly into LHS and RHS, and the other is to allow AND and OR pattern grouping in LHS.
出处 《西安电子科技大学学报》 EI CAS CSCD 北大核心 2003年第1期97-102,共6页 Journal of Xidian University
基金 国家部委预研基金资助项目(413150501)
关键词 面向对象语言 预编译器 RETE算法 C++语言 rule-based system Rete algorithm pre-compile
  • 相关文献

参考文献3

  • 1蔡希尧.软件发展与社会进步[J].西安电子科技大学学报,1998,25(6):693-699. 被引量:2
  • 2.YDN 097-1998.中国电信计费帐务体制(0311)[S].中华人民共和国信息产业部,1998..
  • 3.YDN 097-1998.中国电信计费帐务体制(0311)[S].中华人民共和国信息产业部,1998..

共引文献1

同被引文献17

  • 1Hayes-Roth F. Rule-Based Systems[J]. Communications of the ACM., 1985, 28(9): 921-932.
  • 2Brownston L, Farrel R, Kant E, et al. Programming Expert Systems in OPS5: An Introduction to Rule-Based Programming[M]. New York: Addison-Wesley, 1985. 35-92.
  • 3Giarratano J, Riley G. Expert Systems: Principles and Programming[M]. New York: PWS Publishing Company, 1998. 327-365.
  • 4Albert P. ILog Rules, Embedding Rules in C++: Results and Limits[R]. Proceedings of the OOPSLA'94 Workshop on Embedded Object-Oriented Production Systems (EOOPS), Technical Report LAFORIA 94/24, Institute Blaise Pascal, 1994.
  • 5Miranker D P, Burke F H. Steele J J. The C++ Embeddable Rule System[J]. International Journal on Artificial Intelligence Tools, 1993, 2 (1): 33-46.
  • 6Litman D, Patel-Schneider P, Mishra A. R++: Adding Path-Based Rules to C++[J]. IEEE Trans. on Knowledge and Data Engineering, 2002, 14(3): 638-658.
  • 7Forgy Charles L. RETE: A Fast Algorithm for the Many Pattern/Many Object Pattern Matching Problem[J]. Artificial Intelligence, 1982, 19: 17-37.
  • 8刘曙明 程万祥.C3I系统开发技术[M].北京:国防工业出版社,1997.279-409.
  • 9FORGY C L. Rete: a fast Algorithm for the many pattern/many object pattern match problem[J].Artificial Intelligence,1982:17-37.
  • 10MIRANKER D P.TREAT: A better match algorithm for AI production systems[A]. AAAI-87 proceedings[C].[s.l.],1987.

引证文献2

二级引证文献28

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部