JESS: Jess in Action: Errata (p. 404): listp should be multifieldp

2004-05-28 Thread Eric Wang
This isn't mentioned in Manning's Errata page for Jess in Action. 1. p. 404: "listp" isn't defined in Jess. Its proper name is "multifieldp". (I had to peek into PredFunctions.java to discover that.) This also explains why it appears after "modify" and before "neq" in the

Re: JESS: Re: your mail

2004-05-28 Thread James Owen
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

Re: JESS: Jess in Action: Errata (p. 404): listp should be multifieldp

2004-05-28 Thread ejfried
Thanks! Jess 6.1p4 was prepared concurrently with the book, and I made some changes to the software according to the needs of the book. This looks like a case where I decided that multifieldp ought to be deprecated in favor of a more sensibly named listp function, and I wrote that into the

Re: JESS: Jess in Action: Errata (p. 404): listp should be multifieldp

2004-05-28 Thread Alexander Bogomolny
Eric Wang wrote: This isn't mentioned in Manning's Errata page for Jess in Action. In addition, the 2-rules example on pp. 22-23 is confusing. Since the discussion is about the order of execution, implicit in the example is the possibility of both rules firing in sequence. It is therefore a

Re: JESS: Jess in Action: Errata (p. 404): listp should be multifieldp

2004-05-28 Thread ejfried
I think Alexander Bogomolny wrote: In addition, the 2-rules example on pp. 22-23 is confusing. Since the discussion is about the order of execution, implicit in the example is the possibility of both rules firing in sequence. It is therefore a mistake to suggest that the second rule (stop)

RE: JESS: Re: your mail [REGARDING SALIENCE IN JESS]

2004-05-28 Thread Jason Morris
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

RE: JESS: Bad index 51 of 51 in call to set() on this vector

2004-05-28 Thread Medvedeva, Olga
It seems like it's not a Protege or JessTab issue since " .." means that ontology has already been loaded at this point. (batch d:/Scenario/jess/clp/Create-Rules.clp) causes the trouble. Did you try to load the rules one by one to figure out what rule causes this problem? Olga.

Re: JESS: Bad index 51 of 51 in call to set() on this vector

2004-05-28 Thread ejfried
I think [EMAIL PROTECTED] wrote: Hello, Ernest! I downloaded and installed Jess version 6.1p7. I even slightly hacked error message code, but still can't find an error. I am using Protege2.1 and JessTab1.1. First I map an ontology to Jess. After that I have in Jess a list of facts like

Re: JESS: Re: your mail [REGARDING SALIENCE IN JESS]

2004-05-28 Thread Rich Halsey
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., the ultimate challenge of applying any control flow architecture will be

RE: JESS: Re: your mail [REGARDING SALIENCE IN JESS]

2004-05-28 Thread Jason Morris
I think that Rich Halsey wrote: How I engineer the control (in either the determistic or non-deterministic layer) is secondary to achieving a control flow architecture which determines which rule sets are eligible to execute. Rich, No argument here: I think that it's understood that

RE: JESS: Re: your mail [REGARDING SALIENCE IN JESS]

2004-05-28 Thread Orchard, Bob
Let me jump in just for fun here as well. The old ART (original flavour of the mid 80's that Jason refers to) had something called viewpoints that allowed one to explore multiple lines of reasoning at once. It could, I imagine, have been suitable for today's distributed computing environments or

Re: JESS: Re: your mail [REGARDING SALIENCE IN JESS]

2004-05-28 Thread Rich Halsey
It is always a pleasure to reply to Bob Orchard !! To be a little more specific, a gentleman by the name of Dracos Manolescu published some work entitled A Micro-Workflow along with a Java-based system. As I read his papers (?) and looked at his Java examples, I came away with a much clearer view

RE: JESS: Re: your mail [REGARDING SALIENCE IN JESS]

2004-05-28 Thread Jason Morris
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

Re: JESS: Re: your mail [REGARDING SALIENCE IN JESS]

2004-05-28 Thread James Owen
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

RE: JESS: Re: your mail [REGARDING SALIENCE IN JESS]

2004-05-28 Thread Jason Morris
If I have been able to see further, it was only because I stood on the shoulders of giants. Sir Isaac Newton It's fun to wonder what a guy like Newton would have done with a tool like Java or Jess. Would Newton have been a programmer? I think he'd have been fascinated by exploring his ideas

JESS: is Jess threaded?

2004-05-28 Thread abramson
If I have just one Rete engine, nothing's threaded right? myriam To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!)

Re: JESS: is Jess threaded?

2004-05-28 Thread ejfried
I think [EMAIL PROTECTED] wrote: If I have just one Rete engine, nothing's threaded right? Regardless of the number of Rete objects you create, Jess won't create any threads of its own.[*] You can, of course, create multiple threads yourself, and manipulate Jess from them. [*] EXCEPTION:

JESS: Problem with queries

2004-05-28 Thread israel
I'm having a problem executing queries with 'not's in them. My goal is checking set membership with intersections, so I've defined the following three queries: Q1 - Items in set 1 Q2 - Items in both set 1 and set 2 Q3 - iitems in set 1 that are not in set 2 Unless I'm having a logic problem or

Re: JESS: Bad index 51 of 51 in call to set() on this vector

2004-05-28 Thread sorokinru
w SOOB]ENII OT 28 mAJ 2004 19:40 Medvedeva, Olga NAPISAL: It seems like it's not a Protege or JessTab issue since oNTOLOGIQ ZAGRUVENA .. means that ontology has already been loaded at this point. (batch d:/Scenario/jess/clp/Create-Rules.clp) causes the trouble. Did you try to load the rules