sers@sandia.gov .
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://ww
ot to do it.
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550
ss to
jess.jar and jsr94.jar .
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore,
, and there's a component in
Jess itself as well as in the JessDE. RC1's jess.jar and RC2's JessDE
debugger will not interoperate.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia Na
t a lot of work into doing something that
doesn't matter; the first step in any optimization should always be
profiling the code.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandi
a.gov .
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrule
using
different modules (defmodules)
within a single engine.
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROT
y enough to fix.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://ww
E
don't
resend it!)
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550
.
http://www.jessrules.com/jess/docs/70/api/jess/
Rete.html#setWatchRouter(java.lang.String)
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS
ng directory (and possibly its contents)
and you'll probably simply find that the "rules" directory is simply
not available at runtime.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia
n)
(makeSomeMoreFacts))
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 9
e, let's say it's a List of String and I my test is to
check that the string "xyz" is part of the list.
What would be the most proper way to do this ?
-----
Ernest Friedman-Hill
Advanced Software Research Phone
On Oct 24, 2006, at 8:14 PM, Skeptic 2000 wrote:
Thanks, I missed the contains, it's not in the Jess functions list,
where it comes from ?
It's a method in the java.util.Collections interface, yes? We're
calling it on ?theList, which is a java.util.List.
From: "
n you could use the Jesp parser class directly,
calling parseDefrule() to parse the rule. It returns the Defule itself.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsF
in the plugin list you can get by
pushing that
button, the Rete Network plugin doesn't appear. Not an earth-
shattering item.
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs
n the award-winning
Eclipse platform.
Visit http://www.jessrules.com to download a 30-day trial version, or
to update your licensed software. Questions and comments are welcome, as
always, to [EMAIL PROTECTED] .
-
Ernest Friedman-Hill
Adv
{bestandFirma <> 5 && ((promotionalCode
== 'M' || promotionalCode == 'X') && kontoFirma == 5)}
)
=>...
But his expression cannot be parsed by Jess.
------
LHS, and then
you'd have a variable on which you could call the method directly.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box
onderful source material here: would you mind
if I quoted you liberally?
Actually, I'd like it even better if *you'd* write such an essay,
alone or jointly with me, but that's probably too much to hope for.
-----
Ernest F
te XML
programmatically.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550
you are on the cutting edge
of this area -- this has been your longstanding area of expertise.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO B
/docs .
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrule
then refer to Type.EXTENDED as (Type.EXTENDED), like this:
(modify ?account (type (Type.EXTENDED)))
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925
---
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jes
, importing a class creates Jess functions that return
the value of each public static variable in the class.
So Type.EXTENDED is a function in Jess; you need to write
(bind ?b (new Account (Type.EXTENDED)))
-
Ernest Friedman-Hill
ure this out on your own:
(deftemplate numbers (multislot values))
(defrule add-two-numbers
"Match numbers/values slots with exactly two entries and add the
values"
(numbers (values ?a ?b))
=>
(printout t "The sum is " (+ ?a ?b) crlf))
---
explicit enough; I'll clarify the manual as best I can.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
ourse.
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550
t problems? Notify owner-jess-
[EMAIL PROTECTED]
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PRO
the rule compilation.
So anyway, this "compiled sequential mode" as well as ILOG's
"optimized' mode are basically some variant of LEAPS. Jess can't do
this right now, but we're looking at it for Jess 8.
Thanks.
-Mitch Christensen
----
ubscribe, 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 owner-jess-
[EMAIL PROTECTED]
----
---
nsubscribe, 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 owner-jess-
[EMAIL PROTECTED]
--
s!) List problems? Notify owner-jess-
[EMAIL PROTECTED]
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs
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 owner-jess-
[EMAIL PROTECTED]
--------
--
") (OBJECT ))
For a total of 4548 facts in module MAIN.
2) for the datetest i added a string returning function to Person
and it
works
yes, there ist a getKey() method
3) yes, .run() was called
4) Person supports PropertyChangeListeners
but this will not work:
(defrule testit "&q
question, but
after I enter a value for this, the response isn't printed, it just
comes to
the end of the program and returns the number of rules.
Ernest Friedman-Hill wrote:
Nothing wrong with this rule. Are you using the "watch" function to
monitor what's going on, or jus
emove()", don't you think?
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550
ere exist a publication related, in particular, to JESS
implementation?
No, not really. There is a (dated) PowerPoint presentation available
from the "Related Web Sites" portion of www.jessrules.com about the
implementation of Jess 4 .
------
ties to be null,
anyway, although Jess doesn't care about that. Your properties should
have valid default values.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs
i.e.,
jess -stacktrace myfile.clp
or
java jess.Main -stacktrace myfile.clp
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012
ase, expect a fix in a future point release.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Liver
n't work
if I understand correctly :(
=>
(printout t (?c toString) crlf))
In this case, there would be no problem with just adding the call to
xyzMethod to the employee CE directly -- i.e.,
(employee (OBJECT ?o&:(?o xyzMethod "arg1")))
---
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 owner-jess-
[EMAIL PROTECTED]
-
--
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 owner-jess-
[EMAIL PROTECTED]
-
x27;s that last one. It's already on the issues list, to be resolved
in a patch release coming soon.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2
IL PROTECTED], NOT to the list
(use your own address!) List problems? Notify owner-jess-
[EMAIL PROTECTED]
--------
-
Ernest Friedman-Hill
Advanced Software Research Pho
is what I am doing correct?
Thanks.
There's a separate method "watchAll()".
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294
-
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 owner-jess-
[EMAIL PROTECTED]
--------
ch release before Christmas and this will be fixed.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
ision);
}
Thank you for your help with this.
- Mike
J. Michael Dean, M.D., M.B.A.
H.A. and Edna Benning Presidential Professor of Pediatrics
Professor of Family and Preventive Medicine
Professor of Biomedical Informatics
Chief, Division of Pediatric Critical Care
Vice Chairman, Department of Pediatr
the main advantages over
using JessML?
I think EMF is a good thing for tool building. JessML is an
underlying technology which could easily be used by an EMF solution;
they're not really alternatives.
-----
Ernest Friedman-Hill
A
27; function changes both working memory and the Java object.
The other way would be to fix setAdviceText so that it sends an
appropriate event after setting the property value.
-
Ernest Friedman-Hill
Advanced Software Research
to a variable ?f -- for example,
as by
(bind ?f (assert (foo)))
or on a rule LHS
?f <- (foo)
Then to get the numeric ID, you can say
(bind ?id (?f getFactId))
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925)
when
approaching Jess. Knowing what people expect to happen is useful!
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS
h the object as a PropertyChangeListener, and when it's
not. Each of these four cases is different.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2
stable, or putting effort into documenting the
changing APIs, would restrict Jess's ability to evolve and add new
features.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs
We don't ship the examples in the package jess/examples anymore; the
small number of examples gave users a distorted view of what's
important about Jess, and as a result most Jess code I saw would be
based on these really inappropriate trivial examples. The mention that
you found in the manual is
.
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
ous,
this kind of error will lead to a train wreck with all sorts of error
markers from this point on in the file, giving you a strong hint that
something is wrong. If you can't use the JessDE, use the Lisp mode in
any programmer's editor -- it will know how to format Jess code to
arning))
I also rewrote your LHS using the new Jess 7 test syntax, which is
much cleaner.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO
peated negated unifications in a multifield are kept
(thanks Gary Riley).
As always, comments are welcome to this list or to me at
[EMAIL PROTECTED] .
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925)
rsion-string)"));
to see for sure what version of Jess you're using in your project.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO B
heir slots
cheers
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550
th no named slots at all.
besides I succeed to run the pricing example
Well, yes, because that's correct code.
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX:
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify owner-jess-
[EMAIL PROTECTED]
--------
-
Ernest Friedman-Hill
Advanced
L PROTECTED], NOT to the list
(use your own address!) List problems? Notify owner-jess-
[EMAIL PROTECTED]
----
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 96
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 owner-jess-
[EMAIL PROTECTED]
-----
ED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify owner-jess-
[EMAIL PROTECTED]
--------
-
Ernest Friedman-Hill
res. But, as I mentioned originally, terminates only
fires when the loop inside calcTime() finishes.
I hope this is clearer now?
Thanks again.
Mike
- Original Message -
From: "Ernest Friedman-Hill" <[EMAIL PROTECTED]>
To:
Sent: Friday, January 05, 2007 1:50 PM
Subj
stions, we can
give you some more specific answers.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [E
n the error log, and the "-clean" flag
is used.
Naturally, this is a bit frustrating, so I would appreciate any
insight list members might have regarding the problem.
Cheers,
Philip
-
Ernest Friedman-Hill
Advanced Software Re
va code. I
don't want to go in details here of why I need this behavior, but
I'm pretty sure that it don't go agains't the Jess spirit.
Thanks
Soyez parmi les premiers à essayer Windows Live Mail.
-----
Ernest Friedman-H
--
--
Antonino Lo Bue
Research Fellow
ICAR-CNR Palermo
Phone: 091-6809256
Web: http://medialab.pa.icar.cnr.it/Personali/personali.html
Email: [EMAIL PROTECTED]
---------
Ernest Friedman-Hill
Advanced Software Rese
Research Fellow
ICAR-CNR Palermo
Phone: 091-6809256
Web: http://medialab.pa.icar.cnr.it/Personali/personali.html
Email: [EMAIL PROTECTED]
- Original Message -
From: "Ernest Friedman-Hill" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 11, 2007 1:45 PM
Subject: Re: JESS: li
could say
>
> ((?x getSlotValue OBJECT) theMethodName "the argument")
>
> Alternatively, you could bind the OBJECT slot on the LHS, and then
> you'd have a variable on which you could call the method directly.
>
>
t are part of the decorators. Is
there a correct/best way to handle this case? Any advice would be
appreciated. Thanks.
Scott
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia Nat
function on the stack
is actually (?x domethod "param"), and that ?x is actually the number
3 rather than a Java object. Otherwise this wouldn't make any sense
-- "<" doesn't want its arguments to be Java objects.
------
anges -- for
example, by using the Rete.updateObject() method.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [
guess JESS 6.0 is JDK1.3 compatible?
Jess 6.0 is no longer available. Jess 6.1 is indeed JDK 1.3 compatible.
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925
described.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jes
ese pseudo-time tags. The default strategy is called "depth", and
it orders activations according to the recency of their facts,
weighted so that activations that include more facts are given some
preference.
---------
Ernest Fried
of the
manual.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://ww
).
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
PM, Matthew J Hutchinson wrote:
Hi everyone,
I'm trying to categorize Jess in terms of the different programming
language paradigms. Is Jess "declaritive"?
Thanks,
Matt
---------
Ernest Friedman-Hill
Advanced Software Research
OT to the list
(use your own address!) List problems? Notify owner-jess-
[EMAIL PROTECTED]
--------
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO B
programming
> > language paradigms. Is Jess "declaritive"?
> >
> > Thanks,
> > Matt
> >
>
> -
> Ernest Friedman-Hill
> Advanced Software Research Phone: (925) 2
his and have only ever used JESS on it's own.
Thanks
in advance.
(N.B. I don't wish to store rules in a MySQL DB I wish to retrieve
data
from it as facts.)
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925
Command("(printout page \""+fact+"\" crlf)");
}
engine.executeCommand("(printout page " + "\"Hello World from
Jess via
JSP & Servlet!\" crlf)");
%>
--
7;t know what you tried, but "unable to
read/write" doesn't sound like any message that Jess can produce.
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs
ss-users
[EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify owner-jess-
[EMAIL PROTECTED]
------
e based on that.
---------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://ww
,
interface, or pure template. Support for multiple interface
inheritance is currently under development.
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO
is not busy and can safely be stopped? I'd imagine that the main
thread
could just wait on some semaphore the jess thread operates or
call into
some
API which does the same thing.
Thanks,
Paul
>From: "Ernest Friedman-Hill" <[EMAIL PROTECTED]>
>Reply-To: jess-users
ust runs a set of rules in the background which either fire
thus executing a userfunction I've defined or doesn't fire, but I
can see
no other option to be able to run the Jess rules online. Thanks in
advance
and I'm open to any suggestions. Regards.
----
ing -> for example: String = "test"
)
Hope anyone can help me.
Thanks
Mathias
-----
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
P
ld you show
me the code as "while there are activated rules"? I don't think
it's "Rete.listActivations().hasMore()" since you mentioned in some
other posts that it's not for internal use, so I'd like to see what
you use internally so that I can appl
t;time" twice "unifies" the starttime slots in the
two facts, matching only if they're equal; and then we have to
explicitly state that the patterns must match two separate facts.
-
Ernest Friedman-Hill
Ad
Jess 7 manual) about integrating Jess with Java
GUIs; spend some time studying that as well.
A good knowledge of Java GUI programming is required; Jess doesn't do
anything to simplify Java programming for you.
-----
Ernest Fri
ot;UPDATE rules SET rule1 = 'yes' WHERE name = '" ?name
"';"))
-
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National LabsFAX: (925) 294-2234
PO B
1 - 100 of 1266 matches
Mail list logo