JESS: Minor documentation error

2004-06-18 Thread Alan Moore
Title: Minor documentation error The users manaual has a small error. See section 8.75 - the get-salience-evaluation function is listed without () chars... 8.75. get-salience-evaluation should be: 8.75. (get-salience-evaluation) alan

Re: JESS: Minor documentation error

2004-06-18 Thread ejfried
I think Alan Moore wrote: > The users manaual has a small error. See section 8.75 - the > get-salience-evaluation function is listed without () chars... Thanks! - Ernest Friedman-Hill Science and Engineering PSEsPhone: (925) 294-21

JESS: running rules from java program

2004-06-18 Thread BYALLALA
Is there any example of setting the variables in java program for the rules in a file and getting the results in java program. I am getting varibales not initialized problem! Thanks Bhaskar To unsubscribe, send the words 'uns

Re: JESS: running rules from java program

2004-06-18 Thread ejfried
I think [EMAIL PROTECTED] wrote: > > Is there any example of setting the variables in java program for the rules > in a file and getting the results in java program. > > I am getting varibales not initialized problem! > You generally don't communicate with Jess by setting variables, but rather

Re: JESS: running rules from java program

2004-06-18 Thread BYALLALA
//in a file hello.clp (defrule startup => (assert (num1 (fetch A))) (assert (num2 (fetch B))) (assert (num3 (fetch C))) ) (defrule sum_rule (cmp ?numb) => (if(> ?numb 10) then (bind ?sum (+ ?sum ?numb (assert (cmp num1)) (assert (cmp num2)) (assert (cmp num3)) (store re

Re: JESS: running rules from java program

2004-06-18 Thread ejfried
I think [EMAIL PROTECTED] wrote: > > //in a file hello.clp > (defrule startup => > (assert (num1 (fetch A))) > (assert (num2 (fetch B))) > (assert (num3 (fetch C))) ) > This is fine > > > > (defrule sum_rule (cmp ?numb) => (if(> ?numb 10) then (bind ?sum (+ ?sum > ?numb