« | August 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | |
| 公告 |

|
Blog信息 |
blog名称:彼岸·花 日志总数:39 评论数量:115 留言数量:-16 访问次数:402082 建立时间:2005年8月6日 |

| |
[一路前行]JESS介绍 文章收藏, 网上资源
子轩 发表于 2006/12/3 21:40:19 |
Jess是由Sandia National Laboratories (as part of an internal research project)的一位专家写成。Jess全名为java expert system shell,是基于CLIPS规则扩展的一个系统工具,由java语言完成。通过应用事实规则几何可以退出新的事实。支持多对对的匹配。顺便提下产生式系统cLIPS。cLIPS的基本组成与知识表示包括
1、事实:用来表示已知的数据或信息。事实是一个N元式,由一对圆括号括住的一个或N个域组成,这些域的数据可以是三种不同的类型,即:字(以字母打头的字符串)、符号串(括在一对双引号内的一个或多个字符串)、数值(整形数或实型数),域之间用空格分开。所有事实都保存在在工作存储器中,所以称事实为工作存储器元素(VME)。
事实举例:(hihg 100m) 表示“高度200米”
(price is 200 yuan) 表示价格为200元!
(name "Newell")
可用命令
(asset事实名)
2、规则:用来表示系统推理的有关知识。cLISP中的规则是变形的产生式规则,可用defrule命令来定义,其格为如下:
(defrule 规则名[注释]
模式
=>
动作)
3、待处理事件表:用于存储匹配成功的规则集合,它相当于一般产生式系统中的冲突集。
1.下载及配置,首先必须要正确安装和配置JDK。
JESS下载网址:http://www.jessrules.com/jess/index.shtml
下载解压后,我下载的是61P8稳定版本。解压到比如jess6文件夹中,其下面的目录结构为
docs/
This documentation
jess/
A directory containing the jess package. There are many source files in here that implement Jess's inference engine. Others implement a number of Jess GUIs and command-line interfaces. Main.java implements the Jess command-line interface. Console.java is a very simple GUI console for Jess; ConsoleApplet.java is an applet version of the same. If you have a binary-only distribution of Jess, this directory will contain only the examples subdirectory.
examples/
A directory of tiny example Jess files.
jess/examples
A directory of more complicated examples, containing example Java source files.
jess.jar (optional)
A Java archive file containing the Jess classes themselves. Binary distribution only.
Makefile (optional)
A simple makefile for Jess. Source distribution only.
然后再ClASSPATH中加入环境变量D:\Jess6\jess.jar (jess的解压路径)。
2.测试:在控制台界面下输入命令java jess.Main examples/fullmab.clp
将会得到一个经典的猴子摘香蕉的问题的解。 |
|
回复:JESS介绍 文章收藏, 网上资源
wendy(游客)发表评论于2007/1/18 15:42:14 |
1. 安裝好jess後,將lib\jess.jar檔案拷貝至protege\plugins\jesstab\下即可使用jess2. 在protege下,選擇project->configure 勾選jessTab即可 |
|
回复:JESS介绍 文章收藏, 网上资源
paopao(游客)发表评论于2006/12/11 16:24:41 |
jess在protege中使用是不是用插件jesstab?怎么安装使用呢?好像资料很少呢? |
|
» 1 »
|