检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西安电子科技大学软件工程研究所,陕西西安710071
出 处:《西安电子科技大学学报》2003年第1期97-102,共6页Journal of Xidian University
基 金:国家部委预研基金资助项目(413150501)
摘 要:传统的基于规则的工具,如OPS5,CLIPS等都是自封闭的,很难集成在用C 等面向对象语言开发的实际系统中.该文在借鉴ILOGRules和CLIPS等工具的基础上提出了一种嵌入在C 语言中的规则语言,主要研究了把该规则语言翻译到生成Rete网络推理机的C 源文件的预编译器的实现方法.该规则语言对ILOGRules做了两点扩充,一是允许直接把C 语言嵌入在规则的条件部分和动作部分用来表达谓词测试和动作;二是增加了AND和OR两种模式成组关系,这样增强了规则表达实际问题的能力和规则与C 语言的互操作性.Traditional rulebased 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.
关 键 词:面向对象语言 预编译器 RETE算法 C++语言
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28