(stack sampleStack A B C D)
(stack sampleStack X Y Z)
(stack sampleStack1 Q Y Z)
(stack sampleStack2 A Y Z)
(stack sampleStack3 M N)
(stack sampleStack4 M N O)
(person (hair black) (
The RETE Algorithm
R. Doorenbos, Production matching for large learning
systems, Ph. D. Thesis, Carnegie Melon University, 1995
J. Giarratano, G. Rilley: Expert Systems, Principles and
Most specific patterns come first: smallest
number of matching facts in the memory and
largest number of variables that constrain
Patterns matching volatile facts go
Integration Part 2
Unordered facts that serve as "bridges" to Java objects
Serve to put any Java object into Jess's working memory.
(deftemplate account (declare (from-class Account) - construct
Design an expert system which is able to model and evaluate logical circuits composed with AND, OR,
NOT and XOR gates. Specify the circuit structure in Java and collect results in Java as well. The logic of
evaluating gates should be in JESS.
A sample cir
Programming with JESS
Pure Jess language scripts. No Java code at all.
Pure Jess language scripts, but the scripts access Java APIs.
Mostly Jess language scri
C Language Integrated Production System 1984
Supports three programming paradigms:
Integrated with other languages (C, Ada, Java,
Portable through operating system
Write a program simulating the flow of signals in some logical circuit composed by AND, OR, XOR and
NOT gates. There can be many inputs and many outputs to collect.
A sample circuit is presented below:
Aspects to consider:
- Modelling the relevant concept