JESS: [EXTERNAL] Difficulty with the Jess 8.01 eclipse editor

2014-03-14 Thread Craig Cunningham
Hi All, I am having difficulty with the new version of the eclipse editor. The editor works fine, unless I try to save a .clp file that has warnings or errors in the file. It hangs up and I have to force quit eclipse. I am running mac os 10.8.5 and eclipse version: Kepler Service Release 2

Re: JESS: [EXTERNAL] Re: Limit on number of rules tried?

2013-12-20 Thread Wolfgang Laun
The rule is somewhat overengineered. Let's look at it, blow by blow. ?cell <- (cell ... (row-number ?row-num)) ?cell2 <- (cell ... (row-number ?row-num2)) ; (test (= ?row-num ?row-num2)) You can simply use ?cell <- (cell ... (row-number ?row-num)) ?cell2 <- (cell ... (row-number ?

JESS: [EXTERNAL] Re: Limit on number of rules tried?

2013-12-20 Thread northparkjamie
My apologies for the lousy formatting of my original message. Please see properly formatted version below. northparkjamie wrote > Hi, can you please help me? > > I'm relatively new to Jess (and using it with > CTAT > , so my question may need to be redirected to

JESS: [EXTERNAL] Docstrings in from-class deftemplates

2013-11-26 Thread Henrique Lopes Cardoso
Hi, Is there a limitation on the use of documentation strings on deftemplates using the from-class declaration? I have something like: (deftemplate Foo extends Bar "Documentation string for Foo" (declare (from-class Foo)) ) Whe accessing the docstring as per Deftemplate.getDocstring(), I

RE: JESS: [EXTERNAL] bsave fails after defquery execution [was: Dynamic rule-base analysis]

2013-09-30 Thread Friedman-Hill, Ernest
doing, though, so I'll see if we can work it in. -Original Message- From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Jonathan Sewall Sent: Monday, September 30, 2013 9:49 AM To: jess-users Subject: JESS: [EXTERNAL] bsave fails after defquery execution

JESS: [EXTERNAL] bsave fails after defquery execution [was: Dynamic rule-base analysis]

