Re: JESS: hi All

2004-08-11 Thread James Owen
Or, just a thought, you could use a goal-oriented approach such that the first CE of the rule is a Goal object with a Name, usually a literal equal to a integer for speed considerations and to avoid the String.equals(String) method.  All of the rules having to do with one stage would ask "if th

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

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 remco . radstaak
PROTECTED] CC: Onderwerp: JESS: hi All Hi All Is there a way to control the rule firing order with out using salience? I have three rules checking three different conditions on the same set of facts. The order in which the rules

RE: JESS: hi All

2004-08-11 Thread Mitch Christensen
PROTECTED]On Behalf Of SubrahmanyamSent: Monday, August 11, 2003 5:46 AMTo: [EMAIL PROTECTED]Subject: JESS: hi All Hi All   Is there a way to control the rule firing order with out using salience? I have three rules checking three different conditions on the same set of facts.

JESS: hi All

2004-08-11 Thread Subrahmanyam
Hi All   Is there a way to control the rule firing order with out using salience? I have three rules checking three different conditions on the same set of facts. The order in which the rules fire is important(rule1 , then 2 then 3). Can this be achieved with out using salience?   Than