CLIPS (C Language Integrated Production System) is a kind of expert system language. The user interface is not friendly be-cause it is based on the DOS operating system. It presents a method of improved interoperation technology of VC++and CLIPS. And em-ploy the method of directly calling the internal function in dynamic link library of CLIPS for getting slots of facts. The method can direct-ly output some facts in CLIPS to MFC edit box instead of text file as medium. Introduce how to apply CLIPS for selecting numerical ma-chinery parts. The meaning of using CLIPS efficient pattern matching and membership function theory to select numerical parts was ana-lyzed. An example is given in the paper to illustrate steps of the interoperation through directly calling the internal function of CLIPS.% CLIPS(C Language Integrated Production System)是一种专家系统开发语言。因为其界面基于DOS操作系统,所以不够友好。文中提出了一种改进的VC++和CLIPS交互方法。采用直接从CLIPS动态链接库中调用内部函数的方法来读取保存在事实中的槽值。这种方法可以不必通过文本交互中介就把CLIPS中的多个事实同时输出到MFC编辑框中。文中介绍了CLIPS在选用数值型机械零部件方面的应用。分析了应用CLIPS高效的模式匹配和隶属函数理论来选取零部件的方法。通过举一个实例来说明直接调用CLIPS内部函数的具体实现步骤。
展开▼