Hello All,

I have a particular jess file, which has certain functions and rules that
fire depending on the input provided by a java program...Java program holds
the main execution of the entire program. I was wondering, if there's a way,
whereby the jess engine can be left running, without having to call (Reset)
to insert facts everytime and (run) again and again...

What I mean to say is that, is there a way, whereby we can automatically
keep inserting facts into working memory...and let the  jess program rules
fire automatically upoon insertion of facts...without having to call (reset)
and (run) everytime...Something like this.. to provide an idea

>From java file (assumin r is the object for Rete class)

r.executeCommand( (batch jessFile.clp))
r.run()

while( certain Condition is not met )
{
         r.executeCommand( "(insertfactsIntoMemory)" )
}

Being a newbie, I might have asked a dull, stupid question, but I just
wondered if some tips, suggestions can be provided :-)
-- 
View this message in context: 
http://www.nabble.com/Running-jess-for-certain-time-tf2139824.html#a5905414
Sent from the Jess forum at Nabble.com.

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to