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.
I think m u wrote:
How about rule like this?
if ( some criteria)
execute this
else
execute this
Nope, doesn't work that way, because there are several different kinds
of not true that might apply (facts don't exist; facts exist but
fields don't match; etc.) You have to write
I think Jean-Max Estay wrote:
I have an academic license (see above) and I use Jess 6 with the Jess 7
plugin for eclipse (3.2 rev). It_s OK on my own computer.
This is a pretty dodgy thing to do. Jess 6 doesn't have the hooks
needed to run the debugger, for instance. Why would you want to do
I don't this there is an especially good way to do this within the
Jess language itself. The list-handling semantics are inherited from
CLIPS, and they're definitely not the most efficient thing in the
world.
You could write a simple Java Userfunction to do what you want,
something like
public
I think Henrique Lopes Cardoso wrote:
Just stating the class to be Serializable made it work, that is, bsave()
does not complain anymore and after bload()ing the functions work as
expected.
I then tried with a simpler example, which got me the
NotSerializableException again...
I think Henrique Lopes Cardoso wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hi,
Is there no way of getting (in Java) the deftemplates of a certain module?
Looks like listDeftemplates() gets all deftemplates from all modules.
But its jess equivalent, (list-deftemplates),
I think Nicolas wrote:
How can I find the lowest value amongst a list of fact ?
...
(deffacts list-of-numbers
a list of numbers
(number (value 9))
(number (value 3))
(number (value 6)))
You write If there's a number, and no other number is smaller...
(defrule lowest-number
(number
Hi Folks,
I wanted to let you know about some new material on the Jess Wiki. The
page dedicated to the book Jess in Action is here:
http://www.jessrules.com/jesswiki/view?JessInAction
This page now links to two new pages with what I think is useful and
interesting material: there's a page with
I think Jason Morris wrote:
My warning/admonishment was to only write valid fact patterns when
constructing your logic and to not include purely functional
expressions as part of the LHS.
It's also a good idea to use direct matching rather than calling eq,
neq, etc, on a LHS, because direct
I think Felix Bachmann wrote:
Then I have a rule that checks MAIN::AskQuestion and produces
Logger::AskQuestionLogged, which looks like:
(defrule MoveAnsweredQuestions
?qu - (MAIN::AskQuestion (log true))
=
(assert (Logger::AskQuestionLogged (oldID ?qu) (log true)))
(retract
I think Skeptic 2000 wrote:
I'm currently using Jess as a kind of classifier, and I'm asking myself if
some mechanisms exist to detect inconsequent or impossible rules. A simple
example would be a rule testing a slot value being 10 and 10.
There's nothing built into Jess that does this.
I think Chandler wrote:
Now I am not clear on how can one do this... I want to notify java program
that I require number 3 from it and till that number is not obtained
my jess engine should basically keep running and wait for that number to
arrive ...
I think you're not clear how to do it
I think Chandler wrote:
Here I have a doubt that why is it my Rule FIRES ?? because I still require
value for v1 for the rule to fire, NOT SO ??
Not so. All that is required is a fact that matches the rule. Backward
chaining has nothing at all to do with this! You asserted a fact that
matches
We're pleased to announce the availability of Jess 7.0 Release
Candidate 1, the Rule Engine for the Java Platform, at the usual
location:
http://www.jessrules.com/download.shtml
This may be the last release before Jess 7 final. All the components
are in place and all reported bugs are
When you sent this to me off-list, I asked if you could provide a
complete program which showed the behavior you're describing, and let
me know what version of Jess we're talking about. I don't think you'll
get much advice without giving a way to reproduce this whole thing. As
it is, we don't
I think Felix Bachmann wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hey,
Just installed the new release and found that all my (require)
statements don't work anymore. The old behavior was that when using
relative path names as the second parameter of required then those
I think Skeptic 2000 wrote:
1) Since there is no multiple inheritance (extends can be done only on one
fact), what would be the best way to create this :
A has two slots, X, Y
B has one slot Z
C would have X, Y, Z.
No special trick; C can inherit from A or B, but not both, and add the
You can just bind the values to variables on the rule's LHS, right?
(defrule example
(A (x ?x) (y ?y))
=
(assert (B (x ?x) (y ?y) (z someValue
If A and B weren't different templates, you could use the
underappreciated duplicate function, but you can't.
I think Skeptic 2000 wrote:
I think Neelakantan Kartha wrote:
I want to write a rule whose RHS can be used to assert the following
facts regarding red boxes in houses:
(notify-user (house h1) (box b1))
(notify-user (house h1) (box b3)) and
(notify-user (house h2) (box b4)), and use these facts to notify the user.
I hope the error message makes it clear that at the line where you're
calling assert, there is no variable named ?pn which is in
scope. The only variable ?pn is defined inside a not CE, and
variables defined inside a not are not available outside of that
not. Think about it: what this line says is
...that will surely help
thnaks
vaishali
friedman_hill ernest j wrote:
I think vsingh wrote:
[Charset utf-8 unsupported, filtering to ASCII...]
Hi all,
I have the following doubts.Please help.
1.How to use jess tab in console mode?
Don't think you can
) and was wondering how can
I go about trying to implement a similar app if I want to use the exisisitng
kb in protege for an e-commerece application.Can you plase give me some step
by step pointer...that will surely help
thnaks
vaishali
friedman_hill ernest j wrote:
I think vsingh wrote
I think vsingh wrote:
[Charset utf-8 unsupported, filtering to ASCII...]
Hi all,
I have the following doubts.Please help.
1.How to use jess tab in console mode?
Don't think you can, can you? It's a GUI tool.
2.While trying to import protege KB for further inferencing using Jess ,do I
It's triggered by Jess's backward chaining machinery. The book tries
to explain this in detail; do you have any specific questions
regarding what iot says in the book?
I think Chandler wrote:
Hello All,
In chapter PC Repair Diagnostic of Jess in Action...
I would really appreciate if
I'm having a hard time understanding where this question is coming
from. Jess lets you pattern-match on objects, if (and onoy if) that's
what you want to do. If you want to match objects, then obviously, you
have to create objects. If you don't have objects, then you shouldn't
want to match them,
I think Sowmya Manjanatha wrote:
I get this error when I try to use the parse routine for JessSAXParser.
...
String xml = ?xml version=1.0? +
funcall +
name +
+ +
/name +
valuetypeVARIABLE/typex/value +
valuetypeINTEGER/type1/value +
I think Chandler (sent by Nabble.com) wrote:
1. Rete network view...
I installed the GEF plugin framework, and checked if it's installed by
looking at all the plugin details from the help menu...and it does show that
GEF plugin is installed.. How can I view this network in the ECLIPSE...
I think Chandler (sent by Nabble.com) wrote:
r.executeCommand( Puzzle.clp );
The argument to executeCommand() is something you'd type at the
Jess prompt. Try typing Puzzle.clp at the Jess prompt, and see
what happens... Now, what do you type instead?
I think Adam Winkler wrote:
do something similar if it were urgent that I move to JessDE. I do not know
when the bug will be fixed, so I am just hoping that there is a patch in the
not too distant future :-).
It is fixed in Jess 7.0RC1, which will be released very soon.
I think vsingh (sent by Nabble.com) wrote:
The moment Click on a Jess .clp file ,eclipse shuts down.I downlaoded Jess
3-4 days ago,so license shudnt be a problem.
But it is; your trial copy of Jess is expired.
-
Ernest Friedman-Hill
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
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.
I think Henrique Lopes Cardoso wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hello,
I was looking for an undefmodule function in Jess, but could not find it.
How can I undefine a module? Does it need to be empty? That is, with no
rules or facts?
There isn't one. I could
for all your help with this.
- Alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of friedman_hill ernest j
Sent: Thursday, July 27, 2006 3:38 PM
To: jess-users@sandia.gov
Subject: Re: JESS: listFacts vs LHS matching facts
I think Greenblatt
I think Greenblatt, Alan wrote:
myRule1 runs fine. When myRule2 fires I get the error: myFunc only
accepts facts or lists of facts as arguments
indicating the value being passed into the function is neither a fact
nor a List. Do I need to wrap the facts returned from listFacts in a
I think Greenblatt, Alan wrote:
Ultimately that would be the right thing to do. Unfortunately, in the
short term I can't change the user function. Is there anything I can
do from the Jess side of things in the meantime to make the
RU.JAVA_OBJECT fact look like an RU.FACT?
The fact-id
This section:
http://www.jessrules.com/jess/docs/70/library.html#routers,
of the Jess manual talks about routers, and the following section
talks about attaching a router to a GUI.
All you need to do is define a router that writes to a SWT Text
widget, and then use setWatchRouter() to have
I think mdean77 wrote:
I am not trying to be dense, and you have been very helpful...
My question is aimed at trying to understand why Jess knows from
where to import Java classes on a given computer. That is,
I could write Java objects in any number of locations or programs on
a given
I think Subrahmanyam BVSS wrote:
HI All,
I want to give the tag name in defclass construct in rule file dynamically
So instead of following:
(defclass alertdefinition com.foo.MyClass)
I want to use it like
(defclass (get-member RuleEngineConstants ALERT_DEF_NAME) com.foo.MyClass)
You
A template is in many ways like a class in Java and other
languages. Here are a few true and relevant statements about a template:
- It defines a datatype.
- It must be defined before it can be used
- If it is defined multiple times in a program, those definitions must
match exactly.
So the
I think mdean77 wrote:
(patient {age 14 || weight 50})
You've run into a bug in the rule compiler for the new pattern
syntax. This was previously reported and has been fixed for the next
release (7.0RC1, due very soon!) For now you can use the equivalent
old syntax:
(MAIN::patient (age
You should be able to put jess.jar in the webapps/parih/WEB-INF/lib
directory (not classes), or tomcat/shared/lib ought to work,
too. tomcat/common/lib probably would work also, although perhaps not
without a server restart.
Now, the bigger question is whether the relatively old RIH application
My plan is to use the Jess development plugins as part of this second
perspective, so that these users would have the advantage of using
the Jess editor. Are there any problems with this approach (legal or
technical)? I can recreate a generic text editor but that seems dumb.
I
I think mdean77 wrote:
Finally a subject where I can contribute! Eclipse has a buddy
loading mechanism that solves this issue, and in fact has solved my
Class Not Found error. Yes, I am using RCP.
...
It would be useful for the Jess plugins to be fixed -
I wasn't aware of this --
I think J. Michael Dean wrote:
Sorry. I was reading the manual Section 8.2 (Definstance facts),
where you postulate a Java Bean called ExampleBean. That's sitting
in Java. The next paragraph shows, from an interactive session with
Jess, the command (defclass simple ExampleBean). How
I think J. Michael Dean wrote:
I think I have resolved my internal confusion. I am thinking about
Jess rules as being type-safe, which is nonsense. So if I have a
rule file that refers to some kind of fact that does not exist, there
will be no error - the rules that depend on that fact
I think mdean77 wrote:
shown). But the patient object already exists and can be accessed
by getPatient(), so I thought it would be more concise to use r.add
(getPatient());
Not only more concise, but semantically different. Adding a Java
object to working memory is different from
I think mdean77 wrote:
Ridiculous question. I have a Bean in Java. I want to have Jess
build itself a template for a shadow fact. But Jess does not know
about the Bean. How does one tell Jess about the classes that have
been created in Java? Right now, I manually create a fact in
Thanks for hanging in there -- a reproducible case is a huge help in
getting things sorted. I will let you know what I can figure out.
I think mdean77 wrote:
Have confirmed or at least figured out how the pooch got screwed on
my computer. Simply downloading the SWT samples blew away Sandia.
I think mdean77 wrote:
I have seen some notes on this server that you can have multiple
engines, but I guess I am confused about whether I should have
multiple Rete objects, or multiple parsers, or what. I could just
set up a globally accessible Rete and Jesp object, and then reset
I think John wrote:
(MAIN::object (is-a A) (OBJECT ?ab) (ID $?b 111 $?a))
However, when I use the variable $?a in the RHS, it gives me a error message
stating that, no such variable a.
You should be able to use it just fine; check your work, or show us
the rule that's having the problem.
I think John wrote:
However,
(defrule match
(MAIN::object (is-a A) (OBJECT ?ab) (ID $?b 111 $?a))
(MAIN::object (is-a B) (OBJECT ?bb) (listofA $?before ?ab $?after))
(MAIN::object (is-a C) (OBJECT ?cc) (listofB $?before ?bb $?after))
=)
the above rule never activates. The rule on
I think mauricio rincon wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hi, I'm having problems with a JSP I'm developing in Netbeans, from where I
use a class that charges a .clp file, but i get the next error:
Jess reported an error in routine batch while executing
I think mdean77 wrote:
The reason this may relate to the question in this message is that
BIRT is dependent on GEF 3.2.1.v200606267, so installation of BIRT
will overwrite whatever version of GEF might have been required by
the Jess plugins and features. Perhaps there have been changes
I will try to reproduce this, but what do you mean by disappears? Do
you see anything relevant in the Error Log view?
I think mdean77 wrote:
I am using most recent Jess distribution with final release of
Eclipse 3.2 and at some point, Jess disappeared. Does not come back
with clean
I think Ozsariyildiz, S.S. wrote:
Is there going to be support for Java Generics for the future releases of
JESS? If there is one what are the plans?
An interesting question. Jess is weakly typed, and generics are a
mechanism for making things more strongly type-checked at compile
time; they
I think Ozsariyildiz, S.S. wrote:
I will give very general overview that I can think of.
1) two ways support one implicit support just extension to jess reflection
2) explicit support making the templates type-checked enums and annotations
defined. May also include definition of meta
I think ben said salma wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
hello,
in the power point pr_sentation, you define the architecture of Jess, can
you please explain the work of every composant.
I have; I believe the figure you're referring to is from my book.
i
I think John wrote:
It is fascinating as well as frustrating as solving problem bring forth new
ones.
Frustrating, indeed. There are two quite different sets of terminology
and concepts all smushed together in this thread (Jess and Protege)
and although I can guess at what's being discussed at
That would be the jess.Jesp class.
I think nicolae oana wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hello,
I newbie in Jess and I need a parser for jess to Java Objects.
Please tell me if something like this exist or not.
Thanks.
I think Doug Metzler wrote:
One issue that I noticed with Jess is that it apparently has only
depth first and breadth first conflict resolution. I found that odd
since it has been my impression that the vast majority of programs
written in OPS, Clips, etc. over the years have used MEA or
I think erich.oliphant wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hi,
Is there any concept of arbitrary metadata in Jess.
No, unfortunately. This was on the list of features for 7.0 but it's
probably going to slip to 7.1. Jason's recommendation to use phase
facts is
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
I think James Owen wrote:
JavaDoc ... XML ... Perl script ... chapter 20 in JIA book
All worthy ideas, but I should point out the official mechanism, the
documentation comment, which every Jess rule, function, template,
etc. can have:
(defrule rule-name
This is a documentation
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 Jess
()) {
synchronized (getCompiler()) {
oos.writeObject(m_globalContext);
...
The order of the two nested locks is, of course, significant.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of friedman_hill ernest j
I think Julian Hoch wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Fact--n means the fact's ID is negative, which can be the case
before a fact is added to working memory.
Ah ok thanks. The problem was that I already had added the fact
before, and adding it again
What you're doing is fine, and is probably working correctly. Modify
MyStartClass so that when it catches a JessException, it displays not
only the top-level exception, but any nested exception as well, as
shown in this clip from jess.Main:
catch (JessException re)
{
Hi Alan,
You're not missing anything obvious; your analysis of the problem is
good, and you've figured out for yourself that there's something funny
about how Jess's pseudo-LISP is implemented. In a real LISP, all data
structures are made out of cons cells, and a list we think of as a
function
I think [EMAIL PROTECTED] wrote:
Option B using (fact), yet to be implemented:
(assert-across-engines ?rete (fact (a-new-fact ?parameter)))
(2) Asserting the fact in the target engine is straightforward.
Option A works right out of the box. I'd vote for the introduction of a
Also idly ruminating...
Yes, I've thought about this. The approach I've considered would
basically be to move the (for example) Defrule-building code into the
Defrule class, and have the parser just build nested lists of lists
and invoke an appropriate re-parsing routine from a table as
Hi Sebastian,
Well, I can think of several possible explanations for your
observations. One is that this can happen if you assert a particular
Fact object more than once. Once you assert a Fact from Java, the Rete
engine "owns" that Fact. You can't make any modifications to it and
you can't
Hi Jack,
Well, you can't pluck one out of thin air, since createMyFact could
theoretically be called from within any one of a dozen Rete objects in
an app. The easiest thing to do here would be to give createMyFact a
Rete argument, then call it as
(call ?SomeClassInstance createMyFact (engine))
First of all, this is a very nice use of the "advice" facility -- the
kind of thing for which it is intended. I hadn't heard of anyone else
using it so far, so I'm happy to see you getting some mileage from it.
Second, I think that Jess's current behaviour in this circumstance is
kind of odd;
Hi,
Details, please; what problems are you having, what Jess version, what
platform, perhaps? Note that everything works fine for me with JDK
1.3RC1.
FYI, There's an archive of the mailing list at
http://www.mail-archive.com/jess-users@sandia.gov .
I think Gavin Nunns wrote:
Just a quick
Jess 5.0 final will be released on Monday. Jess 4.4 will then become
unsupported. Everybody using 4.4 is encouraged to upgrade to the far
more featureful, polished, and speedy 5.0. Undefinstance in Jess 5
definitely retracts the associated shadow fact.
I think Darryl Keri Leon wrote:
[Charset
76 matches
Mail list logo