Nicolas Fortin wrote:
Hello everybody,
I am wondering if it is possible to randomize the firing order,
You can create an object that implements the jess.Strategy interface, see:
http://herzberg.ca.sandia.gov/jess/docs/70/api/jess/Strategy.html
You will implement the compare() method and
[EMAIL PROTECTED] wrote:
I think Jeffrey Davine wrote:
I'll do the research, but as a general matter, do you think the Jess API
exposes enough information (particularly concerning the rete tokens) so that
I could write such a tool?
Alan's more optimistic, but I myself don't think this can
Jeffrey,
I created a debugger quite a few years back (Jess version 4.xx) that I
have not maintained. I'd have to locate the media it is archived onto
but I've been wanting to resurrect it.
It didn't do exactly what you want and it was pretty crude since it was
fronted by the Windows
Eunice,
Please provide the exact code and error messages you are getting. Please
try to figure out whether the problem is with Protege, JessTab and/or
Jess before posting to this list.
For example, copy key portions (e.g. function names, exception names) of
the stacktrace you are getting
Henrique Lopes Cardoso wrote:
Hi,
I have two problems.
--- The first:
I have a string which contains an atom. How do I convert it to an atom?
I tried this,which works:
(bind ?string henrique)
(nth$ 1 (explode$ ?string))
Is there a simpler way?
I can't think of any at the
Or more simply:
(assert (a nice string))
(assert (b nice)) ; note: nice (in quotes) won't work
(defrule r1
(a ?x)
(b ?y:(member$ ?y (explode$ ?x)))
=
(printout t Found! crlf)
)
(run)
i.e. a non-zero value from (member$) evaluates in the pattern above like
a TRUE - or like (neq
Also, in testing.clp, you can place the following code to help you debug
the exception:
;; untested...ymmv
(try
(bind ?user-agent (new User harvey))
catch
;; ?ERROR will be the caught throwable
(printout t ERROR = (?ERROR toString) crlf)
(printout t cause = ((?ERROR getCause)
Scott,
Someone else is likely to have a more relevant answer but I thought I'd
give my 2 cents worth - it's been a while (15 years?!) so I hope I can
remember this correctly...
During my graduate studies I worked with Dr. Len Myers and others at
CalPoly SLO on a BB based system that used
Matt,
Whoops, sorry - I didn't see your attachment.
alan
[EMAIL PROTECTED] wrote:
In the screenshot, you show that you've defined two classpath
variables, one named source pointing to the source directory, and
one named jess pointing to jess.jar. This is no guarantee that
you've *used* those
First, let me mention that I'm happy to see someone using the
brand-new static imports feature -- the thing that lets you use
(CarClass.MINI) as a constant.
[alan]
Nice, this makes things a *lot* cleaner. Thanks!
Third, let me mention, as I often do on this list (I really need to
make this
Yuri,
You can use any/all facilities that Java has for matrices since Jess has
full (reflective) access to the Java/third-party matrix APIs - see:
http://math.nist.gov/javanumerics/jama
If you want to pattern match against elements in a matrix, you can use
multifields or ordered facts. For
11 matches
Mail list logo