wood burning stoves 2.0*
The moose likes Other Java Products and Servers and the fly likes another problrm with jess!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "another problrm with jess!!!" Watch "another problrm with jess!!!" New topic
Author

another problrm with jess!!!

assia assiatoune
Greenhorn

Joined: Jul 11, 2004
Posts: 16
hello,
thanks for your answers!

please how can I know if goal"X" is reached or not during the execution of the enference engine JESS on a set of rules and a dets of initial facts?
by using defquery?(which mean asking a query which verifies if the goal exists in the lidt of facts or no to stop the enfernce engine)


this will help me alot in my project.
waiting for your answer.thanks!!! -luyza-
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

This is not "another" problem. This is the same question which you've asked over and over again. I've told you many times nowe that the proper answer is to have a rule which detects your goal condition and takes the proper actions in response. Apparently you don't like this answer; it'd be nice if you'd tell me why you don't like it, as I could either assuage your fears or perhaps, in understanding your situation, help you come up with a better solution.

If, on the other hand, you'd simply like to make your program unnecessarily complex, you're certainly welcome to use a defquery instead, yes.


[Jess in Action][AskingGoodQuestions]
 
wood burning stoves
 
subject: another problrm with jess!!!