Re: JESS: HELP on a rule

2010-03-11 Thread John Chrysakis
You have right, It was my fault and a null exception an a later call, so NO PROBLEM, thanks for your immediate answers. On Wed, 10 Mar 2010, Ernest Friedman-Hill wrote: > > On Mar 10, 2010, at 11:13 AM, John Chrysakis wrote: > > > (bind ?newrooms (?usr getDisplayRooms)) > >

Re: JESS: HELP on a rule

2010-03-10 Thread Ernest Friedman-Hill
On Mar 10, 2010, at 11:13 AM, John Chrysakis wrote: (bind ?newrooms (?usr getDisplayRooms)) (calling ShowContent ?newrooms) The "bind" line looks fine; if ShowContent is a deffunction or loaded Userfunction, the second line should just be "(ShowContent ?newrooms)"

Re: JESS: HELP on a rule

2010-03-10 Thread Jason Morris
Hi John, What leads you to think that it wouldn't be possible? Note that in the code you give, you are missing a closing parentheses, your user-defined Jess function name starts with a capital letter (which is unusual since this syntax is reserved for denoting class names), and there is no Jess k

Re: JESS: Help using multislot form from-class template

2009-05-12 Thread Ernest Friedman-Hill
A Jess list is not a java.util.List, and vice versa. An actual array becomes a multislot (list) property; a java.util.List property becomes a plain old single slot containing the java.util.List object. You can call Java methods on that List object to retrieve its elements and make various

Re: JESS: Help using multislot form from-class template

2009-05-12 Thread Davide Zambon
Thanks a lot for the quick and right answer! :-) Unfortunately this seams not work properly when I try to use the multislot value like a list. Trying to read an element of the list, Jess gives me this error: Message: '' is JAVA_OBJECT, not a list. isn't a Class-defined array still a multislot?

Re: JESS: Help using multislot form from-class template

2009-05-12 Thread Ernest Friedman-Hill
Multislots come from properties of array type -- i.e., private int[] ia; public int[] getAges() { return ia; } public void setAges(int[] ages) { ia = ages; } Jess most definitely does *not* like working with methods that return or accept objects of type jess.Value or jess.ValueVector or their

Re: JESS: Help needed: How to force a rules to execute every time the content of a dependent function changes

2008-11-19 Thread Wolfgang Laun
Only a few observations - see below. On Tue, Nov 18, 2008 at 11:12 PM, Per Christian Engdal <[EMAIL PROTECTED]>wrote: > I am using Jess in a small and simple system doing simple geometry > calculations based on user input, regarding (geometry) element structure and > x, y and z values. > > For t

Re: JESS: HELP please

2008-05-02 Thread Jason Morris
Hi Gabriel, >> Could you help me about the problem "WORLD OF BLOCKS"? The block world problem is about as canonical as you can get in production rule literature. You should have no trouble finding references. Just Google "blocks world". Do you have a good textbook on expert systems? Every dece

Re: JESS: help me

2007-10-15 Thread Robert Kildare
Friedman-Hill "JESS IN ACTION" should get you out of trouble. If you want to use two texts to get different versions of the same ideas Giarratano and Riley "Expert Systems: Principles and Programming" has several chapters on CLIPS... which was the the C implementation of an expert systems sh

Re: JESS: Help: OutOfMemory problem

2007-06-28 Thread Wolfgang Laun
Not knowing the details, I can only quote "divide and conquer". If the sets of facts (F) and rules (R) can be divided so that F = union(F1, F2,... Fn) and R = union(R1, R2,...Rn) and these may be paired to run as F1/R1,...Fn/Rn then you might be able to process even bigger Java programs. Perha

Re: JESS: Help: OutOfMemory problem

2007-06-27 Thread Ernest Friedman-Hill
On Jun 27, 2007, at 3:22 PM, fan yang wrote: I didn't take consideration of Q12 yet. I will look at it. But for my case, I just tried to load facts and didn't try to fire the rules. Do you have other advices for me? Thank you. Pattern matching happens when working memory is changed -- i.e

Re: JESS: Help: OutOfMemory problem

2007-06-27 Thread fan yang
I didn't take consideration of Q12 yet. I will look at it. But for my case, I just tried to load facts and didn't try to fire the rules. Do you have other advices for me? Thank you. On 6/27/07, Ernest Friedman-Hill <[EMAIL PROTECTED]> wrote: On Jun 27, 2007, at 1:47 PM, fan yang wrote: > I h

