As I recall, salience in rulebased programming is akin to goto
statements in BASIC; a crutch for poor programing. In several books on
the subject (JIA ?) the comment usually is that while salience is
sometimes necessary more than three levels of salience should have a
really, really good
I think that James Owen wrote:
As I recall, salience in rulebased programming is akin to goto statements
in BASIC; a crutch for poor programming
On that subject: Just as there are legitimate, structured uses for the GOTO
statement in some languages, salience can be used in a structured way that
a control flow architecture which
determines which rule sets are eligible to execute.
- Original Message -
From: Jason Morris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 28, 2004 10:13 AM
Subject: RE: JESS: Re: your mail [REGARDING SALIENCE IN JESS]
I think that James Owen
]
Subject: Re: JESS: Re: your mail [REGARDING SALIENCE IN JESS]
I'm sorry - I just can not resist the temptation to jump in here.
It would seem to me, that no matter which technique is used to
modularlize
the execution of rules (rule sets) whether it be control flags,
priorities, etc
-0215 Fax / tilicopieur
[EMAIL PROTECTED]
Government of Canada | Gouvernement du Canada
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rich Halsey
Sent: Friday, May 28, 2004 12:02 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Re: your mail [REGARDING
/work flow and then we can worry about the implementation via control
flags, priorities, etc.. I see them as secondary in importance.
- Original Message -
From: Orchard, Bob [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 28, 2004 11:55 AM
Subject: RE: JESS: Re: your mail
Footnote
The ART manual that I ...came across was graciously donated to my cause by
Bob Orchard.
Bob: I know I should have grabbed the Viewpoint manual, too! :-D
Given the pace of programming evolution, it's comforting to know that study
of something twenty years old (ART) can still give
Just a side note here: It is most refreshing to see the big guns
weigh in with their thoughts and references. While some of it may be
extraneous rabbit trails it is, nevertheless, enlightening. I realize
that the Jess email list is supposed to be dedicated to solving the
so-called real
To: [EMAIL PROTECTED]
Subject: Re: JESS: Re: your mail [REGARDING SALIENCE IN JESS]
Just a side note here: It is most refreshing to see the big guns
weigh in with their thoughts and references. While some of it may be
extraneous rabbit trails it is, nevertheless, enlightening. I realize
I think Simon Harris wrote:
Do/can I somehow use logical? I don't believe it's possible to use logical
with not.
You can, actually. (logical (not (foo))) acts as you'd expect.
Or, is there another solution I've not thought of?
I'm afraid I didn't understand the question, so perhaps
Ahh. Quite right you are. I'm a fool! When JESS complained about Logical
CEs can't follow non-logical what it really means is Logical CEs can't
follow non-logical :-). I'll remember to read the messages more carefully
next time.
So I guess the question becomes: is it more effecient to use
I think Simon Harris wrote:
Ahh. Quite right you are. I'm a fool! When JESS complained about Logical
CEs can't follow non-logical what it really means is Logical CEs can't
follow non-logical :-). I'll remember to read the messages more carefully
next time.
Comprehensible error messages
In Jess 6: technically, ?a is a jess.Value of type RU.FACT; but
practically, it's like a RU.EXTERNAL_ADDRESS holding a jess.Fact. Make
your method accept a jess.Fact, and it will be called successfully.
In Jess 5, there's no easy way to do this -- no way I can think of,
actually. This is one
Hi,
The rule below is giving the error shown because you're calling
Enumeration method on an object, but it's an Iterator
(AbstractList$Itr). The return type of (run-query) was changed during
the early Jess 6 alpha period. The problem is just that you're using
an older version of the manual with
As the error message says, Jess doesn't support these functions, but
their implementation in Java would be trivial:
import jess.*;
public class Cosine implements Userfunction, Serializable
{
public String getName() { return "cos" ;}
public Value call( ValueVector vv, Context context )
15 matches
Mail list logo