I think Jeff Richley wrote:
> I have a project that has roughly 10,000 business
> rules.  Another major factor is that there are 13
> programmers (not including myself) and I am the only
> one that has ever programmed in Java.  The powers that
> be have decided that we are going to write the entire
> program in Java.  There are some very good reasons for
> this decisions that I won't go into right now.
> 
> My question is, would JESS be a good solution for
> all of these rules.  I haven't really gotten a good
> handle on exactly what is required to use Jess.
> Is this something that I would be able to give a
> statement like "if all of the planes were unmanned
> then field x must be equal to 'q'"?  Or is it
> something that I would actually have to program that statement?

The rules have to be written in the Jess rule language. Before you do
this, you'd have to choose a paradigm for the application, and a data
representation for the information the rules work with. Given that,
the rule above might look like this:

(defrule unmanned-planes
  (not (plane (manned TRUE)))
  ?x <- (x (value ~q))
  =>
  (modify ?x (value q)))

---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

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