I think Eric Jain wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Is it possible to create facts from within a Java application?
> 
> One solution of course is to use Rete.definstance(object). However, I
> have many simple, small facts and suspect performance could be improved
> if I were to create facts directly. (Or am I mistaken?)
> 
> Also, I need to have the facts retracted when I issue Rete.reset();
> definstanced facts simply get reloaded.
> 

Section 4.7 of the Jess 6.1 manual includes three full examples of
building and asserting three different kinds of jess.Fact objects from
Java using Rete.assertFact(). There's also the Rete.assertString()
method, and of course the old standby Rete.executeCommand().





---------------------------------------------------------
Ernest Friedman-Hill  
Science and Engineering PSEs        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