I think Anderson de Rezende Rocha wrote:
>
> What means the int parameter in run(int)?
Chapter 9 of the manual is the Javadoc-generated Java API docs. I
quote:
public int run(int max)
throws JessException
Run the rule engine.
Parameters:
max - The maximum number of rules to fire
Returns:
The number of rules that fired
Throws:
JessException - If anything goes wrong.
>
> I need control the fires of all rules for each time that they fires.
> How can this?
If I understand you correctly, you can't do this. The whole purpose of
Jess is to repeatedly choose, from a set of rules that you supply, the
appropriate set of rules to fire. There is no way to say "fire this
rule, then this one." It doesn't make sense, really. It's up to Jess
to decide when to fire the rules.
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [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 (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------