Nicolas Fortin wrote:
Hello everybody,
Suppose that I have the following template:
(deftemplate MAIN::My-Template
(slot id (type INTEGER))
(slot index1 (type INTEGER))
(slot index2 (type INTEGER)))
I want a rule that would be activated by the fact with the greatest
index1
Hi NIcolas,
A rule like this seems to work for me:
(defrule greatest-one-smallest-two
Find the My-Template with greatest index1 and smallest index2
(MAIN::My-Template (id ?id1)(index1 ?i1_1)(index2 ?i1_2))
(not (MAIN::My-Template
(id ~?id1)
(index1 ?i2_1:(= ?i2_1
I was not yet resolved my problem I re presente. I am in academic internship
and I must build an expert system for analyzing business performance. I
already write all my rules in the pseudo language and then the interface to
retrieve the data. Now I want to know how I am going to continue
Hi,
Have read any of the online documentation yet, just to get an idea of how
you can embed Jess in Java applications, and some of the tips for getting
started and some programming examples?
http://herzberg.ca.sandia.gov/jess/docs/70/basics.html
There is a menu on the left of that page by the
On Oct 18, 2007, at 2:10 AM, suker wat wrote:
What are the main files that make up the project; How to save up to
how you should present?
As I've already explained to you several times, there are many
different ways to do it. As the manual explains (I thought) quite
clearly, you can, for
There's a subtle difference between the solutions Jason and Wolfgang
posted; you're basically using Jason's, but apparently you want
Wolfgang's.
Jason's and yours will fire for facts for which no single other fact
has *both* a higher index1 and a lower index2. You're using a single
not
Hello Ernest,
There's a subtle difference between the solutions Jason and Wolfgang
posted; you're basically using Jason's, but apparently you want
Wolfgang's.
Jason's and yours will fire for facts for which no single other fact
has *both* a higher index1 and a lower index2. You're using a