2013-09-30 Thread Jonathan Sewall
al Message Subject: Re: JESS: [EXTERNAL] Dynamic rule-base analysis Date: Sun, 29 Sep 2013 18:04:11 -0400 From: Jonathan Sewall Reply-To: jsew...@cmu.edu, jess-users@sandia.gov To: jess-users@sandia.gov ... Contents of script.clp: (deftemplate car (slot make) (

Re: JESS: [EXTERNAL] Dynamic rule-base analysis

2013-08-17 Thread Przemyslaw Woznowski
Thanks Wolfgang, this helps a lot! I must have missed the getConditionalElements in the API. The analysis of the rule's LHS is working great and it's RHS is more complex but do-able. Once again, thanks for the advice, Pete On Thu, Aug 15, 2013 at 6:51 PM, Wolfgang Laun wrote: > Rete has listDef

Re: JESS: [EXTERNAL] Dynamic rule-base analysis

2013-08-15 Thread Wolfgang Laun
Rete has listDefrules and Defrule has getConditionalElements, which lets you retrieve its constituents, depending on it being a Pattern or Accumulate; if it is a Group you must recurse down... It's like walking an AST RHS is similar. But note that fact modifications are possible in functions, so i

JESS: [EXTERNAL] Dynamic rule-base analysis

2013-08-15 Thread Przemyslaw Woznowski
Dear Jess users. What I am trying to do is to dynamically list all the defrules together with their LHS and RHS facts excluding any conditions. Basically what I mean is that, for example, if there are Person and Car facts on the rule's LHS and the rule asserts an Owner fact, deletes the Car fact a

RE: JESS: [EXTERNAL] Issue with static methods (or generics?)

2013-08-07 Thread Friedman-Hill, Ernest
gov] On Behalf Of Aurélien Mazurie Sent: Wednesday, August 07, 2013 7:11 PM To: jess-users Subject: JESS: [EXTERNAL] Issue with static methods (or generics?) Dear Jess users, I am having trouble instantiating a Java class from within a rule's RHS, and cannot figure out how to solve this problem. The

JESS: [EXTERNAL] Issue with static methods (or generics?)

2013-08-07 Thread Aurélien Mazurie
Dear Jess users, I am having trouble instantiating a Java class from within a rule's RHS, and cannot figure out how to solve this problem. The code in my RHS creates an instance of a class from the JGraphT library. As seen in https://github.com/jgrapht/jgrapht/blob/master/jgrapht-demo/src/main

RE: JESS: [EXTERNAL] Dynamic rule matching in the LHS

2013-07-31 Thread Friedman-Hill, Ernest
re once for every bag for which this condition holds. -Original Message- From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Aurelien Mazurie Sent: Wednesday, July 31, 2013 1:13 AM To: jess-users Subject: Re: JESS: [EXTERNAL] Dynamic rule matching in the LHS Thank yo

Re: JESS: [EXTERNAL] Dynamic rule matching in the LHS

2013-07-31 Thread Wolfgang Laun
On 30/07/2013, Aurelien Mazurie wrote: > Thank you very much for this answer. It seems like 'forall' will fire the > rule only if all the 'bag-of-items' facts are validated (i.e., if all of > them have 'item' facts with the names listed in their 'names' slot). Is that > correct? Yes. > > If yes,

Re: JESS: [EXTERNAL] Dynamic rule matching in the LHS

2013-07-31 Thread Aurelien Mazurie
Thank you for this tip. It is not what I am trying to achieve, however. I must apologize if my original email was misunderstood. My goal is to write a rule that would fire for any 'bag-of-items' fact whose item names, as listed in a multislot, are all represented by 'item' facts. The rule shoul

Re: JESS: [EXTERNAL] Matching facts based on a slot, but not the fact's type

2013-07-30 Thread Aurelien Mazurie
: Friday, July 26, 2013 4:43 PM > To: jess-users > Subject: JESS: [EXTERNAL] Matching facts based on a slot, but not the fact's > type > > Dear Jess users, > I am still learning the ropes, and cannot find an answer to the following > question either online or in the &#

Re: JESS: [EXTERNAL] Dynamic rule matching in the LHS

2013-07-30 Thread Aurelien Mazurie
Thank you very much for this answer. It seems like 'forall' will fire the rule only if all the 'bag-of-items' facts are validated (i.e., if all of them have 'item' facts with the names listed in their 'names' slot). Is that correct? If yes, then what I am trying to do is slightly different. I do

Re: JESS: [EXTERNAL] Matching facts based on a slot, but not the fact's type

2013-07-30 Thread Wolfgang Laun
What you are looking for is the capability of using interface names as template names in LHS code, which is not available in Jess. Using "extends" might help you to a certain extent, but that's restricted to the definition of a hierarchy. Also, consider that the solution to your problem might be

Re: JESS: [EXTERNAL] Dynamic rule matching in the LHS

2013-07-30 Thread Jason Morris
Another "old skool" way of doing it using predicate constraints is... (clear) (deftemplate item (slot name)) (deftemplate bag-of-items (multislot item-names)) (defrule fire-for-all-members-in-bag ; If you have a bag of item names ... (bag-of-items (item-names $?item-names)) ; and there is a

RE: JESS: [EXTERNAL] Dynamic rule matching in the LHS

2013-07-30 Thread Friedman-Hill, Ernest
set (initial-fact). -Original Message- From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Aurelien Mazurie Sent: Friday, July 26, 2013 4:56 PM To: jess-users Subject: JESS: [EXTERNAL] Dynamic rule matching in the LHS Dear Jess users, I am wondering how t

RE: JESS: [EXTERNAL] Matching facts based on a slot, but not the fact's type

2013-07-30 Thread Friedman-Hill, Ernest
71/memory.html From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Aurelien Mazurie Sent: Friday, July 26, 2013 4:43 PM To: jess-users Subject: JESS: [EXTERNAL] Matching facts based on a slot, but not the fact's type Dear Jess users, I am still learnin

JESS: [EXTERNAL] Dynamic rule matching in the LHS

2013-07-30 Thread Aurelien Mazurie
Dear Jess users, I am wondering how to write a rule that would dynamically match multiple facts based on their names. Let say I have two types of facts; one representing the information that an item (with a given name) exists, and the other one representing a list of items (e.g., as a list of name

JESS: [EXTERNAL] Matching facts based on a slot, but not the fact's type

2013-07-30 Thread Aurelien Mazurie
Dear Jess users, I am still learning the ropes, and cannot find an answer to the following question either online or in the 'Jess in action' book. Is there a way to match facts in a LHS based on the presence of a slot? For example, I have two templates: (deftemplate A (slot score)) (deftemplate B

JESS: [EXTERNAL] Representing jess rule from nested objects

2013-07-11 Thread srinaththaiyar . aravamudan
Hi Jess Experts, I am a JESS newbie and want to understand whether I am writing the below rule in JESS correctly: We have a User Object and each user has a set of applications associated. Each application has a set of accounts and in turn each account has a set of profiles. User Hierarchy: U

JESS: [EXTERNAL] Fwd: Problems with fuzzy jess implementations

2013-07-11 Thread Martín Rodríguez
Hi, I could overcome some problems with FuzzyJess implementation, and now I have a fuzzy rule that never executes when it should. My Clip run using BackwardChaining, Im sure that the *intensidad_tos *rule assert the gripe fuzzyvalue fine, but the *global_influenza *rule never trigger, Somebody can

JESS: [EXTERNAL] Problems with fuzzy jess implementations

2013-07-03 Thread Martín Rodríguez
Dear Doctor Orchar, Hi my name is Martin Rodriguez and Im studen of engineering. As final project Im developing a system with Jade, Jess and fuzzy jess. The purpose of the system is to provide medical diagnosis. Thats why i needed a rules based system with backward chaining, and I choose Jess. We

Re: JESS: [EXTERNAL] Question on QueryResult close() function

2013-06-28 Thread Peter Lin
s happening. > > ** ** > > *From:* owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] *On > Behalf Of *Daniel Selva > *Sent:* Thursday, June 27, 2013 12:53 PM > *To:* jess-users > *Subject:* JESS: [EXTERNAL] Question on QueryResult close() function &g

RE: JESS: [EXTERNAL] Question on QueryResult close() function

2013-06-28 Thread Friedman-Hill, Ernest
ly. It would be a good idea to run a heap analyzer tool to see what kind of objects are being leaked; that might give us a clue as to what's happening. From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Daniel Selva Sent: Thursday, June 27, 2013 12:53

JESS: [EXTERNAL] Question on QueryResult close() function

2013-06-27 Thread Daniel Selva
Hi, I am experiencing a memory leak problem in a Matlab-Jess application and I am trying to locate the leak. I came across the definition of the close() method of the QueryResult class. I have never called this method after using queries. 1) Should I call close() after using a query? 2) Could not

Re: JESS: [EXTERNAL] Creating an eLearning system following TekMart example

2013-06-27 Thread Rejaul Barbhuiya
t; ** ** > > *From:* owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] *On > Behalf Of *Rejaul Barbhuiya > *Sent:* Wednesday, June 26, 2013 6:22 AM > *To:* jess-users > *Subject:* Re: JESS: [EXTERNAL] Creating an eLearning system following > TekMart example > &

