JESS: Matching a static variable

2005-10-01 Thread erich.oliphant
Hi I am a new jess user and I'm running into a problem trying to match an java object value in a rule. Here are 2 rules and their setup, the first is the one with the problem. The other I added to verify that it would match on a primitive type and it seems to work fine: (import CarClass)

Re: JESS: Matching a static variable

2005-10-04 Thread erich.oliphant
erich.oliphant wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] Hi I am a new jess user and I'm running into a problem trying to match an java object value in a rule. Here are 2 rules and their setup, the first is the one with the problem. The other I added to verify

JESS: Fact object not in working memory error

2005-11-28 Thread erich.oliphant
I am having a strange problem. I am getting the following error (debug included). The populate-last-travel-day rule fires based on the presence of facf-5 (among others). The error is thrown in the rule body where I try to modify f-5. I am not sure how the fact cannot be in working memory as

JESS: Finding fact the max/min slot value

2006-02-01 Thread erich.oliphant
Hi, I am trying to figure out the best way to have a rule fire only for a fact whose slot value is the min or max of a group of facts. For example: (deftemplate number (slot value)) (assert number (value 1)) (assert number (value 2)) (assert number (value 3)) (assert number (value 4))

Re: JESS: Finding fact the max/min slot value

2006-02-01 Thread erich.oliphant
Glad I asked, I was well on my way to create something needlessly complex. Thanks Guys. On Wed, 1 Feb 2006 14:00:55 -0800 (PST), ejfried wrote I think erich.oliphant wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] Hi, I am trying to figure out the best way to have a rule