Re: JESS: Help: OutOfMemory problem

2007-06-27 Thread Ernest Friedman-Hill
On Jun 27, 2007, at 1:47 PM, fan yang wrote: I have tried Jess Version 7.1a1 to load the same aforementioned facts file, I still got the following error without any luck. Ernest, you said that 7.1 parser would detect duplicate symbols and share them, how can I know this new function work? N

Re: JESS: Help: OutOfMemory problem

2007-06-27 Thread fan yang
I have tried Jess Version 7.1a1 to load the same aforementioned facts file, I still got the following error without any luck. Ernest, you said that 7.1parser would detect duplicate symbols and share them, how can I know this new function work? Need I give some commands to Jess and ask Jess parser

Re: JESS: Help: OutOfMemory problem

2007-06-27 Thread fan yang
Cool! I'm going to try it, cross fingers. I will let you know the results. thank you. On 6/27/07, Ernest Friedman-Hill <[EMAIL PROTECTED]> wrote: It looks like your facts include a mostly symbols, with a lot of duplication. This is good news, because the parser in Jess 7.1 (there's an alpha ver

Re: JESS: Help: OutOfMemory problem

2007-06-27 Thread Ernest Friedman-Hill
It looks like your facts include a mostly symbols, with a lot of duplication. This is good news, because the parser in Jess 7.1 (there's an alpha version available on the web site) will detect duplicate symbols and share them, which in your case could save a *lot* of memory. Try it out and

Re: JESS: Help required

2007-01-08 Thread Jason Morris
On 1/7/07, Soil inf. <[EMAIL PROTECTED]> wrote: ...The project is based in Sydney, and we are looking for some help in the program development side. So at this stage we are looking for experienced Jess users for some guidance with the possibility of some paid consultant work. Hello! Short of

Re: JESS: Help with Rete getObjects method

2006-10-04 Thread friedman_hill ernest j
I think Barker, Brett A wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > > Hello, > > I am running into a problem with the Rete getObjects( Filter.ByClass( > CLASS.class) ) method. I am trying to retrieve results from a Rete object > after having called the Rete.run() method. Ho

Re: JESS: Help: Installing Jess to Eclipse

2006-08-03 Thread Chandler (sent by Nabble.com)
Thank You SIR :-) for your help.. -- View this message in context: http://www.nabble.com/Help%3A-Installing-Jess-to-Eclipse-tf2033790.html#a5634124 Sent from the Jess forum at Nabble.com. To unsubscribe, send the words 'unsubs

Re: JESS: Help: Installing Jess to Eclipse

2006-08-03 Thread friedman_hill ernest j
I think Chandler (sent by Nabble.com) wrote: > > Respected Sir, > > Thank you for the much needed valuable information... > I downloaded Jess7 and I followed the exact procedures mentioned on the > jessrules website to install the plugin for eclipse.. I then restarted > eclipse and nothing happen

Re: JESS: Help: Installing Jess to Eclipse

2006-08-03 Thread Chandler (sent by Nabble.com)
Respected Sir, Thank you for the much needed valuable information... I downloaded Jess7 and I followed the exact procedures mentioned on the jessrules website to install the plugin for eclipse.. I then restarted eclipse and nothing happened...how do I know if the plugins have been installed ? I

Re: JESS: Help: Installing Jess to Eclipse

2006-08-01 Thread friedman_hill ernest j
Well, first off, the JessDE is a feature of Jess 7, not of Jess 6. When using the JessDE, you don't have to put a copy of jess.jar anywhere; the Jess 7 manual tells you how to install the JessDE into Eclipse. I think learning both of these technologies together is unlikely to work out very well.

Re: JESS: Help on Jess Rules ..plz

2006-06-23 Thread friedman_hill ernest j
I think John wrote: I hesitate to get involved in this discussion, but perhaps by supplying some of the missing information early on, I can avoid turmoil later. > > Well...let me start will the fundamentals of rule-based programming in both > Jess and CLIPS. Rule-based programming resembles even

RE: JESS: Help with error

2006-06-23 Thread Krasnigor, Scott L (N-AST)
EMAIL PROTECTED] On Behalf Of friedman_hill ernest j Sent: Thursday, June 22, 2006 12:18 PM To: jess-users@sandia.gov Subject: Re: JESS: Help with error I think Krasnigor, Scott L (N-AST) wrote: > Not a problem. Is there a simple fix I can implement. I am trying to > prototype a failover capabili

