RE: JESS: hi All

2004-08-11 Thread Mitch Christensen
You could assign each rule to a different module, then push the modules in the appropriate order. You could use what I've been calling 'indicator' facts. The first rule to fire looks for the lack of any indicator fact, and asserts a fact indicating it's execution. The second rule looks

RE: JESS: hi All

2004-08-11 Thread remco . radstaak
Hello, rule1 could assert a fact that results in rule2 getting fired; rule 2 could assert a fact that results in rule3 getting fired. Rr. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] namens Subrahmanyam Verzonden: ma 11-8-2003 14:45 Aan: [EMAIL

RE: JESS: hi All

2004-08-11 Thread Judson, Ross
There are a couple of additional techniques you can use to control rule firing order. The main one is introducing additional state facts into the fact base; another is using modules. A very crude example is: (deftemplate state (slot current)) (assert (state (current 0))) In your MAIN module,

RE: JESS: hi All

2004-08-11 Thread Jason Morris
I think that Ross Judson said: There are a couple of additional techniques you can use to control rule firing order. FYI - There are two more ways: 1. Flip the order in which Jess fires facts on the agenda (first activated = first to fire) by using the (set-strategy breadth) command -- a depth