Hi,

 

If there is a very large number of facts pumped into the rule engine,
out of which a small number is relevant to the existing rules, then I
would like to retract the irrelevant facts to conserve memory. My
question is, is there a way to know if a fact is a (possibly partial)
match for any rule in the working memory?

I was thinking of writing a rule to match facts that are irrelevant to
all other rules, and as the action to retracting matching facts, but I
am not sure how I would write such a rule. How would I write this rule,
or is there any alternative way to achieve this in Jess?

 

Thanks,

Shyamal

Reply via email to