Re: JESS: Who needs class as a slot in a shadow fact?

2007-07-25 Thread Wolfgang Laun
Ernest Friedman-Hill wrote: On Jul 24, 2007, at 12:17 PM, Wolfgang Laun wrote: we see that the fact includes a slot class, inherited from Object . Why is this not suppressed? It never has been. Although I don't think the class property is *extremely* useful, I could certainly come up

JESS: Add, remove and update fuzzy rules dinamically

2007-07-25 Thread Sasigain Usoa
Hello, I´d like to add, remove and update fuzzy rules dinamically in Jess from Java. We have several sensors from which we get a lot of data, and using data mining we want to create new fuzzy rules. We would like to know if there is any way to introduce these rules in Jess (via

JESS: Add, remove and update rules dinamically

2007-07-25 Thread Makibar Kepa
Hello, I´d like to add, remove and update rules dinamically in Jess from Java. We have several sensors from which we get a lot of data, and using data mining we want to create new rules. We would like to know if there is any way to introduce these rules in Jess. Thanks.

RE: JESS: Add, remove and update rules dinamically

2007-07-25 Thread Orchard, Bob
You should be able to add fuzzy rules exactly the same as non-fuzzy rules from Java. You could use the Defrule class to create the rule from a text string and then use addRule method with your Rete (FuzzyRete) instance. You might also use the batch method of your Rete (FuzzyRete) instance to

Re: JESS: Add, remove and update rules dinamically

2007-07-25 Thread Ernest Friedman-Hill
Actually the Defrule(String) constructor wants the name of the rule, not the complete text. Building a Defrule object is a tricky thing. Instead, use the eval() method (which used to be called executeCommand()) to pass the text of a new rule to the Rete object. As Bob said, you could also