I'm assuming you mean -ordered- facts, the ones without slots.
Actually, yes, you can do this with ordered facts, but you have to use
the "secret" of how ordered facts are implemented. You will presumably
want to define the inheritance before any facts of the relevant types
are asserted, so you
Thanks. Is there a way to do this with onordered facts?
[EMAIL PROTECTED] writes:
>
> I think Mark Nahabedian wrote:
> >
> > I have several predicate/templates that share certain behavior. I'd
> > like to exopress this through shared code... Is there some way of
> > doing this in Jes
ÄãºÃ!
À´ÐÅÒÑÊÕµ½
JavaHR.COM
> - Original Message -
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!) List
I think Mark Nahabedian wrote:
>
> I have several predicate/templates that share certain behavior. I'd
> like to exopress this through shared code... Is there some way of
> doing this in Jess? For example, can I use a variable in the first
> element of a template ...
This is a planned featur
I have several predicate/templates that share certain behavior. I'd
like to exopress this through shared code. FOr example: I have two
templates of the form
(same-side ?s1 ?s2) and
(same-face ?f1 ?f2)
I can't just merge these into one "equality" template because there
are other ru
Great !
I thank you to aswer me so quickly.
Samuel Kentzel
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: jeudi, 29. novembre 2001 17:14
To: [EMAIL PROTECTED]
Subject: Re: JESS: Catch the current instance evaluated by a rule ?
Every defclass gets an OBJE
Every defclass gets an OBJECT slot, which contains a reference to the
Bean.
(deffrule myRule
(person (OBJECT ?per))
(test (myFunction ?per))
=>
(printout t "Fire" crlf))
This is mentioned and illustrated in manual section 2.7.4.
I think Samuel Kentzel wrote:
[Charset iso-8859-1 u
I try to do somethings like this :
(defclass person Person)
(bind ?p1 (new Person))
(bind ?p2 (new Person))
(bind ?p3 (new Person))
(definstance person ?p1 static)
(definstance person ?p2 static)
(definstance person ?p3 static)
(deffunction myFunction(?per) (.use of the current instance of t
I think Mikael Rundqvist (ERA) wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi,
> I have thought about that and from what I understand this seems to be a good idea.
> But than I have a follow-up question:
> Does letting a subclass use the deftemplate of a superclass mean tha
Hi,
I have thought about that and from what I understand this seems to be a good idea.
But than I have a follow-up question:
Does letting a subclass use the deftemplate of a superclass mean that you cannot use
methods only declared in the subclass? (practically casting to the superclass.)
Thank
I think Mikael Rundqvist (ERA) wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi,
> I am using Jess60b3.
> I am working with Jess in a configuration where Jess is an embedded component of the
>application.
> In the application there are several inheritance hierarchies which I
I think Glenn Tarbox wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hello,
>
> The view function for a specified rule brings up an empty graph window (at
> least on my machine). It works properly without a rule having been
> specified (brings up the entire Rete network).
>
>
I think Mark Nahabedian wrote:
>
> I've been using Jess 5.2. Should I upgrade or is there a similar
> patch to 5.2?
>
You can add the line
engine.run(10);
at line 547 in jess/MiscFunctions.java to get the same effect.
> Do I need to define a query or is there some other way?
>
>
I think =?iso-8859-1?Q?Fr=E9d=E9ric_Jordan?= wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hello,
>
> I'm working with java object as fact. To update a fact I remove the fact
> from facts list and insert the update object. I cannot use modify
> because it is based on the id of
Hi,
I am using Jess60b3.
I am working with Jess in a configuration where Jess is an embedded component of the
application.
In the application there are several inheritance hierarchies which I have access to
and do several defclasses and definstances on.
My questions are:
If a have an inheritanc
Hello,
I'm working with java object as fact. To update a fact I remove the fact
from facts list and insert the update object. I cannot use modify
because it is based on the id of the fact. It is possible to modify the
fact with the java object itself without store the index of the fact in
the jav
16 matches
Mail list logo