Re: JESS: Help on Jess Rules ..plz

2006-06-23 Thread John
ls, and I'll gladly contribute my input from that perspective.DonaBegin forwarded message:> From: "Jason Morris" <[EMAIL PROTECTED]>> Date: June 21, 2006 5:25:58 PM CDT > To: jess-users@sandia.gov, [EMAIL PROTECTED]> Subject: Re: JESS: Help on Jess Rules ..plz> Repl

Re: JESS: Help on Jess Rules ..plz

2006-06-22 Thread Dona Mommsen
e my input from that perspective. Dona Begin forwarded message: From: "Jason Morris" <[EMAIL PROTECTED]> Date: June 21, 2006 5:25:58 PM CDT To: jess-users@sandia.gov, [EMAIL PROTECTED] Subject: Re: JESS: Help on Jess Rules ..plz Reply-To: jess-users@sandia.gov Hi Dona, I apologize

Re: JESS: Help with error

2006-06-22 Thread friedman_hill ernest j
gt; On Behalf Of friedman_hill ernest j > Sent: Thursday, June 22, 2006 9:43 AM > To: jess-users@sandia.gov > Subject: Re: JESS: Help with error > > I think Krasnigor, Scott L (N-AST) wrote: > > I am getting the following exception when trying to do a bsave. It is > > occ

RE: JESS: Help with error

2006-06-22 Thread Krasnigor, Scott L (N-AST)
. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of friedman_hill ernest j Sent: Thursday, June 22, 2006 9:43 AM To: jess-users@sandia.gov Subject: Re: JESS: Help with error I think Krasnigor, Scott L (N-AST) wrote: > I am getting the following except

Re: JESS: Help with error

2006-06-22 Thread friedman_hill ernest j
I think Krasnigor, Scott L (N-AST) wrote: > I am getting the following exception when trying to do a bsave. It is > occurring when the bsave method is executing oss.writeObject(m_rules). I > don't understand what could be causing this and am looking for any > insight into the issue. I am running Je

Re: JESS: Help on Jess Rules ..plz

2006-06-22 Thread Jason Morris
Hi John, One more silly question; is CLIPS more advanced than JESS? I see lot of common syntax and features between them. Then why not use CLIPS? Well, apparently there is a CLIPS Tab plugin for Protege http://protege.stanford.edu/plugins/CLIPSTabPages/CLIPS_tab.html , but if you use CLIPS

Re: JESS: Help on Jess Rules ..plz

2006-06-21 Thread John
first, thx for Dona & Jason for their valuable comments. Yes, Dona, your guess is right. I am using protege in combo with Jess. I see protege is more powerful if you combine the Jess features. As Dona have accurately guessed, I used JessTab to map instances and classes created in protege to Jess.

Re: JESS: Help on Jess Rules ..plz

2006-06-21 Thread Jason Morris
Hi Dona, I apologize for barging in. I'm just guessing that John might be using Jess in combination with Protégé Ernest has a point that Jess Tab is generating nasty Jess code. If Jess Tab is to really play well with Jess proper, perhaps somebody from the Jess camp should volunteer to help ou

Re: JESS: Help on Jess Rules ..plz

2006-06-21 Thread Dona Mommsen
Hi, I apologize for barging in. I'm just guessing that John might be using Jess in combination with Protégé (object (is-a Node\ Spoof) (resource\ sequence $? ?o $?) (Behavior\ ID ?bid)) looks very much like a mapped instance with JessTab. Asserting facts with mapclass or mapinstance creat

Re: JESS: Help on Jess Rules ..plz

2006-06-21 Thread friedman_hill ernest j
This should work fine if the "resource sequence" multislot contains the actual fact object; if you showed us where you assert the "Hello" fact, then I could probably tell you what's gone wrong. While we're here, I should ask why you're doing this "object/is-a" thing, rather than having a "hello" t

Re: JESS: help pls...

2006-04-28 Thread ejfried
You don't say *what* problems you're having, but two major issues I see are that you haven't included the necessary deftemplate declarations, and lines like this > (assert (recommendation > (We do not advise you to exercise in your condition) > (Please see y

Re: JESS: Help required in Jess