Re: JESS: [EXTERNAL] Creating an eLearning system following TekMart example

2013-06-27 Thread Rejaul Barbhuiya
> > (while (?r next) > > (bind ?fact (?r getObject f)) > >;; … now do something with your fact > > ** ** > > *From:* owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] *On > Behalf Of *Rejaul Barbhuiya > *Sent:* Wednesday, Ju

RE: JESS: [EXTERNAL] Creating an eLearning system following TekMart example

2013-06-26 Thread Friedman-Hill, Ernest
Object f)) ;; ... now do something with your fact From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Rejaul Barbhuiya Sent: Wednesday, June 26, 2013 6:22 AM To: jess-users Subject: Re: JESS: [EXTERNAL] Creating an eLearning system following TekMart example Thank

Re: JESS: [EXTERNAL] Creating an eLearning system following TekMart example

2013-06-26 Thread Rejaul Barbhuiya
Thanks Ernest. In my program, I was using runQuery(arg0, arg1) and storing the result in a Iterator as shown below. Then I am storing the result in token and from token to fact. Iterator sno = engine.runQuery("session-number",new ValueVector().add(sidValue)); if (sno.hasNe

RE: JESS: [EXTERNAL] Creating an eLearning system following TekMart example

2013-06-24 Thread Friedman-Hill, Ernest
You can use a query to easily find your facts; see http://www.jessrules.com/jess/docs/71/queries.html and in particular, http://www.jessrules.com/jess/docs/71/queries.html#in_java To unsubscribe, send the words 'unsubscribe

JESS: [EXTERNAL] Creating an eLearning system following TekMart example

2013-06-24 Thread Rejaul Barbhuiya
Kindly bear with me as I explain my query... I am developing an Intelligent Tutoring System using Jess + Servlet + Jsp. It will perform following actions (implemented as rules): 1. if student has completed a given task within specified time then give him next task. else jess rules will decide a s

Re: JESS: [EXTERNAL] Jess rule validation algorithm

2013-06-06 Thread Peter Lin
the literature on rule validation and ruleset validation is pretty deep. Check on ACMQueue for old papers on the subject dating back to 80's and 90's. There's too much prior art to attempt any sort of explanation on a mailing list. I've been studying the topic since 2000 and the bottom line is it'

JESS: [EXTERNAL] Jess rule validation algorithm

2013-06-06 Thread Wessel, Alexander
Hi Jess-users, I' m a german computer senice student working on my master thesis. The topic is rule verification in rule based systems. We are using Jess as rule engine. Currently I'm looking for an implementation of a rule checker for Jess. Alternative I'm looking for an algorithm to recogniz

RE: JESS: [EXTERNAL] Corrupted Negcnt Error

2013-05-30 Thread Friedman-Hill, Ernest
f Of Dwight Hare Sent: Thursday, May 30, 2013 1:00 PM To: jess-users Subject: RE: JESS: [EXTERNAL] Corrupted Negcnt Error By "indexed field" do you mean slot values? I don't use any Java objects other than simple primitives (Integer, Float, Boolean, String). I've looked at al

RE: JESS: [EXTERNAL] Corrupted Negcnt Error

2013-05-30 Thread Dwight Hare
Behalf Of Friedman-Hill, Ernest Sent: Thursday, May 30, 2013 7:36 AM To: jess-users Subject: RE: JESS: [EXTERNAL] Corrupted Negcnt Error It's an internal consistency check. Usually it means that a non-value class (a class whose identity, defined by hashCode()/equals(), changes during a

RE: JESS: [EXTERNAL] Corrupted Negcnt Error

2013-05-30 Thread Friedman-Hill, Ernest
sandia.gov] On Behalf Of Dwight Hare Sent: Wednesday, May 29, 2013 5:05 PM To: jess-users Subject: JESS: [EXTERNAL] Corrupted Negcnt Error During a run I started getting the error Jess reported an error in routine NodeNot2.tokenMatchesRight while executing rule LHS (Node2) while

