Rules first become activated, and then are fired. Some activated rules
are never fired, though; their LHSs become untrue before they fire so
they are removed from the agenda. when-activated will evaluate the
salience when the rule is first put onto the agenda; it will then
remain fixed until the rule is either fired or deactivated. If the
rule is later re-activated, the salience will be evaluated again.

I think Abel Martinez wrote:
> 
> Hello,
> 
> Thank you for your answers.
> 
> But I have a last question about this topic. After reading the section
> 2.15.2 I understand the behaviour of
> the atoms when-defined and every-cycle in the (set-salience-evaluation).
> But I don't see clear what is
> the meaning of the atom when-activated. Can you explain me more
> precisely how works the atom when-activated?
> 
> Thank for your attention and greetings for your job,
> Abel.
> 
> Jess supports dynamic salience. See README section 2.15.2, and the
> documentation for the set-salience-evaluation command. You can set the
> salience to a function call, and then arrange it so that the function
> is reevaluated every time the rule is activated. THis should let you
> do what you want to do.
> 
> 
> 
> --
>  Abel Mart�nez
>  Dept. Teoria del Senyal i Comunicacions - U.P.C.
>  tel: (+34 93) 401 56 23
>  e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list. List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
> 
> 


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9214                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to