RE: JESS: How to match Pattern in Facts

2004-08-08 Thread Jason Morris
I think that Calvin said: >>How can I extract these 2 facts out? Hi Calvin, These operations are so basic to Jess that you might want to review them in greater detail before proceeding. If you can get a copy of Jess In Action http://www.manning.com/friedman-hill, study chapters 1-7 thoroughly. T

Re: JESS: Coding (writing rules) Backward Chaining in Java

2004-08-08 Thread calvin pevee
Hi, Thanks for the advice, I took the code and compile it in JessTab in Protigi, and fix error from there. This is the Java code which can be compiled. Well, I am a beginner into Jess, as well as rule based programming. I wish that I have more time to study (which I should) more fundamental stuf

JESS: How to match Pattern in Facts

2004-08-08 Thread calvin pevee
Hi, Assume I have 2 facts: (assert (adv-attribute radio-advertisement low-budget)) (assert (adv-attribute radio-advertisement control-message-frequency)) How can I extract these 2 facts out? I tried:- (assert (adv-attribute radio-advertisement ?x)) (defrule (adv-attribute radio-advertisement