Re: JESS: Java objects

2007-08-22 Thread Wolfgang Laun
Noel Huebers wrote (defquery searchcontext (declare (variables ?name ?task ?val)) (context (username ?name) (action Bewertet) (task ?task) (value ?val))) Now I want to delete the some facts. How do I get a fact from the queryresult '?result' ?

Re: JESS: Java objects

2007-08-20 Thread Wolfgang Laun
Noël Huebers wrote: Hi, I'm new to the Jess language and have some questions. 1. I work with Java object. I stored them in Jess with store and assert/fetch commands. But I could not call there member in the lhs of my rule. No function calls allowed, right? So, for every object I made a rule

JESS: Java objects

2007-08-19 Thread Noël Huebers
Hi, I'm new to the Jess language and have some questions. 1. I work with Java object. I stored them in Jess with store and assert/fetch commands. But I could not call there member in the lhs of my rule. No function calls allowed, right? So, for every object I made a rule to insert a Jess

Re: JESS: Java objects

2007-08-19 Thread Ernest Friedman-Hill
On Aug 14, 2007, at 5:20 AM, Noël Huebers wrote: Hi, I'm new to the Jess language and have some questions. 1. I work with Java object. I stored them in Jess with store and assert/fetch commands. But I could not call there member in the lhs of my rule. No function calls allowed, right?

Re: Fw: JESS: Java Objects

2000-08-16 Thread ejfried
I think Aditya Deshpande wrote: Hi, I have to give a run every time I want the activation of rules to take place. Is there any way that I can get the rule engine running all the time and the rules get automatically fired as and when the facts are loaded into the knowledge base.

JESS: Java Objects

2000-08-14 Thread Aditya Deshpande
How do I do this in JESS:Implement factory kind of a pattern wherein based on the property of ajavabean I get a class from JESS returneRegardsAditya

Re: JESS: Java Objects

2000-08-14 Thread ejfried
Do you just mean something like: (deffunction make-widget (?bean) (bind ?type (get ?bean aProperty)) (if (eq ?type "FOO") then (return (new Foo)) else (if (eq ?type "BAR") then (return (new Bar)) else (if (eq ?type "BAZ") then (return (new Baz) (return

Re: JESS: Java Objects

2000-08-14 Thread Aditya Deshpande
voked JESS. Regards Aditya - Original Message - From: [EMAIL PROTECTED] To: Aditya Deshpande [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, August 14, 2000 6:18 PM Subject: Re: JESS: Java Objects Do you just mean something like: (deffunction make-widget (?bean) (bind ?type

Re: JESS: java objects in Jess not updating

2000-06-27 Thread Erik Huestis
Something that I forgot to mention in the previous post is that a (reset) fails with an 'error in routine Rete.broadcastEvent while executing (reset) while executing (batch diag.clp)...' I am sending the propertyChangeEvents after I modify the appropriate properties, as shown in these two set

Re: JESS: Java objects and Jess facts.

1998-07-08 Thread David Young
"Ernest" == Ernest Friedman-Hill [EMAIL PROTECTED] writes: Ernest Hi Lewis, Thanks for the example - this might well explain the Ernest other problem you were having. The problem here lies in the Ernest way that your property mutators are written... Along similar lines, the Java objects in our

Re: JESS: Java objects and Jess facts.

1998-07-08 Thread David Young
"Ernest" == Ernest Friedman-Hill [EMAIL PROTECTED] writes: Ernest Hi David, Well, the Java Beans spec includes the notion of Ernest 'indexed properties', or properties which are arrays that are Ernest accessed one-element-at-a-time, but Jess doesn't do anything Ernest with these; I'm actually

Re: JESS: Java objects and Jess facts.

1998-07-07 Thread Bamba Ndiaye
Hi, I am away on home leave in the US. If this E-mail is private, it will automatically forwarded to my private E-mail address: [EMAIL PROTECTED] Thanks - Original Text From: Ernest Friedman-Hill [EMAIL PROTECTED], on 7/6/98 10:47 AM: I think [EMAIL PROTECTED] wrote: ... When an

Re[2]: JESS: Java objects and Jess facts.

1998-07-07 Thread Lewis_Hart
, VA 22182 __ Reply Separator _ Subject: Re: JESS: Java objects and Jess facts. Author: Ernest Friedman-Hill [EMAIL PROTECTED] at GRC_INET Date:7/6/98 10:47 AM I think [EMAIL PROTECTED] wrote: ... When an instance of a fact, created using d

Re: JESS: Java objects and Jess facts.

1998-07-06 Thread Ernest Friedman-Hill
I think [EMAIL PROTECTED] wrote: ... When an instance of a fact, created using definstance, is modified, the old fact is retracted, _but_ the modified fact is never asserted. In the excerpt below, when the modify is executed the DM_Query fact is lost. Hi Lewis, As the following