RE: JESS: Getting Facts in Sorted Order

2006-02-14 Thread Eric W. Bonnett
TECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 12:03 PM To: jess-users@sandia.gov Subject: Re: JESS: Getting Facts in Sorted Order I think Eric W. Bonnett wrote: > Hmm, I don't think so. Copy\paste! :) I should have mentioned it > befo

Re: JESS: Getting Facts in Sorted Order

2006-02-14 Thread ejfried
I think Eric W. Bonnett wrote: > Hmm, I don't think so. Copy\paste! :) I should have mentioned it > before, I'm using the publicly available version 6.1p4 that I downloaded > based on instructions in the book. On the off chance that there was something about this version, I tried it myself -

RE: JESS: Getting Facts in Sorted Order

2006-02-14 Thread Eric W. Bonnett
latest version. Thanks, Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:30 AM To: jess-users@sandia.gov Subject: Re: JESS: Getting Facts in Sorted Order I think Eric W. Bonnett wrote: [Charset iso-885

Re: JESS: Getting Facts in Sorted Order

2006-02-14 Thread ejfried
I think Eric W. Bonnett wrote: [Charset iso-8859-2 unsupported, filtering to ASCII...] > Thanks, but that only matches on the single set of facts with > the lowest priority. No, actually, it'll do just exactly what you want. Maybe you typed it wrong? --

RE: JESS: Getting Facts in Sorted Order

2006-02-14 Thread Eric W. Bonnett
part of each rule call the same function, and use salience to fire the rules in the desired order?   Thanks,   Eric   From: owner-jess-users@sandia.gov [mailto:owner-jess-users@sandia.gov] On Behalf Of Dusan Sormaz Sent: Tuesday, February 14, 2006 7:51 AM To: jess-users@sandia.gov Sub

Re: JESS: Getting Facts in Sorted Order

2006-02-14 Thread Dusan Sormaz
Eric, here is the rule that will work: (defrule items-to-buy     ?ItemFound <- (SomethingIWant   (Name ?ItemName)     (Price ?ItemPrice)     (Priority ?ItemPriority1)     (Selected false ) )  (not (SomethingIWant (Selecte