2006-03-03 Thread ejfried
The Rete class is threadsafe but stateful. It is safe for multiple clients to share an instance, but in doing so, they will be sharing state. If you want multiple threads to share a single Rete object but keep their data separate, then their data has to be distinguishable. Every template used for

Re: JESS: Help with Chess Knight move

2005-05-11 Thread ejfried
I think Ricardo Chico wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > > > It4s difficult to me get when knight kills all the pawns and > finish the game. I have tried with a multislot pawns and it is deleted > (one object of multislot) when knight kills pawn. But it

Re: JESS: Help! Strange error when inserting a fact-id into a fact

2005-03-10 Thread Felix H. Bachmann
Oops ... I should have seen that. Indeed it was the listener and not the assert statement itself. Sorry for th confusion and many thanks for pointing me in the right direction. Felix [EMAIL PROTECTED] wrote: I think Felix H. Bachmann wrote: Here's the exception Jess threw, which is then rethrown

Re: JESS: Help! Strange error when inserting a fact-id into a fact

2005-03-09 Thread ejfried
I think Felix H. Bachmann wrote: Here's the exception Jess threw, which is then rethrown by your other code: > Message: Not a string: "" (type = FACT). > at jess.Value.a(Unknown Source) > at jess.Value.a(Unknown Source) > at jess.Value.stringValue(Unknown Source) > at >

RE: JESS: help please...

2004-11-14 Thread Cerkez, Paul
half Of [EMAIL PROTECTED] Sent: Friday, November 12, 2004 4:11 PM To: [EMAIL PROTECTED] Subject: Re: JESS: help please... I think Cerkez, Paul wrote: > > bad class file: .\Rete.class > > class file contains wrong class: jess.Rete > > Please remove or make sure it appears in the cor

Re: JESS: help please...

2004-11-12 Thread ejfried
I think Cerkez, Paul wrote: > > bad class file: .\Rete.class > > class file contains wrong class: jess.Rete > > Please remove or make sure it appears in the correct subdirectory of the > classpath. It sounds like you've put your own X.java files inside the Jess61p7/jess directory, and are tryi

RE: JESS: Help to get it started

2004-08-31 Thread Jason Morris
I think that Jinlin Wang wrote: >>Exception in thread "main" java.lang.NoClassDefFoundError: jess/Main Hi Jinlin, You need to put the full path to the actual JAR on the CLASSPATH, not just the JESS root. See Jess In Action p.34 for the reference. Try... set CLASSPATH=C:\Jess61p7\jess.jar;%CLASS

RE: JESS: HELP....

2004-08-31 Thread bertrand GILLE
Hi djordje ! Incredible but we already have done this ;-) we are a young french association (born in may 22nd 2004) named [EMAIL PROTECTED] and we have our website : http://promethai.free.fr don't hesitate to visit us ! if you are interested, let me know and i will put some code example our websi

RE: JESS: HELP....

2004-08-30 Thread Jason Morris
I think that djordje wrote: >>I'd like to write an expert system which would guide user to choose right configuration of his pc. >>Is there any demo written in Jess about this expert system??? Hi djordje, Maybe, but what you really need is the definitive Jess reference -- Jess In Action, http://w

RE: JESS: Help ! How can i implement my Userfunction ?

2004-07-29 Thread Jason Morris
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

Re: JESS: Help on Jess under the hood! :) ..

2003-11-26 Thread Rich Halsey
YHHHAAAW I'll pick !!! You'all nit ! - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 26, 2003 8:53 AM Subject: Re: JESS: Help on Jess under the hood! :) .. > I think James Owen wro

Re: JESS: Help on Jess under the hood! :) ..

2003-11-26 Thread ejfried
I think James Owen wrote: [Charset iso-8859-2 unsupported, filtering to ASCII...] > Not to be a nit-picker, but the Ph.D. dissertation was 1979. The 1982 > reference is a four-pager in AI magazine that had, basically, the same > title. Since then, to my knowledge, Dr. Forgy has not published > a

RE: JESS: Help on Jess under the hood! :) ..

2003-11-26 Thread James Owen
    -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dusan Sormaz Sent: Wednesday, November 05, 2003 6:40 PM To: [EMAIL PROTECTED] Subject: Re: JESS: Help on Jess under the hood! :) ..   Mechanism for saving patterns and matchings is rete network. Done by Charels Forgy in

RE: JESS: Help on Jess under the hood! :) ..

