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
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
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
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
//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
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