JESS: JessDE 70b1

2005-08-04 Thread Krasnigor, Scott L (N-AST)
Title: JessDE 70b1 Is there a compatibility issue with the JessDE version 70b1 and the new Eclipse 3.1 release? I tried to open some of the examples within the IDE and just get a tab with the filename with a blank screen with the word ERROR under a blue line. Thanks. Scott Scott L. Krasni

JESS: Help with error

2006-06-21 Thread Krasnigor, Scott L (N-AST)
Title: Help with error 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 Jess version 70b7 from

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-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: Fact object not in working memory error

2006-08-31 Thread Krasnigor, Scott L (N-AST)
My guess would be that the Focus is in MAIN (or some other module that you might have defined) and not in STATE-CLEANUP where the fact resides (I am assuming that the fact resides in STATE_CLEANUP since that is where the rule that caused the error resides). Do a “(watch focus)” to see where

RE: JESS: Mixing facts from Java and Jess script

2006-12-19 Thread Krasnigor, Scott L (N-AST)
He does close it on the third line, but that is what the problem is. The way the rule is defined below, the mon template should contain slots for reading, tstamp and posLshift. However, based on the error, the mon template generated by the defclass call does not contain the posLshift slot. So the l

JESS: Decorators

2007-01-18 Thread Krasnigor, Scott L (N-AST)
I am curious what the implications are of defclassing a class with many decorators associated with it? I need to be able to match various attributes of the class that are part of the decorators. Is there a correct/best way to handle this case? Any advice would be appreciated. Thanks. Scott

RE: JESS: How do I determine Jess engine has finished firing rules

2007-02-09 Thread Krasnigor, Scott L (N-AST)
The easiest thing to do is add a rule with a low salience (I use -1000) that will always match and add whatever action on the rhs that you want to use to signal all rules are done being processed. This rule will always be added to the end of the agenda, so when it fires, you know there are no mor

JESS: removing modules

2007-03-02 Thread Krasnigor, Scott L (N-AST)
In our application, we are dynamically creating and removing rules from the engine. We are sent a set of rules that are associated with a certain module based on parameters passed to us along with the rules. We are notified when a rule is no longer needed and we remove the rule (or rules) from the

RE: JESS: how to remove rules from the engine

2007-03-22 Thread Krasnigor, Scott L (N-AST)
You can use (undefrule ) within Jess or undefrule() method contained in the Rete class in java. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mrinal Khanvilkar Sent: Thursday, March 22, 2007 1:56 PM To: jess-users@sandia.gov Subject: JESS:

RE: JESS: Jess program with simulation timer

2007-05-10 Thread Krasnigor, Scott L (N-AST)
I have a similar situation with our application. Without going into the details, for our case, when a fact is asserted, we needed to know what rules were fired (if any) and when evaluation of the fact was complete prior to asserting the next fact. The method I used (it might not be the most elegant

RE: JESS: trying to save a bad CLP file crashes JessDE

2007-05-22 Thread Krasnigor, Scott L (N-AST)
It has happened to me. It is pretty random when it occurs, but I have experienced eclipse hanging on a save for a .clp file. When I restart eclipse, the changes were saved so it is more of a annoyance. Scott L. Krasnigor Sr. Principal Engineer/Scientist Advanced Sciences & Technologies, LLC.

JESS: modifying facts

2007-07-18 Thread Krasnigor, Scott L (N-AST)
I have track kinematic data in working memory. When a track's kinematics are updated, I need to modify the associated kinematic data in working memory. I tried using the add method, however, looking at the watch statements, new facts were being created instead of modifying the existing facts. I rea

RE: JESS: Java 1.5 enums

2007-07-27 Thread Krasnigor, Scott L (N-AST)
I believe you need to surround the enum with ( ), e.g. (property1 (MyEnum.xyz)). Enums are treated like method calls. The ( ) causes a call to your enum class to get the associated value for the enum. Hope this works for you. From: [EMAIL PROTECTED] [mail