2003-11-05 Thread Alan Moore
For a graphical view of a modern Rete network try: (load-package jess.ViewFunctions) (view) alan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dusan Sormaz Sent: Wednesday, November 05, 2003 4:50 PM To: [EMAIL PROTECTED] Subject: Re: JESS: Help on Jess

Re: JESS: Help on Jess under the hood! :) ..

2003-11-05 Thread Dusan Sormaz
Let me make acomment on Rete network. Though, algorithm is rather old, 20 years, not many books gave examples and graphs of the network. Few exceptions are: Brownston at all, Programming Expert Systems in OPS5, Addison, 1985 Russel, Norvig, AIMA, Prentice, 1995 Freidman, JIA, Manning, 2003 Dusan

Re: JESS: Help on Jess under the hood! :) ..

2003-11-05 Thread Dusan Sormaz
Mechanism for saving patterns and matchings is rete network. Done by Charels Forgy in his dissertation (1982-3). Good explanation in JIA book, chapter 8. Dusan Sormaz At 05:56 PM 11/5/2003 -0600, you wrote: Hi everybody ... Let assume the following rule base rb, function "save", and working memor

Re: JESS: Help on Jess under the hood! :) ..

2003-11-05 Thread ejfried
I think =?ISO-8859-1?Q?Antonio_Avi=F1a?= wrote: > First, let me suggest you read chapter 8 of the manual or (coincidentally) the chapter with the same number in "Jess in Action", because they answer all these questions. The rest of the manual (and especially of the book) contains lots more inform

RE: JESS: help with defrule

2003-09-30 Thread Orchard, Bob
You seem to be missing a closing bracket in the 'act' pattern in your rule. e.g. (act (a ?x) (b ?y)) < need the extra ) here Bob. > -Original Message- > From: Jeffrey Hau [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 30, 2003 12:48 PM > To: [EMAIL PROTECTED] > Subject: J

Re: JESS: help with defglobals and rules

2003-07-01 Thread ejfried
I think Leandro Felmcio Melari wrote: > > (deffunction manipula-menutipo (?event) > ; (printout t (call (get ?event item) toString)) > (assert (tipo Fogo)) > ; (printout t "Verifica [TIPO]: " ?*vartipo* crlf) > ) > > when I am into the function "manipula-menutipo", the pro

Re: JESS: help with defglobals and rules

2003-07-01 Thread Leandro Felmcio Melari
I am not getting do execute a rule when I am into a function. The code of my program is this: ;; DECLARAGUES ** (import java.awt.*) (import jess.awt.*) ;;*** ;; DEFTEMPLATES *** ;;*** ;;

Re: JESS: help with defglobals and rules

2003-06-30 Thread ejfried
I think Leandro Felmcio Melari wrote: > Hi, > I am with a problem... > > how can I get the text into the choice and put in a global var and after > I will call the rule with this? > I have absolutely no idea what this question means, nor do I understand the code example. Why don't you tell

RE: JESS: Help is applying max to mutifield

2003-03-19 Thread Ruff, Jeff
Thank you for your help. I now get the correct response for the string input. Jeff Ruff ChipData -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 11:21 AM To: [EMAIL PROTECTED] Subject: Re: JESS: Help is applying max to mutifield With

Re: JESS: Help is applying max to mutifield

2003-03-19 Thread ejfried
max$ (?1) >(funcall max ?1) > ) > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2003 10:30 AM > To: [EMAIL PROTECTED] > Subject: Re: JESS: Help is applying max to mutifield > > > I think Ruff, Jeff

RE: JESS: Help is applying max to mutifield

