Hi,

I have beans A and B. My rules are defined in file rules.clp.
I have rule like this

(defrule assign
  (a ?type)
   (b ?type)
   (a ?location)
   (b ?location)
   =>
    (printout t  "Locations Matched along with types" crlf)
  )

In Java program I want to assert facts.

What is the best way?

I need to make statement like
(assert (a  (call ?a getType))(b (call ?b getType)) (a (call ?a
getLocation))(b (call ?b getLocation)))

where ?a and ?b are instances or beans.

Do I need to make string like this in java program?

Thanks
Bhaskar

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