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' ?
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
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
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?
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.
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
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
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
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
"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
"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
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
, 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
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
14 matches
Mail list logo