Re: JESS: Comparing Retes
Hello, I am doing a search deep algorithm, and i want to know if there are equals states in order to delete them. Best regards From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: JESS: Comparing Retes Date: Wed, 28 Jul 2004 08:44:44 -0700 (PDT) I think =?iso-8859-1?B?U2VyZ2lvIE1hcnTtbiBCYWxsZXN0ZXJvcw==?= wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hello, > > "Is there any way to compare if 2 RETE classes (with java passed objects) > are the same?? Or, in other words, is it possible to know if the atribute > values of the classes and the RETES are the same?" No, not really -- other than writing an enormous equals() method which iterated through all the constructs, all of working memory, etc. Can I ask why you want to do this? Maybe we can come up with another solution to your problem. - Ernest Friedman-Hill Science and Engineering PSEsPhone: (925) 294-2154 Sandia National LabsFAX: (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] _ La informacisn mas fresca desde diferentes puntos de vista en la Revista de Prensa de MSN. http://es.newsbot.msn.com/ 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]
Re: JESS: Comparing Retes
I think =?iso-8859-1?B?U2VyZ2lvIE1hcnTtbiBCYWxsZXN0ZXJvcw==?= wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hello, > I am doing a search deep algorithm, and i want to know if there are equals > states in order to delete them. Hmmm. I suspect we're having some troubles understanding one another. You can't possibly be doing a search algorithm in which each state along the path is represented by a separate jess.Rete object. Perhaps you mean comparing facts, or comparing the Java objects themselves? - Ernest Friedman-Hill Science and Engineering PSEsPhone: (925) 294-2154 Sandia National LabsFAX: (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]
Re: JESS: Comparing Retes
Hello, Which is the best way to compare facts and compare java Objetcs themselves? Thanks and sorry for my poor english. From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: JESS: Comparing Retes Date: Thu, 29 Jul 2004 05:57:12 -0700 (PDT) I think =?iso-8859-1?B?U2VyZ2lvIE1hcnTtbiBCYWxsZXN0ZXJvcw==?= wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hello, > I am doing a search deep algorithm, and i want to know if there are equals > states in order to delete them. Hmmm. I suspect we're having some troubles understanding one another. You can't possibly be doing a search algorithm in which each state along the path is represented by a separate jess.Rete object. Perhaps you mean comparing facts, or comparing the Java objects themselves? - Ernest Friedman-Hill Science and Engineering PSEsPhone: (925) 294-2154 Sandia National LabsFAX: (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] _ Reserva desde ahora tus vacaciones en MSN Viajes. Mas csmodo, mas barato y mas opciones. http://www.msn.es/Viajes/ 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]
JESS: Help ! How can i implement my Userfunction ?
Hallo I am a new jess-user. i have the following function to get slot-value. (deffunction getNachweis () (return (fact-slot-value (fact-id 1) nachweis)) ) The fact with slot named nachweis ist existing. How can i implement this function in Java code ? Thanks la 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]
RE: JESS: Help ! How can i implement my Userfunction ?
I think that Mong-Thao wrote: >> How can i implement this function in Java code ? See http://herzberg.ca.sandia.gov/jess/docs/61/extending.html# for a full explanation. Cheers, -JM Jason Morris Morris Technical Solutions [EMAIL PROTECTED] www.morristechnicalsolutions.com fax/phone: 503.692.1088 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, July 29, 2004 10:39 AM > To: [EMAIL PROTECTED] > Subject: JESS: Help ! How can i implement my Userfunction ? > > > Hallo > I am a new jess-user. > i have the following function to get slot-value. > > (deffunction getNachweis () > (return (fact-slot-value (fact-id 1) nachweis)) > ) > > The fact with slot named nachweis ist existing. > How can i implement this function in Java code ? > > Thanks > la > > > 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] > > 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]
RE: JESS: Comparing Retes
Sergio, The Rete object is a "facade" http://en.wikipedia.org/wiki/Facade_pattern that wraps Jess's API. It's not really a container for computation per se, rather it's like a convenient "control panel" for Jess. So, as Ernest pointed out, it's not clear why you are trying to "compare" Rete instances. That said, it is easy to compare Jess facts using various methods, but comparing Java objects is a basic Java technique that is not specific to Jess. If you can describe some details of your application (what you are trying to do specifically), the group can offer better advice to you. Cheers, -Jason Jason Morris Morris Technical Solutions [EMAIL PROTECTED] www.morristechnicalsolutions.com fax/phone: 503.692.1088 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Sergio Martmn Ballesteros > Sent: Thursday, July 29, 2004 10:21 AM > To: [EMAIL PROTECTED] > Subject: Re: JESS: Comparing Retes > > > Hello, > Which is the best way to compare facts and compare java Objetcs > themselves? > > Thanks and sorry for my poor english. > > > >From: [EMAIL PROTECTED] > >Reply-To: [EMAIL PROTECTED] > >To: [EMAIL PROTECTED] > >Subject: Re: JESS: Comparing Retes > >Date: Thu, 29 Jul 2004 05:57:12 -0700 (PDT) > > > > > >I think =?iso-8859-1?B?U2VyZ2lvIE1hcnTtbiBCYWxsZXN0ZXJvcw==?= wrote: > >[Charset iso-8859-1 unsupported, filtering to ASCII...] > > > Hello, > > > I am doing a search deep algorithm, and i want to know if there are > >equals > > > states in order to delete them. > > > >Hmmm. I suspect we're having some troubles understanding one > >another. You can't possibly be doing a search algorithm in which each > >state along the path is represented by a separate jess.Rete > >object. Perhaps you mean comparing facts, or comparing the Java > >objects themselves? > > > > > >- > >Ernest Friedman-Hill > >Science and Engineering PSEsPhone: (925) 294-2154 > >Sandia National LabsFAX: (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] > > > > > > _ > Reserva desde ahora tus vacaciones en MSN Viajes. Mas csmodo, mas > barato y > mas opciones. http://www.msn.es/Viajes/ > > > 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] > > 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]