摘要: |
简述了产生式系统的组成和运行机制,依据面向对象思想设计了产生式规则的表示方法和推理功能。该方法将事实库和规则库抽象为对象类,以文件形式存储;将推理功能内置于类定义中作为对象的方法或属性,实现了知识库和推理机的有效融合。针对产生式规则的特点设计了搜索算法,提出了规则的优先级标识方法。最后以老虎识别为例,在C++环境下进行了验证。 |
关键词: 面向对象技术 知识库 推理机 搜索算法 |
DOI: |
分类号: |
基金项目:国家“863”高技术研究与发展计划项目(2002AA2Z4051);西北农林科技大学人才专项基金(04ZR015) |
|
Applied research on object-oriented technology to design production system |
|
Abstract: |
This article summarized composition and running mechanism of production system,and designed a representation and reasoning method of production rules according to the object-oriented thought.In this method,the fact base and the regular base which were abstractly defined the object class were stored in the file,and inference engine which was set in definition of class was regarded as the method or the attribute of the object,so knowledge base and inference engine were effectively concretized.In view of characteristics of the production rule,search algorithm was designed,and a marking way of priority of rules was proposed.The experimental study was proved by the identification of the tiger using C++ language. |
Key words: object-oriented technology knowledge base inference engine search algorithm |