fbpx
维基百科

Jess程序设计语言

Jess是Java平台上的规则引擎英语rule engine,它是CLIPS程序设计语言英语CLIPS programming language的超集,由桑迪亚国家实验室Ernest Friedman-Hill英语Ernest Friedman-Hill开发。它的第一个版本写于1995年晚期。

Jess提供适合自动化专家系统逻辑编程,它常被称作“专家系统外壳”。近年来,智能代理系统也在相似的能力上发展起来。

与一个程序中有一个只运行一次的循环的指令式編程语言不同,Jess使用的宣告式编程通过一个名为“模式匹配”的过程连续的对一个事实的集合运用一系列规则。规则可以修改事实集合,或者运行任何Java代码。

Jess可以被用来构建使用规则定义形式的知识来推倒结论和推论的Java ServletEJBApplet和应用程序。因为不同的规则匹配不同的输入,所以有了一些有效的通用匹配算法。Jess规则引擎使用Rete算法英语Rete algorithm

许可证

Jess不是开源软件,而CLIPS英语CLIPS是。

代码实例

代码实例:

(deftemplate male "" (declare (ordered TRUE))) (deftemplate female "" (declare (ordered TRUE))) (deftemplate parent "" (declare (ordered TRUE))) (deftemplate father "" (declare (ordered TRUE))) (deftemplate mother "" (declare (ordered TRUE))) (deffacts initialFacts  (male bill)  (female jane)  (female sally)  (parent bill sally)  (parent jane sally)  ) (defrule father  (parent ?x ?y)  (male ?x)  =>  (printout t crlf ?x " is the father of " ?y crlf)  ) (defrule mother  (parent ?x ?y)  (female ?x)  =>  (printout t crlf ?x " is the mother of " ?y crlf)  ) (reset) (facts) (run) (printout t crlf) 

书籍

参见

外部链接

jess程序设计语言, jess是java平台上的规则引擎, 英语, rule, engine, 它是clips程序设计语言, 英语, clips, programming, language, 的超集, 由桑迪亚国家实验室的ernest, friedman, hill, 英语, ernest, friedman, hill, 开发, 它的第一个版本写于1995年晚期, jess開發者桑迪亚国家实验室系統平台java许可协议专有软件, 公有领域网站www, jessrules, comjess提供适合自动化专家系统. Jess是Java平台上的规则引擎 英语 rule engine 它是CLIPS程序设计语言 英语 CLIPS programming language 的超集 由桑迪亚国家实验室的Ernest Friedman Hill 英语 Ernest Friedman Hill 开发 它的第一个版本写于1995年晚期 Jess開發者桑迪亚国家实验室系統平台Java许可协议专有软件 公有领域网站www jessrules comJess提供适合自动化专家系统的逻辑编程 它常被称作 专家系统外壳 近年来 智能代理系统也在相似的能力上发展起来 与一个程序中有一个只运行一次的循环的指令式編程语言不同 Jess使用的宣告式编程通过一个名为 模式匹配 的过程连续的对一个事实的集合运用一系列规则 规则可以修改事实集合 或者运行任何Java代码 Jess可以被用来构建使用规则定义形式的知识来推倒结论和推论的Java Servlet EJB Applet和应用程序 因为不同的规则匹配不同的输入 所以有了一些有效的通用匹配算法 Jess规则引擎使用Rete算法 英语 Rete algorithm 目录 1 许可证 2 代码实例 3 书籍 4 参见 5 外部链接许可证 编辑Jess不是开源软件 而CLIPS 英语 CLIPS 是 代码实例 编辑代码实例 deftemplate male declare ordered TRUE deftemplate female declare ordered TRUE deftemplate parent declare ordered TRUE deftemplate father declare ordered TRUE deftemplate mother declare ordered TRUE deffacts initialFacts male bill female jane female sally parent bill sally parent jane sally defrule father parent x y male x gt printout t crlf x is the father of y crlf defrule mother parent x y female x gt printout t crlf x is the mother of y crlf reset facts run printout t crlf 书籍 编辑 英文 Jess in Action Java Rule based Systems 页面存档备份 存于互联网档案馆 Ernest Friedman Hill著 ISBN 1930110898参见 编辑JSR 94外部链接 编辑 英文 官方网站 页面存档备份 存于互联网档案馆 英文 用于Emacs的Jess Mode 页面存档备份 存于互联网档案馆 取自 https zh wikipedia org w index php title Jess程序设计语言 amp oldid 68613569, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。