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.
I think Abel Martinez wrote:
>
> Hello,
>
> I'm developing an expert system under Jess 4.3 and I need to change
> dinamically the salience of the rules to improve the search of the final
> state. That is, if the selection and execution of one rule drives the
> system to an infinite loop I want to backtrack and change the salience
> of this rule (decreasing it) in order to facilitate the selection and
> execution of another rule from the backtracking point.
>
> In other words, the strategies of depth-first and breadth-first are
> not enough to my system and I want to change the salience of the rules
> in order to redirect the search mechanism.
>
> Can anybody give me some tricks?
>
> Thanks in advance,
> Abel.
>
> --
> 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]
---------------------------------------------------------------------