2003-03-19 Thread Ruff, Jeff
nt: Wednesday, March 19, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: Re: JESS: Help is applying max to mutifield I think Ruff, Jeff wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > First thanks for the quick repsonse to my question. > In testing the solution provided [thanks

Re: JESS: Help is applying max to mutifield

2003-03-19 Thread ejfried
I think Ruff, Jeff wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > First thanks for the quick repsonse to my question. > In testing the solution provided [thanks mike bobak] below, I find that > if I create a multifield with numeric values it works. In reading the > doc, max requir

RE: JESS: Help is applying max to mutifield

2003-03-19 Thread Ruff, Jeff
:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 7:19 PM To: [EMAIL PROTECTED] Subject: Re: JESS: Help is applying max to mutifield I think mike bobak wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > (deffunction funcall (?fnc $?args) ;if not already defined > (eval (

Re: JESS: Help is applying max to mutifield

2003-03-18 Thread ejfried
I think mike bobak wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > (deffunction funcall (?fnc $?args) ;if not already defined > (eval (format nil "(%s %s)" ?fnc (implode$ ?args > then: > CLIPS> (deffunction max$ (?l) >(funcall max ?l)) > CLIPS> (max$ (create$

Re: JESS: Help is applying max to mutifield

2003-03-18 Thread mike bobak
(deffunction funcall (?fnc $?args) ;if not already defined (eval (format nil "(%s %s)" ?fnc (implode$ ?args then: CLIPS> (deffunction max$ (?l) (funcall max ?l)) CLIPS> (max$ (create$ 3 6 2 9)) 9 CLIPS> (max$ (explode$ "3 6 2 9")) 9 It should be similar w/jess. -MB On Tues

RE: JESS: help on Jess Rules

2003-02-23 Thread Sajindra Jayasena
me some help on this regard. thanks and best regards, Saji -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 13, 2003 12:01 AM To: [EMAIL PROTECTED] Subject: Re: JESS: help on Jess Rules I think Sajindra Jayasena wrote: [Charset iso-8859-1 unsu

Re: JESS: help on Jess Rules

2003-02-12 Thread Richard Kasperowski
Sajindra Jayasena wrote: Hi All, I am new to Jess . I am trying out to develop a customizable rule engine as a university degree project that could be used by java applications. I have done the customizing interfaces for facts etc but facing problrm with working with the Rule. I found that (de

Re: JESS: help on Jess Rules

2003-02-12 Thread ejfried
I think Sajindra Jayasena wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hi All, > I am new to Jess . > I am trying out to develop a customizable rule engine as a university degree > project that could be used by java applications. I have done the > customizing interfaces for

RE: JESS: help

2002-11-12 Thread Srinivas_Kotamraju
Hi, Try using the archive tag in applet to refer to the jar file (the jess.jar file), I think it would solve the problem. Srinivask > -- > From: swati kayasth[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: Saturday, November 09, 2002 4:20 AM > To: [EMAI

Re: JESS: help

2002-11-12 Thread ejfried
I think swati kayasth wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hi, > I'm developing a application using Jess. I'm using applets. I > want to create a Rete object in the init() method of the applet. > In the documentation, it has been given that if I'm creating a > Rete obj

Re: JESS: help about repaint()

2002-07-16 Thread ejfried
This is really a Java question, not so much a Jess question. When you make a change that effects the layout of a Java AWT container -- i.e., adding, removing, or resizing any components -- you must call "validate()" on the container after making the change. An applet is, of course, an AWT containe

Re: JESS: Help me about GUI or Jconsult

2002-07-15 Thread ejfried
I vaguely recall JConsult as being a fairly simple example GUI for Jess. The last time it came up on this list, it was because it wouldn't compile with recent versions of Jess -- it was written quite a long time ago. Writing a GUI for a Jess application is a lot simpler than it was then, because

Re: JESS: Help: Non firing rule and duplicate facts

2002-06-20 Thread ejfried
The first thing we need to eliminate is problems with the Beans themselves. Have a look at section 3.4 of the manual about "equals" and "hashCode" and make sure that all the Beans and all the classes that are used in the slots of Beans are written properly with respect to this rule. Furthermore,

RE: JESS: help !!

2002-06-13 Thread Chun Zhang
Hi Shaowei, Your static variable Rete 'r' was masked by the local variable Rete 'r' and the static variable Reta r was never initialized. Therefore, when you try to access the static variable 'r' from your mytest () method, you get NullPointerException. To fix the problem, simply remove type d

RE: JESS: help !!

2002-06-13 Thread Alan Moore
Your code has two declarations for the variable "r", one is static at the class level and the other is local to the try/catch block in main. When your code in main uses the locally scoped variable which you set via new Rete(). The other is never set but used by the method mytest(). Good luck! a

RE: JESS: help !!

2002-06-13 Thread Orchard, Bob
The variable 'r' in your main method is a local variable so the static variable 'r' has not been initialized. Change your code to read: r = new rete(); -Original Message- From: Wang Shaowei [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 6:05 PM To: [EMAIL PROTECTED] Subjec

Re: JESS: Help with modify

2001-05-08 Thread ejfried
I suspect the key phrase here is "doing something similar." If you're actually modifying a jess.Fact object from Java code, remember that the (modify) command is really a (retract) followed by modification of the fact followed by an (assert). If you modify any of the slots of a Fact object while

RE: JESS: help, JDBC connection

2000-11-30 Thread Thomas Barnekow
Hi! > I believe the file Test.class is only mistakenly in the distribution -- > it is identical to Sample.class, for which source is provided, except > for the name of the class. Absolutely correct! The framework consists of the following files: - BackwardChainingMediator.java - BackwardChainin

Re: JESS: help, JDBC connection

2000-11-29 Thread ejfried
I believe the file Test.class is only mistakenly in the distribution -- it is identical to Sample.class, for which source is provided, except for the name of the class. I think Jinwei Cao wrote: > Hi, > > I am a novice of Jess. I want to store all the facts in a Database and > assert fact from

Re: JESS: HELP: interfacting JESS/CLIPS to Databases

2000-10-30 Thread ejfried
Start by searching the archives of this list at http://www.mail-archive.com/jess-users@sandia.gov . Also look at the Jess "User contributions" page, which has information about Thomas Barnekow's excellent RDBMS backchainer -- http://herzberg.ca.sandia.gov/user.html . I think David Moore wrote: >

Re: JESS: Help

2000-05-16 Thread Ashraf Afifi
"Matteo Melideo" <[EMAIL PROTECTED]> on 05/16/2000 09:06:12 AM Please respond to "Matteo Melideo" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: Ashraf Afifi/Bsg/MetLife/US) Subject: JESS: Help (defrule compare (products (name ?x) (type RulesEngine) (name Jess)) (use

RE: JESS: Help with long type conversions using Jess 50b4

2000-01-11 Thread Rudolph George-P27574
Ernest, Thanks for answering my questions, and for adding the support for longs that is there. I understand and appreciate the effort involved. While the explicit use of the (long) function may be "ugly" (as you say) from a purist standpoint, it's certainly cleaner and less ambiguous than the thi

Re: JESS: Help with long type conversions, again

2000-01-11 Thread ejfried
>From ejfried Tue Jan 11 03:44:43 2000 >> Question 2: Knowing that slot values in Jess are typeless, how do I specify >> a rule pattern that will correctly match against NewThing objects? > >(thing (value ?X&=(long "12345"))) should work and is somewhat less >ugly than (thing (value ?X&:(eq ?X (l

Re: JESS: Help with long type conversions using Jess 50b4

2000-01-11 Thread ejfried
I think Rudolph George-P27574 wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > > In attempting to use the new features involved with long types, I've run > into some problems as described below. > I put my questions here at the top (for convenience) because the description > is so

Re: JESS: Help with installation of JESS50b1

1999-10-14 Thread Rakesh Malik
    That's a classpath problem. What you need to do is set the CLASSPATH variable to include the Java runtime jar, the current directory, and the Jess jar.     Another thing that you can do is simply run it from within Visual Age 2, that's what I've been doing so far. From the console simpl

Re: JESS: help...

1999-09-15 Thread Ernest Friedman-Hill
I'm trying to answer your question, but I just can't understand whast you're doing here. Is "Require" a function, of a multislot in the "lista" deftemplate? Are ?*agente* and ?*host* global variables, whose names got mangled here somehow? If Require is a function that returns a list, I don't und

Re: JESS: help!

1999-08-04 Thread Ernest Friedman-Hill
Vera, I've got this all fixed, now. No patch - it'll just be fixed in the next release. I think Ernest Friedman-Hill wrote: > > > This seems to be a bug in the code that is supposed to allow you to > redefine rules. This behaviour appears only in the 5.0 alphas. If you > use the (view) command

Re: JESS: help!

1999-07-30 Thread Ernest Friedman-Hill
This seems to be a bug in the code that is supposed to allow you to redefine rules. This behaviour appears only in the 5.0 alphas. If you use the (view) command after loading the batch file the second time, you'll see only two of the rules appear, but if you use the (rules) command, they'll all b

Re: JESS: Help with mapping Java object into Jess--what am Imissing?

1999-07-19 Thread Ernest Friedman-Hill
The methods that imply a Bean property must be "public" - this one is not. I think Rudolph George-P27574 wrote: > > Suppose I create instances of the following object and map them into Jess > using definstance... > When I ran my test code, I did see a fact asserted on the fact list, but I > did