Re: JESS: Message saying it is not a multislot, when actually,it is...

2002-10-24 Thread Alexander Lamb
] [EMAIL PROTECTED] wrote: I think Alexander Lamb wrote: However, when loading the rule, I get the following message: ERROR: Jess reported an error in routine Jesp.parsePattern while executing (batch /Users/alamb/Development/OrMed2Proto/Protocols.jess). Message: selectedCompleterResponse

JESS: Can rules fire while executing RHS of another rule?

2002-10-24 Thread Alexander Lamb
my database. What I am trying to do here is provide a way to add some last minutes info to a script being built by a rule. Indeed, once I call setValue in my OrmedRequest, the OrmedRequest is undefinstanced. Thanks, Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique

JESS: Are the modules mainly used for namespace and goodstructuring or also for performance issues?

2002-10-18 Thread Alexander Lamb
if the focus is not on the module, it means they are evaluated, so the answer is probably no? Am I correct here? Thanks, Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland

JESS: Design question

2002-10-16 Thread Alexander Lamb
: most of the rules will be generated from knowledge bases (drugs, protocoles, etc...), only catch rules, special situations, etc... Will be hand written. Thanks for reading! Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Mdicale Hpitaux Universitaires de Genve 21

Re: JESS: Rules firing in an endless loop...

2002-10-11 Thread Alexander Lamb
becomes non-nil, and the rule won't be reactivated. I had thought about that but didn't you say bean properties can't be nil? Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland

JESS: How to pass a parameter to a function on the LHS?

2002-10-11 Thread Alexander Lamb
question, stop looking. Thanks, Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41-22 382.86.80 [EMAIL PROTECTED] / http://www.hcuge.ch

JESS: Rules firing in an endless loop...

2002-10-10 Thread Alexander Lamb
selectedScript fire property change for the selectedScript in OrmedContext I am really puzzled because it seems so simple! Thanks, Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Mdicale Hpitaux Universitaires de Genve 21 rue Micheli-du-Crest CH-1211 Genve 4

JESS: Trace function clarification needed

2002-10-10 Thread Alexander Lamb
in OrmedContext even if the property is not used in the rule (as you can see in my example)? Thanks! Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41

Re: JESS: duplicate facts

2002-10-08 Thread Alexander Lamb
PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest

Re: JESS: duplicate facts

2002-10-08 Thread Alexander Lamb
.setHashCode(9); t2.setHashCode(23); System.out.println(map.get(t1)); System.out.println(map.get(t2)); } } -- I think Alexander Lamb wrote: [Charset iso-8859-1 unsupported, filtering to ASCII

JESS: Properties that can be null and how to circumvent

2002-10-07 Thread Alexander Lamb
important properties as null upond definstance. Is this the correct direction? Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41-22 382.86.80 [EMAIL

Re: JESS: Still a problem when trying to match an object in anobject...

2002-10-05 Thread Alexander Lamb
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] -- Alexander Lamb

Re: JESS: Still a problem when trying to match an object inanobject... More info

2002-10-04 Thread Alexander Lamb
knowledge. Senior Developer Gestalt LLC 12605 Challenger, Suite 160, Orlando, FL 32826 321.235.8254 - Office 407.491.8628 - Cell 407.380.2456 - Fax http://www.gestalt-llc.com http://www.gestalt-llc.com/ Value beyond the sum of the parts! -Original Message- From: Alexander Lamb

Re: JESS: Still a problem when trying to match an object in anobject... Even more info

2002-10-04 Thread Alexander Lamb
Thanks, that did it! Some logging was crashing in my code, now it works! On 3.10.2002 18:43, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think Alexander Lamb wrote: Well, I still crash in the definstance: ERROR IN DEFINSTANCE: Jess reported an error in routine

JESS: General question about when you are supposed to usedefinstance

2002-10-04 Thread Alexander Lamb
a propertyChangeSupport mechanism (considering I don't want outdated values in my Rete engine, but always the values actually in my objects? Thanks, Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211

JESS: Re: Trouble with testing null values...

2002-10-04 Thread Alexander Lamb
Oups... I guess that sending the email, I got the answer:-) The mathing of nil has to be: (currentScript ?s :(eq nil (get ?s title))) Except it doesn't like it... Is there a special way to test for null values? Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division

JESS: Trouble with testing null values...

2002-10-04 Thread Alexander Lamb
TITLE: + currentScript.getTitle()); return currentScript; } And I see it called several times: READING CURRENT SCRIPT: OrmedScript@5d7399 CURRENT SCRIPT TITLE: null It looks like the (eq nil title) is not the appropriate function? Alex -- Alexander Lamb Groupe Serveurs

