I think =?iso-8859-1?Q?D=F3nal_Murtagh?= wrote:
> Hi,
>
> I'm looking for a planner implemented in Jess - preferably one which can
> perform Hierarchical Task Network (HTN) planning and is available (free
> of charge), but if you know of *any* Jess planner, I'd be grateful if
> you'd send me the d
Hi
I have bean A and B
I want to write a rule that searches the list of B Beans and finds the
best match. How do I write that rule?
like A.type = B.type and A.loc= B.loc so on.
Is it by writing a rule for single bean and iterating the rule in loop or
can we put iteration in rule itself?
T
(defclass a com.xyz.A )
(defclass b com.xyz.B )
(defrule assign
(a ?type)
(b ?type)
=>
(printout t "Matched types" crlf) )
hello all,
Is it possible to do a wild card search in Jess. If so how..
Appreciate if someone can this example and reply me back..
(defquery q_wn_hyp (declare (variables ?word)) (wn_sense (syn_id ?hypid) (word ?o&: (= (str-compare ?o ?word) 0))) (wn_hyp (hypo_id ?hypid) (hyper_id ?
I think [EMAIL PROTECTED] wrote:
>
> Is it by writing a rule for single bean and iterating the rule in loop or
> can we put iteration in rule itself?
Neither. You write a rule which matches some combination of Beans, and
Jess finds sets of Beans that match that rule, and fires the rule for
each
I think [EMAIL PROTECTED] wrote:
>
> (defclass a com.xyz.A )
> (defclass b com.xyz.B )
> (defrule assign
> (a ?type)
>(b ?type)
Note, again, that this rule will never match instances of the
defclasses described above, for reasons previously discussed; and
again, that variables names have n
Hi!
I get the module name "MAIN::" prefixed to information I get on rete
objects, for example getName() on a Fact. What's the best way *not* to
get this module name?
Thanks,
myriam
To unsubscribe, send the words 'unsubscrib
Hi,
I have in rules file
(defclass dimmer DimmerSwitchDynamic)
I want to create a new instance and bind that to it in java file.
I am calling
rete.definstance("ds", dimmerObject, false);
in clp file I have
(printout t "brightness" (call ?ds getBrightness) crlf).
But I need to have
(bind ?
I am starting to build an expert system that needs to run off a database. The dataset
is quite large (data arriving at the rate of gigs per hour).
The approach I am taking to run multiple rule-engines, having each engine look at the
data in a different way. Partitioning the data like give us vie
Title: RE: JESS: Java bean binding and definstance
First, the first argument to rete.definstance() ("ds" in the example below) must match the name you give in the first argument to the (defclass) ("dimmer" in the example below.)
Second, in order to bind to an object you have definstanced, you
I think VanVorst, Nathanael (Mission Systems) wrote:
>
> First question: does that approach seem make sense or have I given enough details?
Makes sense, yes. The Rete algorithm that Jess uses is based on an
assumption of a potentially large but slowly-changing working memory;
anything you can d
I think Balakrishnan Prasath wrote:
> hello all,
>
> Is it possible to do a wild card search in Jess. If so how..
I had to think a bit to figure out what you meant. I'm guessing you
want to rewrite the query below so that "?word" can be something like
"th*" to match all the words that start with
I think [EMAIL PROTECTED] wrote:
>
> Hi!
>
> I get the module name "MAIN::" prefixed to information I get on rete
> objects, for example getName() on a Fact. What's the best way *not* to
> get this module name?
>
Untested:
public static String nameWithoutModule(String name) {
int start = na
13 matches
Mail list logo