Hi,
In our research project, we need to handle a large number of
objects and rules. So I am thinking of using so-called "rule subroutines"
to handle this situation (BTW, my old system was in CLIPS, at the end the
rule
base became so large, and it
became very difficult to add any new rules and to debug
if something goes wrong during the reasoning stage).
This is what I thought it may work better:
I partition my rule bases into different rule sets and associate
these rule sets with specific objects (Java objects that
can have Jess connection--a Jess fact with wrapper).
At various stages, the object could call its particular set of
rules to match against the current context and to fire (if there
is a match) as it calls a "subroutine". This way, not all rules (e.g.,
rule sets associated
with other objects) will be used to match against the context,
consequently,
it improves the performance and structure of the system (e.g., easier for
debugging since only a limited set of rules will be used).
However, there are a couple of issues:
1. How to obtain/structure the final result of a rule subroutine? ( I am
not
clear how to obtain the rule firing results after the rule are fired--e.g.,
which
rule has fired).
2. How to tell Jess in Java that I only want to use a particular set of
rules?
I am pretty sure there are dirty, quick ways to these issues but I'd like
to
hear experts' opinions/suggestions as how I should approch this more
efficiently and elegantly.
Thanks in advance,
--------------------------------------------------------------------------------------
Michelle Zhou
IBM T.J. Watson 30 Saw Mill River Rd Hawthorne, NY 10532
Tel (914)784-7633 Fax (914)784-7455
http://www.cs.columbia.edu/~zhou
----------------------------------------------------------------------------------------
---------------------------------------------------------------------
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]
---------------------------------------------------------------------