Hi,

Is there any fixed, specific strategy to determine the activation order?

Heres what i am doing:

1. Load some facts and rules in JESS.
2. Save the facts in an arraylist.
3. get the list of activations. (activation list: A B)
4. fire first activation
5. reload the state from the arrayList
6. get the list of activations (activation list: B A)
7. now the order of activations is different than what i got previously.

Is there any way to keep the activations order same?

or Basically what i want to do is:

save the state in an arraylist
get the list of activations
fire the first activation
reset the state from the arraylist
get the list of activations
fire the next activation that was not fired previously from the activation
list.


Thanks in advance,

Sanket.

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

Reply via email to