Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

another problrm with jess!!!

Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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-
author and iconoclast
Posts: 24207
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
What's wrong? Where are you going? Stop! Read this tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic