Questions tagged [jess]

Jess is a forward-chaining rule engine written in Java. It implements a Lisp-like rule language very similar to the classic CLIPS language.

Jess is a forward-chaining rule engine written in Java, developed by Ernest Friedman-Hill of Sandia National Labs. It implements a Lisp-like rule language very similar to the classic CLIPS language. You can learn more about Jess at www.jessrules.com .

Jess provides rule-based programming suitable for automating an expert system, and is often referred to as an expert system shell. In recent years, intelligent agent systems have also developed, which depend on a similar capability.

Rather than a procedural paradigm, where a single program has a loop that is activated only one time, the declarative paradigm used by Jess continuously applies a collection of rules to a collection of facts by a process called pattern matching. Rules can modify the collection of facts, or they can execute any Java code.

Jess can be used to build Java servlets, EJBs, applets, and full applications that use knowledge in the form of declarative rules to draw conclusions and make inferences. Since many rules may match many inputs, there are few effective general purpose matching algorithms. The Jess rules engine uses the Rete algorithm.

199 questions
0
votes
2 answers

How to convert Jess (.jar files) libraries to .dex file, or run java class files on Android?

I am trying to run Jess on Terminal IDE (android), but when I try to run the following: terminal++@192.168.0.102:~/sdcard/myJess$ dx --dex --output=jess.dex Jess71p2/lib/jess.jar I get the message: warning: Ignoring InnerClasses attribute for an…
0
votes
1 answer

How to change font using jess when creating GUI?

I'm trying to change the font of the JTextArea I created, but it can't work. Please help. Below are my code in jess(Java Expert System Shell) (defglobal ?*qfield* = (new JTextArea 5 20)) (?*qfield* setFont (new Font "Arial" (get-member…
0
votes
1 answer

Jess -> How to change execution between modules freely?

I'm working on a game project where I have 3 modules in Jess. The MAIN module, then an Environment module and a Movement module. I've been trying to change execution between these 3 modules with no success. My idea is the following: Execute the…
Sasha Fonseca
  • 2,257
  • 23
  • 41
0
votes
1 answer

How to make a java gui in Jess as an applet?

I have an interface written in Jess (one of the java libraries) that has a panel and a combo box I wanna make it run as applet. so I can embed it on the web! Here is my applet.java, package uges.applets; import java.applet.Applet; import…
Lama
  • 21
  • 1
  • 5
0
votes
2 answers

java.lang.NoSuchMethodError: uges.servlets.MyQuery: method ()V not found

I'm using Tomcat v 7, and Jess v 7.0 This is the exception I'm getting root cause javax.servlet.ServletException: java.lang.NoSuchMethodError: uges.servlets.MyQuery: method ()V not…
Lama
  • 21
  • 1
  • 5
0
votes
1 answer

Protege Stanford JessTab error

im trying to explore n getting familiar with JessRules. i have installed jessrules ver 7 engine into protege 3.4.8. first im creating person class without problem: Jess> (defclass Person (is-a :THING) (slot name (type string)) (slot age…
Stream
  • 67
  • 1
  • 6
0
votes
1 answer

counting with Jess

I'm so new to JESS, I have defined many facts about students (deffacts myStudents (student (Name Ruba) (AVG 81)) (student (Name Lolo) (AVG 80)) (student (Name Koko) (AVG 75)) (student (Name Soso) (AVG 85)) (student (Name dodo) (AVG 64)) (student…
Ruba
  • 885
  • 4
  • 18
  • 29
-1
votes
1 answer

Why do i get "thread death" error in JessDE?

i have a question about jessde. i'm using jess71p2 and eclipse juno with jessde plugin installed. i have a jess program (see below) which works at the jess command prompt. the jess doc says, "Run and Debug commands for Jess programs You can run or…
Duetto
  • 9
  • 3
-1
votes
1 answer

JessTab in Protege

I'm using Jess with Protege, I created a def template Person with the slots (name, age and adress), and I created another def template which extends the first one with the additional slot (sex), now I want to delete the first one and replace it by…
-1
votes
2 answers

How to rotate a piece in Tetris?

Do you know any way/algorithm to rotate a piece in Tetris? The programming language is Jess... Thank you for any helpful suggestion. pieces
-1
votes
1 answer

JESS function similar to findall in Prolog?

I am wondering if it is possible to write a jess function or rules to behave findall in Prolog. For instance, we have a KB like (person (name jason) (school nyu)) (person (name john) (school nyu)) (person (name liz) (school cmu)) ... and the input…
youngtackpark
  • 1,475
  • 3
  • 12
  • 14
-1
votes
1 answer

Is it possible to update an instance in an ontology (.pprj extension) with JESS in Java?

My ontology was done with Protégé and has been saved as a Protégé project (.pprj). I am developing a Java application that should update an instance,which is a date. Can you tell me how I proceed? Thank you.
-1
votes
1 answer

Which database should I use for a rule-based language?

I wrote rules in Jess, which database should I use to store them?
e.y
  • 3
  • 1
-1
votes
2 answers

Rules for arranging people age wise and gender wise

This is my whole program for sorting people gender wise and age wise. The older should come before younger and the female should come male. (deftemplate person (slot gender) (slot age (type INTEGER)) (slot…
-1
votes
1 answer

running r.execute() from Java in a for loop

I have written a code in JESS. I am now running the code from Java. I have run to this problem that I want to have the engine.execute("") command in a for loop. My example code is : for (int i = 0; i < 10; i++){ for (int j = 0; j < 10;…
1 2 3
13
14