I am getting this exception while calling rete.reset() after executing the rules!
Jess reported an error in routine DefinstanceList.updateShadowFact. Message: Object not a definstance: ...
I over rode the hashCode method. Is this the problem?
Thanks
Bhaskar
Thanks and
Thanks Ernest Friedman!
I removed m_name, it worked fine!
[EMAIL PROTECTED] wrote:
I think [EMAIL PROTECTED] wrote: Is there a way to call one rule from another., instead of recreating non-similar conditions in another rule too? If you're worried about duplication on the right-hand-side of
loops in java better.
Does rule engine solve these kind of problems in simpe way?
Thanks
Bhaskar
[EMAIL PROTECTED] wrote:
I think bhaskar yallala wrote: But I want to write a rule such that for the given demands only cusPriority highest should be matched first and cusFactor highest should
Hi All,
I have demand pool bean which has demands as an array.
Demand has customerPriority, cusFactor, wantedDate, quantity etc.
I have been able to write to match supply with a demand in the demand pool.
But I want to write a rule such that for the given demands only cusPriority highest should
Why this doesnt fire?
I am passing demandPool with three demand objects and customerPriority set 1 for each of them?
(demandPool (OBJECT ?demandPool))
(demandPool (demands $?demands:(member$ (eq customerPriority 1) $?demands ) ) )
I am calling rete.run();
Thanks
Bhaskar
bhaskar yallala [EMAIL
[EMAIL PROTECTED] wrote:
I think bhaskar yallala wrote: Why this doesnt fire? I am passing demandPool with three demand objects and customerPriority set 1 for each of them? (demandPool (OBJECT ?demandPool)) (demandPool (demands $?demands:(member$ (eq customerPriority 1) $?demands ) ) )I don't really
bove rule, if I want to get all the matching demands as list on RHS,how can I get them?
Right now, I only get first demand that's matched.
Thanks
Bhaskar
[EMAIL PROTECTED] wrote:
I think bhaskar yallala wrote: Secondly, In (demandPool (demands $?first ?demand:(eq (get-member ?demand) "x&quo
Hi folks,
Is there a way to break a complex rule in to simpel rules JESS?
How can I make it to fire a rule LHS of defrule? Is it by assert? I was trying this but it says bad slot value!
Any ideas?
Thanks
BhaskarThanks and regards,Bhaskar
[EMAIL PROTECTED][EMAIL PROTECTED]
Do you Yahoo!?
rthly,if I want to bind the matching demand/s how can I do that?
Is it like
(demandPool (demands $?first (bind ?matchedDemand (?demand:(eq (get-member ?demand) "x") )$?rest))
Thanks
Bhaskar
[EMAIL PROTECTED] wrote:
I think bhaskar yallala wrote: class DeandPool{ int[] types; Deman
Hello All
Does any body have complete example of multislot example?
I have JIA.I am just learning things.I didnt find any complete example anywhere.
Ihave
class DeandPool{
int[] types;
Demand[] demands;
}
class Demand{
String type;
}
Ihave rule file like this:
(watch all)
(defclass demandPool
10 matches
Mail list logo