期刊文献+

应用C++STL实现基于知识规则推理的方法 被引量:1

A Rule-Based Approach to Implementing Inference Using C++ STL
在线阅读 下载PDF
导出
摘要 对基于产生式规则的知识表示与推理,结合面向对象技术,提出一种应用STL的C++语言实现方法。该方法将规则的结构、创建及释放定义成规则类,具体规则定义成对象,依据STL对序列容器中表的定义构造规则表容器和事实表容器,以创建知识库及动态数据库;推理机独立于知识库;类属算法和成员函数的使用,使推理算法易于编程实现;程序通用性好且便于知识更新。在刀具智能选择专家系统中的应用表明,该方法简单、高效、灵活。 A new method is proposed to implement knowledge representation and inference which is integrated with production rule and object-oriented technique of using STL (Standard Template Library) of C++ language. In this method, the structure ,found and release of the rule are defined as a rule class and the specific rule is defined as an object of the rule class,then, based on the define of list of sequence container in STL ,the knowledge base and global datebase can be constructed .On this way, rule list container and fact list container could be constructed. The inference engine is independent of the knowledge base; The application of generic algorithm and member function makes programming of inference algorithms easy to come true; Procedures have good commonality and knowledge could be updated easily.The result has showed that the method is simple, efficient and flexible in the application of the intelligentized cutter selecting expert system.
作者 王向东 刘康
出处 《四川理工学院学报(自然科学版)》 CAS 2007年第5期112-115,共4页 Journal of Sichuan University of Science & Engineering(Natural Science Edition)
关键词 标准模板库STL 表容器 类属算法 产生式规则 STL (Standard Template Library) list container generic algorithm production rule
  • 相关文献

参考文献3

二级参考文献4

共引文献10

同被引文献8

引证文献1

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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