JESS: [EXTERNAL] Corrupted Negcnt Error

2013-05-30 Thread Dwight Hare
During a run I started getting the error Jess reported an error in routine NodeNot2.tokenMatchesRight while executing rule LHS (Node2) while executing rule LHS (TECT). Message: Corrupted Negcnt (< 0) . Any idea what this means? Dwight

Re: JESS: [EXTERNAL] nested foreach to return from the inner loop

2013-05-23 Thread Jason Morris
Did you try the (break)function? Arguments:NoneReturns:N/ADescription: Immediately exit any enclosing loop or control scope. Can be used inside of for, while

JESS: [EXTERNAL] nested foreach to return from the inner loop

2013-05-23 Thread Przemyslaw Woznowski
Hi Jess users, I have the following function: (deffunction similarity-score (?base ?other) (bind ?score 0) (bind ?totalDistance 0) (bind ?counter 0) (foreach ?x ?base (bind ?counter (+ ?counter 1)) (printout t "counter is:" ?counter) (bind ?partialDistance

JESS: [EXTERNAL] Semantic network implementations

2013-05-21 Thread Ahmed Abdeen Hamed
Hello respected scientists, Is JESS the best environment to implement a semantic network? If it is indeed, is there an example I can follow? There isn't any in the JESS in Action book. Sincerely, -Ahmed

Re: JESS: [EXTERNAL] Adding facts that are instances of from-class deftemplates

2013-05-21 Thread Henrique Lopes Cardoso
Got that, thanks a lot. Henrique On Thu, May 16, 2013 at 3:24 PM, Friedman-Hill, Ernest wrote: > The thing is that after this code: > > (deftemplate Person (declare (from-class Person))) > (bind ?f (assert (Person (name "Henrique") (age 38 > > There's no way to transfer those property

RE: JESS: [EXTERNAL] Usage of abstract classes in rules

2013-05-21 Thread Friedman-Hill, Ernest
/71/memory.html#shadow_facts . From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Tom De Costere Sent: Tuesday, May 21, 2013 6:24 AM To: jess-users Subject: JESS: [EXTERNAL] Usage of abstract classes in rules Hello, I currently have some abstract classes which are

RE: JESS: [EXTERNAL] Adding facts that are instances of from-class deftemplates

2013-05-21 Thread Friedman-Hill, Ernest
The thing is that after this code: (deftemplate Person (declare (from-class Person))) (bind ?f (assert (Person (name "Henrique") (age 38 There's no way to transfer those property values to a Person object; i.e., if you then said (modify ?f (OBJECT (new Person))) Then the Person's name

Re: JESS: [EXTERNAL] Adding facts that are instances of from-class deftemplates

2013-05-16 Thread Henrique Lopes Cardoso
.@sandia.gov] *On > Behalf Of *Henrique Lopes Cardoso > *Sent:* Friday, May 10, 2013 4:54 AM > *To:* jess-users > *Subject:* JESS: [EXTERNAL] Adding facts that are instances of from-class > deftemplates > > ** ** > > Hi, > > ** ** > > I am conce

JESS: [EXTERNAL] need help on Learning content management for JESS based Tutoring System

2013-05-16 Thread Rejaul Barbhuiya
Please bear with me as I am explaining in a bit details about my problem status. I am designing an Intelligent Tutoring System using JESS and J2EE. My ITS's teaching cycle is as follows: present learning material -> present one/more examples -> assess learning outcome through MCQ or fill_in_gap ty

RE: JESS: [EXTERNAL] Adding facts that are instances of from-class deftemplates

2013-05-10 Thread Friedman-Hill, Ernest
;s not very useful; usually you get a doghouse when you buy a dog, and "add" and "definstance" will both get you a doghouse for your Java object "dog" automatically. From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Henrique Lopes

RE: JESS: [EXTERNAL] No cast needed when inspecting shadow facts' data members?

2013-05-10 Thread Friedman-Hill, Ernest
013 9:16 AM To: jess-users Subject: JESS: [EXTERNAL] No cast needed when inspecting shadow facts' data members? Hi, I've just noticed an interesting behavior of Jess. I was working with a couple of classes like this: public class X { Object obj; // getter and setter for obj ...

JESS: [EXTERNAL] Adding facts that are instances of from-class deftemplates

2013-05-10 Thread Henrique Lopes Cardoso
Hi, I am concerned with the at least two different ways in which you can add, to working memory, facts that are instances of from-class deftemplates. Lets say I have: (deftemplate FC (declare (from-class FC))) I can add a shadow fact like this: (bind ?fc (new FC)) (add ?fc) This is the general

JESS: [EXTERNAL] No cast needed when inspecting shadow facts' data members?

2013-05-10 Thread Henrique Lopes Cardoso
Hi, I've just noticed an interesting behavior of Jess. I was working with a couple of classes like this: public class X { Object obj; // getter and setter for obj ... } public class Y { int i; // getter and setter for i ... } Then in Jess I wrote: (deftemplate X (declar

RE: JESS: [EXTERNAL] Linking rule actions to the execution of other rules

2013-04-23 Thread Friedman-Hill, Ernest
/library.html#events Here’s a relevant page from the Javadocs: http://www.jessrules.com/jess/docs/71/api/jess/JessEvent.html From: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Tom De Costere Sent: Tuesday, April 23, 2013 5:08 PM To: jess-users Subject: JESS: [EXTERNAL

JESS: [EXTERNAL] Linking rule actions to the execution of other rules

2013-04-23 Thread Tom De Costere
Hello, I’m currenly trying to link the actions of rules to the possible execution of other rules. Now I was wondering if anybody has any ideas how this can be done? I’ve already succeeded in reading out the actions and the conditions, but when looking at the current results I can only see the f

Re: JESS: [EXTERNAL] Multislot and queries

2013-04-09 Thread Friedman-Hill, Ernest
Use QueryResult.get("visites") and then call listValue() on the result. On 4/8/13 1:05 PM, "mike donald" wrote: >hello, >I am a beginner in jess, I'm stuck on my application since >I have two deftemplates > >(deftemplate Individu > (slot age) >(slot sexe) > (multislot vi

Re: JESS: [EXTERNAL] How to configure Eclipse JessDE to recognize Userfunctions?

2013-04-04 Thread Friedman-Hill, Ernest
Hi Samson, As you probably know, Jess learns about Userfunctions via method calls. As you may not realize, when the JessDE is running, there's a copy of the Jess engine in there that's used to parse and interpret Jess code. If the code you're editing makes that copy of Jess aware of the Userfuncti

JESS: [EXTERNAL] [CFP] 3rd CHR Summer School in Berlin

2013-04-04 Thread Thom Fruehwirth
3rd CHR Summer School in Berlin "Third time's the charm" Programming and Reasoning with Rules and Constraints http://met.guc.edu.eg/CHR2013/ After going to Belgium and Egypt, and having attracted over 50 participants to learn about and to discuss enga

Re: JESS: [EXTERNAL] How to configure Eclipse JessDE to recognize Userfunctions?

2013-04-04 Thread Samson Tu
Hi, Perhaps I can clarify that my question is more general than JessTab. It is really about how to make Eclipse JessDE recognize Jess user functions and templates. The value of Eclipse JessDE is much diminished if it cannot recognize user functions. Thank you. With best regards, Samson O

JESS: [EXTERNAL] How to configure Eclipse JessDE to recognize Userfunctions?

2013-04-02 Thread Samson Tu
Hi, I am writing Jess rules for use in Protege's JessTab. I would like to use the Eclipse JessDE, but it doesn't recognize any of the JessTab functions, which were implemented as Jess user functions (accessible in jesstab.jar). What do I need to do to make JessDE recognize JessTab functions?

Re: JESS: [EXTERNAL] Anyone ran JESS on a realtime NIX?

2013-03-28 Thread Friedman-Hill, Ernest
users mailto:jess-us...@mailgate.sandia.gov>> Date: Thursday, March 28, 2013 3:39 PM To: jess-users mailto:jess-us...@mailgate.sandia.gov>> Subject: JESS: [EXTERNAL] Anyone ran JESS on a realtime NIX? Hi, I'm curious about setting up a balancing robot just for the fun of it. I'm wo

Re: JESS: [EXTERNAL] Certainty factors in FuzzyJess

2013-03-28 Thread Jason Morris
Hi Bob, I can't believe it's been nine years since I traveled out to IEA/AIE 2004! I trust you and yours are doing well. Did I understand correctly that you are you actively working on Fuzzy Jess again? Will the NRCC be re-releasing the Fuzzy-J tool kit to the public? Cheers, Jason On Tue, Mar

JESS: [EXTERNAL] Anyone ran JESS on a realtime NIX?

2013-03-28 Thread Grant Rettke
Hi, I'm curious about setting up a balancing robot just for the fun of it. I'm wondering if any of you have any knowledge of people using JESS on a realtime UNIXes, or for that matter, doing anything hardware control wise? Best wishes, Grant

Re: JESS: [EXTERNAL] Certainty factors in FuzzyJess

2013-03-28 Thread Bob Orchard
Hello Horatio, I'm out of town right now but can address this next week when I return. There are a couple of issues ... 1 . I have to review things and think about this proposal. 2. I have to see if I can get the source code released to you (been working on this for a long time but some progres

JESS: [EXTERNAL] Rete network visualization

2013-02-19 Thread Grant Rettke
Hi, I'm learning rules engines with JESS. The (view) popup is interesting. While learning about the network itself and how to understand it, I got curious about visualizing it differently. I've been looking for an excuse to learn a nice GUI graphing framework, and maybe this is it. Is all of th

JESS: [EXTERNAL] Re: Slowly documenting project setup steps

2013-02-19 Thread Grant Rettke
Hi Jessers, Sorry for just sending a link. What is going is that I'm blogging the set-up of a Jess+Java project using my preferred setup. My goal is to provide a Maven managed project that makes it real easy to play with Java and Jess together, and figured if anyone might be interested then they

JESS: [EXTERNAL]

2013-02-19 Thread Ernest Friedman-Hill
7]) by mailgate2.sandia.gov (8.14.4/8.14.4) with ESMTP id r0559c8F004910 for ; Fri, 4 Jan 2013 22:09:38 -0700 Received: from sentry-four.sandia.gov (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id B61E913EE057_E7B592B for ; Sa

Re: JESS: [EXTERNAL] Jess in a multithreaded environment

2013-01-03 Thread Friedman-Hill, Ernest
a Software AG Company >> Nonnenstrasse 37 | 04229 Leipzig | Germany | http://www.itcampus.de >> Amtsgericht Leipzig HRB 15872 | Managing Director: Guido Laures >> >> >> >> -Ursprüngliche Nachricht- >> Von: owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.go

Re: JESS: [EXTERNAL] Jess in a multithreaded environment

2013-01-03 Thread Wolfgang Laun
ill, Ernest > Gesendet: Dienstag, 18. Dezember 2012 19:50 > An: jess-users > Betreff: Re: JESS: [EXTERNAL] Jess in a multithreaded environment > > Are you adding non-value classes to the list yourself, or is this just with > the small number of default listings? > > This metho

Re: JESS: [EXTERNAL] passing by reference ?

2013-01-03 Thread Grant Rettke
On Sat, Dec 22, 2012 at 10:19 AM, burama wrote: > how to do passing by reference in jess ? May you give more context and maybe an example of what you want to do?

WG: JESS: [EXTERNAL] Jess in a multithreaded environment

2013-01-03 Thread Henschel, Joerg
Dienstag, 18. Dezember 2012 19:50 An: jess-users Betreff: Re: JESS: [EXTERNAL] Jess in a multithreaded environment Are you adding non-value classes to the list yourself, or is this just with the small number of default listings? This method will get called when you evaluate the hash code of a Ja

Re: JESS: [EXTERNAL] Jess in a multithreaded environment

2012-12-18 Thread Friedman-Hill, Ernest
mailto:jess-us...@mailgate.sandia.gov>> Date: Thursday, December 13, 2012 11:04 AM To: jess-users mailto:jess-us...@mailgate.sandia.gov>> Subject: JESS: [EXTERNAL] Jess in a multithreaded environment Hi Jess experts, We use Jess in a multi-threaded environment and have experi

JESS: [EXTERNAL] Jess in a multithreaded environment

2012-12-18 Thread Nguyen, Son
Hi Jess experts, We use Jess in a multi-threaded environment and have experienced some performance degradation when going from a single thread to multiple threads. Our implementation uses the Slot Specific feature. Using a Java profiler, HashCodeComputer.isValueObject() stood out as one of the

Re: JESS: [EXTERNAL] How to persist the fact and rule base from a given session?

2012-12-03 Thread Ernest Friedman-Hill
Hi Grant, Sorry nobody answered this earlier. The "bsave" and "bload" commands save and restore the binary state of a Jess engine to a file, and they're probably just what you're looking for. On Mon, Nov 26, 2012 at 5:21 PM, Grant Rettke wrote: > Hi, > > I would like to be able to "turn off" a

JESS: [EXTERNAL] How to persist the fact and rule base from a given session?

2012-11-27 Thread Grant Rettke
Hi, I would like to be able to "turn off" a Jess session so that all of its rules and facts would be persisted so that later I could start it up again. The scenario is something like... there are things we want to handle but the user has stopped the program, so we turn it off, but when we turn it

Re: JESS: [EXTERNAL] What does the .CLP extension stand for?

2012-11-16 Thread Wolfgang Laun
CLP <= CLIPS <= C Language Integrated Production System :-) -W On 15/11/2012, Grant Rettke wrote: > What does the .CLP extension stand for? > > -- > Grant Rettke | ACM, AMA, COG, IEEE > gret...@acm.org | http://www.wisdomandwonder.com/ > Wisdom begins in wonder. > ((λ (x) (x x)) (λ (x) (x x))) >

JESS: [EXTERNAL] Code to convert a POJO to a template assertion?

2012-11-15 Thread Grant Rettke
Hi, For whatever reason I don't want to use defclass and instead want to be able to convert a POJO to a template assertion. There are helpers to write converters like this but I'm wondering if someone has done it? Maybe it could even define the deftemplate given the class. It would be like: clas

JESS: [EXTERNAL] What does the .CLP extension stand for?

2012-11-15 Thread Grant Rettke
What does the .CLP extension stand for? -- Grant Rettke | ACM, AMA, COG, IEEE gret...@acm.org | http://www.wisdomandwonder.com/ Wisdom begins in wonder. ((λ (x) (x x)) (λ (x) (x x)))

Re: JESS: [EXTERNAL] Jess on Android Revisited

2012-11-15 Thread Friedman-Hill, Ernest
Grant -- Your message is *very* timely. We've just started working on an official, supported Android port, and hope to make it available in the first months of 2013. This will be in conjunction with the Jess 8.0 release, which will include a rollup of tons of bug fixes and other patches accumulat

JESS: [EXTERNAL] Jess on Android Revisited 2012-11-15T07:45:43-0600

2012-11-15 Thread Grant Rettke
Hi, Curious about running Jess on Android I first read up and found the issues with JavaBeans on Android. Geez, yuck! Wondered if there was already a legal alternative implementation of those beans maybe from Harmony, Classpath, or OpenJDK. GNU Classpath is GPL but gives a linking exception so a

Re: JESS: [EXTERNAL] Ordered facts question

2012-10-11 Thread Friedman-Hill, Ernest
You can't type a fact directly at the prompt. You can add a fact to working memory using the (assert) function (as shown in section 5.2) or you can use the (deffacts) construct to create a group of facts that will then be added to working memory on reset events (as in section 5.5) . As a general r

JESS: [EXTERNAL] Ordered facts question

2012-10-11 Thread Grant Rettke
Hi, I'm working on 5.4. Ordered facts in file:///C:/x86/Jess71p2/docs/memory.html with Jess "Jess Version 7.1p2 11/5/2008" where there is an example Jess> (number (value 6)) I expected the ordered fact "number" to get created on-demand but instead got: Jess reported an error in routine Fun

Re: JESS: [EXTERNAL] Emacs Jess Users?

2012-10-11 Thread Grant Rettke
On Wed, Oct 10, 2012 at 8:33 PM, Andre Luiz Tietbohl Ramos wrote: > I'm having a problem to start Jess in ubuntu 12.04. I have jess-mode > installed in /usr/share/emacs/site-lisp/jess-mode and when I try M-x > jess-mode I receive the error below: > > setq: Symbol's value as variable is void: shar

Re: JESS: [EXTERNAL] Emacs Jess Users?

2012-10-11 Thread Andre Luiz Tietbohl Ramos
Hello, I'm having a problem to start Jess in ubuntu 12.04. I have jess-mode installed in /usr/share/emacs/site-lisp/jess-mode and when I try M-x jess-mode I receive the error below: setq: Symbol's value as variable is void: shared-lisp-mode-map Would anyone know how to solve this please? Jess

Re: JESS: [EXTERNAL] What is your preferred Eclipse version, distribution, and bitness for Jess 7*?

2012-10-11 Thread Grant Rettke
On Wed, Oct 10, 2012 at 9:06 AM, Friedman-Hill, Ernest wrote: > Jess doesn't care, being a pure Java library. The 32 vs 64-bit question > depends entirely on your own machine's architecture, and then the proper > Eclipse distribution depends on what sort of code you intend to write: for > example,

Re: JESS: [EXTERNAL] Emacs Jess Users?

2012-10-11 Thread Grant Rettke
On Wed, Oct 10, 2012 at 9:04 AM, Friedman-Hill, Ernest wrote: > If you have a patch, let me know and I can post it for other people to use. Someone already posted describing the fix here but with a patch for it: http://planetjava.org/java-jess/2004-05/msg6.html Here is my patch with their f

Re: JESS: [EXTERNAL] What is your preferred Eclipse version, distribution, and bitness for Jess 7*?

2012-10-10 Thread Friedman-Hill, Ernest
Jess doesn't care, being a pure Java library. The 32 vs 64-bit question depends entirely on your own machine's architecture, and then the proper Eclipse distribution depends on what sort of code you intend to write: for example, the RCP/RAP developer package is for people who are writing Eclipse pl

Re: JESS: [EXTERNAL] Emacs Jess Users?

2012-10-10 Thread Friedman-Hill, Ernest
I still use Emacs 22 on my MacBook, so I didn't realize there was a problem. If you have a patch, let me know and I can post it for other people to use. On 10/9/12 11:57 PM, "Grant Rettke" wrote: >Hi, > >Emacs v24 jess-mode users, are you out there? > >I just found a fix to make jess-mode play n

Re: JESS: [EXTERNAL] Fuzzy Jess available anywhere?

2012-10-10 Thread Friedman-Hill, Ernest
The FuzzyJ Toolkit is now available at http://www.jessrules.com/user.programs/FuzzyJToolkit.zip . On 10/8/12 11:44 AM, "Friedman-Hill, Ernest" wrote: >Sandia has a license from NRC to redistribute the FuzzyJ toolkit. I will >put it up on the Jess web site as soon as the site comes back from syst

Re: JESS: [EXTERNAL] Fuzzy Jess available anywhere?

2012-10-08 Thread Bob Orchard
Send me an email at orcha...@rogers.com and I'll see what I can do. Bob Orchard. On 2012-10-07, at 5:55 AM, dselva80 wrote: > Hi, > > Can I find Bob Orchard's fuzzy Jess toolkit for download anywhere? (academic > license) All links to the toolkit seem to be broken since Bob retired, and I > don

Re: JESS: [EXTERNAL] Fuzzy Jess available anywhere?

2012-10-08 Thread Friedman-Hill, Ernest
Sandia has a license from NRC to redistribute the FuzzyJ toolkit. I will put it up on the Jess web site as soon as the site comes back from system time. On 10/7/12 5:55 AM, "dselva80" wrote: >Hi, > >Can I find Bob Orchard's fuzzy Jess toolkit for download anywhere? >(academic >license) All links

JESS: [EXTERNAL] Fuzzy Jess available anywhere?

2012-10-08 Thread dselva80
Hi, Can I find Bob Orchard's fuzzy Jess toolkit for download anywhere? (academic license) All links to the toolkit seem to be broken since Bob retired, and I don't really want to reimplement all this functionality from scratch... Thanks in advance, Daniel -- View this message in context: htt

JESS: [EXTERNAL] Invitation to IntelliFest 2012 for Jess Users

2012-07-27 Thread Jason Morris
www.intellifest.org Invent * Innovate * Implement at IntelliFest! Dear Jess User Group Members, You are cordially invited to attend this year's IntelliFest: Intenational Conference on Reasoning Technologies , October 22-26, at the Bahia Re

Re: JESS: [EXTERNAL] Activate a Behaviour Jade from Jess

2012-07-12 Thread Wolfgang Laun
rule to run behaviours. For exemple : > (deftemplate ACLMessage (slot contenu)) > > (defrule test (ACLMessage (contenu A)) => ( rune behaviour addition ). > > But i have 2 problem : when a assert into template from java, he don't make > it. the seconde problem is t

RE: JESS: [EXTERNAL] Activate a Behaviour Jade from Jess

2012-07-11 Thread lyes
iour addition ). But i have 2 problem : when a assert into template from java, he don't make it. the seconde problem is to rune behaviour. Thank's for all Date: Wed, 11 Jul 2012 06:22:11 -0700 From: ml-node+s2305737n4654079...@n4.nabble.com To: clarke_ste...@hotmail.com Subject: Re: JE

Re: JESS: [EXTERNAL] Jess and negation

2012-07-11 Thread Wolfgang Laun
On 09/07/2012, André Lämmer wrote: > > Do I have the same problems in Jess with negation and disjunction like with > horn clauses in prolog? > Why do you have problems with horn clauses in Prolog? -W To unsubscribe, send the

Re: JESS: [EXTERNAL] Activate a Behaviour Jade from Jess

2012-07-11 Thread Friedman-Hill, Ernest
In your setup() method, do something like Rete engine = new Rete(); try { engine.store("AGENT", this); engine.batch("ex.clp"); Value v = engine.executeCommand("(assert(ACLMessage(contenu A)))"); engine.executeCommand("(run)"); ... Then in Jess code, you

JESS: [EXTERNAL] Jess and negation

2012-07-11 Thread André Lämmer
Hello, Do I have the same problems in Jess with negation and disjunction like with horn clauses in prolog? Best regards, André Lämmer

JESS: [EXTERNAL] Activate a Behaviour Jade from Jess

2012-07-11 Thread lyes
Hello, I wish activate a behavior of agent from jess. Exemple : My class Agent -- public class Test1 extends Agent{ protected void setup() { System.out.println ("Agent " + getLocalName()+ " I am here "); Rete engine = new Rete();

RE: JESS: [EXTERNAL] Jess asserts fact that is not true

2012-06-27 Thread Dwight Hare
Wolfgang Laun Sent: Tuesday, June 26, 2012 9:59 PM To: jess-users@sandia.gov Subject: Re: JESS: [EXTERNAL] Jess asserts fact that is not true On 26/06/2012, Dwight Hare wrote: > I am trying to reason about the passage of time in my rules. I would > like to write the following

Re: JESS: [EXTERNAL] Jess asserts fact that is not true

2012-06-27 Thread Wolfgang Laun
On 26/06/2012, Dwight Hare wrote: > I am trying to reason about the passage of time in my rules. I would like to > write the following rule: > > (defrule Test > ?r <- (logical (CurrentTime)) > (logical (Condition (time ?time&:(> (+ ?time 5) > ?r.t >

  1   2   >