JESS: Still a problem when trying to match an object in anobject...

2002-10-03 Thread Alexander Lamb
the value of the contained object (see the parenthesis around the get). Unfortunately, the engine tells me unknown slot keyCode. But keyCode does exist in the selectedCompleterResponse Class and the class is defined with a deffclass. What is wrong here? Thanks! -- Alexander Lamb Groupe Serveurs

Re: JESS: Still a problem when trying to match an object in anobject... More info

2002-10-03 Thread Alexander Lamb
didnt have keyCode as an attribute. Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Mdicale Hpitaux Universitaires de Genve 21 rue Micheli-du-Crest CH-1211 Genve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41-22 382.86.80 [EMAIL PROTECTED] / http://www.hcuge.ch

Re: JESS: Still a problem when trying to match an object in anobject... Even more info

2002-10-03 Thread Alexander Lamb
) at jess.DefinstanceList.definstance(DefinstanceList.java:177) at jess.Rete.definstance(Rete.java:1162) at jess.Rete.definstance(Rete.java:1154) at Session.init(Session.java:39) The maddening thing is that it is probably something obvious and stupid I didnt see! Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division

Re: JESS: multiple Rete Engine.

2002-09-24 Thread Alexander Lamb
? Notify [EMAIL PROTECTED] -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41

JESS: Mathing objects contained in another object?

2002-08-30 Thread Alexander Lamb
, but I am still too much of a beginner to find out! Thanks, Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41-22 372.61.98 [EMAIL PROTECTED

JESS: Any reason not to use only Java objects as facts?

2002-08-29 Thread Alexander Lamb
to the screen, etc... And all the algorithmic part is handled by Jess rules. Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41-22 372.61.98 [EMAIL

JESS: Matching partial strings?

2002-08-29 Thread Alexander Lamb
the parameters to str-index need to be ATOMS. But how? I am getting a string from my Java object! Thanks! -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46

JESS: Matching an object on the LHS and using it on the RHS

2002-08-27 Thread Alexander Lamb
and in the pumps example (which is the closest) there is a match on (OBJECT ?x) but it is a match on an attribute of the object and not the object itself which is stored in the ?x. Thanks, -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve

JESS: Difference between assert and deffacts and other thoughts

2002-08-27 Thread Alexander Lamb
-- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41-22 372.61.98 [EMAIL PROTECTED] / http://www.hcuge.ch

Re: JESS: Matching an object on the LHS and using it on the RHS

2002-08-27 Thread Alexander Lamb
a slot OBJECT which holds the object represented by the fact; so (Session (OBJECT ?x)) means the Session fact representing the object ?x -- which is all I think you're trying to achieve here, right? I think Alexander Lamb wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] Hello

JESS: Diff between rete.run() and rete.executeCommand((run))?

2002-08-26 Thread Alexander Lamb
, Alex -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41-22 372.61.98 [EMAIL PROTECTED] / http://www.hcuge.ch

JESS: ToString in class Defrule?

2002-08-20 Thread Alexander Lamb
of the rule? Thanks, Alexander -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel: +41-22 372.48.46 Fax: +41-22 372.61.98 [EMAIL PROTECTED] / http://www.hcuge.ch

JESS: Defclass doesn't find class?

2002-08-20 Thread Alexander Lamb
this error (I tried doing the defclass IN the constructor of the Session class!). How does Jess find classes? Thanks, Alexander -- Alexander Lamb Groupe Serveurs Applicatifs Division d'Informatique Midicale Htpitaux Universitaires de Genhve 21 rue Micheli-du-Crest CH-1211 Genhve 4 / Switzerland Tel