Maybe
void myJavaMethod() {
rete.run(4);
Value result = rete.fetch("RESULT");
}
or am I missing something?
I think Anderson de Rezende Rocha wrote:
>
> Suppose I have four rules: turn-left, turn-right, go-ahead and go-back.
> Using the Jess engine this rules are fired in a loop. How can I control
> the fires from java? More specificly, to each complete execution of 4
> rules I need get the results and fires the rules again.
>
> How can I make this?
>
> Thanks for help!
>
---------------------------------------------------------
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]
---------------------------------------------------------------------