Dear Friend,
I am new in Jess application programming and I would like to ask a question,
It would be very great if you could help me.
How can I get all the results after running a rete engine? In the other
words, I want to get all the fires rules after the running of engine into an
iterator (if there is any fired rules ). In the following code after running
engine, if the number of fired rules is greater than 0, I am looking for a
method call in rete class that helps me to get the list of fired rules.
A piece of my code:
/*****************************************************************************************************/
.....
Rete engine=new Rete();
int NumberOfRules=engine.run(); // Running Jess
Sysem.out.println("Number of rules after RunnungJess: "+NumberOfRules);
if (NumberOfRules >0){
Iterator
JessResultIterator=engine.??????????
}
...
/*****************************************************************************************************/
Thanks
Nice
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.