Matthew, several techniques would be possible. Here are some ideas.
Avoid overlap. The "not" conditional element would be useful. It will, of course, increase the complexity of patterns. Use salience. To quote the Jess User Manual, "this is considered bad style", but it is done, nevertheless. Design the rules so that multiple firing is useful, and the order does not matter because each RHS produces only some specific part of the result. For instance: In a classification, a single unclassified animal fact could be classified as "mammal" by one rule, as "rodent" by another one, and as "rat" by a third one, each setting its own attribute in that fact. Let multiple firings happen and produce one "result" fact by each of them. Add rules that eliminate the undesired results. (With "precision" being an attribute of a classification, all but the result with the maximum precision would have to be eliminated.) Kind regards Wolfgang Matthew J Hutchinson wrote:
Hi everyone, After using Jess in college, I'm looking at using it for some other more serious work and realized I still had some lingering questions: - One of the strengths of Jess is that we can just put facts in and no algorithm is needed - rules fire and hey presto! But when multiple rules fire (especially in the cases where there is some "overlap" in the criteria that make various rules fire) are there good approaches to harness all these firings and distill them back into one outcome which is all too often what's required when combining Jess with other procedural systems? I hope that makes sense. I can see how in some cases firing multiple rules and having different paths is great, but in a case such as classification (just off the top of my head) only 1 outcome is desired. Are there particular phrases I can use when looking for literature to do with this? Cheers, Matt
-------------------------------------------------------------------- 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] --------------------------------------------------------------------