|本期目录/Table of Contents|

[1]陈宏希.Jess功能扩展函数加载方法及应用[J].工业仪表与自动化装置,2015,(02):108-111.
 CHEN Hongxi.Methods and application of installing Jess extending functions into Jess[J].Industrial Instrumentation & Automation,2015,(02):108-111.
点击复制

Jess功能扩展函数加载方法及应用(PDF)

《工业仪表与自动化装置》[ISSN:1000-0682/CN:61-1121/TH]

卷:
期数:
2015年02期
页码:
108-111
栏目:
出版日期:
2015-04-15

文章信息/Info

Title:
Methods and application of installing Jess extending functions into Jess
文章编号:
1000-0682(2015)02-0000-27
作者:
陈宏希
(兰州石化职业技术学院 电子电气工程系,兰州 730060)
Author(s):
CHEN Hongxi
(Department of Electric & Electronic Engineering, Lanzhou Petrochemical College of Vocational Technology, Lanzhou 730060, China)
关键词:
JessJava构造函数功能扩展函数加载
Keywords:
Jess Java constructor extending function install
分类号:
TP312
DOI:
-
文献标志码:
A
摘要:
Jess功能函数的扩展是使用Java语言实现Userfunction接口来完成的。实现该接口的Java类的构造函数有默认或空参数的,也有带参数的。针对load-function命令不能向Jess中加载带参数构造函数的Java类,且在加载多个默认或空参数构造函数的Java类时略显冗繁的问题,提出无论实现Userfunction接口的Java类是何种构造函数,都可通过先期实现Jess提供的Userpackage接口,再使用命令load-package来完成Jess功能扩展函数的加载,这为Jess功能扩展函数的加载提供了通用的、一次性整体加载的高效方法。此方法被具体应用在楼宇温度控制仿真系统的应用开发中。
Abstract:
The Java class which implements the Jess Userfunction interface can extend Jess function. Some of these classes require constructor arguments, although the others don’t require. If the method which installing the Java class into Jess is the Jess function call of load-function, then the Java class which it requires constructor arguments will not be installed into Jess. At the same time, it will be tiresome when many Java class installed into Jess by calling the Jess function load-function, even if these Java classes don’t require constructor arguments. In order to solve this problem, this paper proposes a universal method which can install the Java classes into Jess. This method is composed of two parts: the first is implement the Jess interface of load-package, the second is calling Jess function load-package. This method can install the Java classes together into Jess one at a time. This method is also applied in a building temperature control simulated system.

参考文献/References:

[1] Bruce Eckel.Java编程思想[M].陈昊鹏,译.北京:机械工业出版社,2007.

[2] ERNEST FRIEDMAN-HILL. Jess in Action Rule-Based Systems in Java[M].Greenwich :Manning Publications Co., 2003.
[3] ERNEST FRIEDMAN-HILL .Jess The Rule Engineer for the Java Platform.Version7.1p2[M].Sandia National Laboratories, 2008.
[4] Jess-the Rule Engine for the Java Platform v70p2[J/OL]. http://www.jessrules.com/jess/docs/70/api/index.html.
[5] Joseph C Giarratano, Gary D Riley.专家系统原理与编程[M].印鉴,陈忆群,刘星成,译.北京:机械工业出版社.2006.

相似文献/References:

[1]陈宏希.基于Jess的HVAC温度控制仿真系统[J].工业仪表与自动化装置,2015,(06):122.
 CHEN Hongxi.Simulation system of HVAC temperature control based on Jess[J].Industrial Instrumentation & Automation,2015,(02):122.
[2]陈宏希,邹益民.基于Java的Jess功能函数扩展方法[J].工业仪表与自动化装置,2015,(01):65.
 CHEN Hongxi,ZOU Yimin.Extending method of Jess function based on Java[J].Industrial Instrumentation & Automation,2015,(02):65.

备注/Memo

备注/Memo:

收稿日期 2014-10-17

基金项目 2010 年度甘肃省属高校基本科研业务费专项资金自助 往复式压缩机状态监测及 RCM 技术研究 (甘财教 [2010]176 );流程工业企业级仿真及优化技术平台( 2007AA04Z191

作者简介 :陈宏希( 1970 ),男,陕西岐山人, 2002 年毕业于兰州大学信息科学与工程学院,硕士,副教授,主要研究方向:图像处理,模式识别,专家系统。

更新日期/Last Update: 1900-01-01