Show us what you tried to do and error that is displayed, and somebody
may be able to help you.
Dusan Sormaz
On 4/20/2012 10:10 AM, Gianluigi Loffreda wrote:
I have a problem with the Jess Installation.
Following the jess installation instructions I read that right after the
unzip I could
Thanks Ernest!
I was on the phone call, so you overran me. :-)
Dusan Sormaz
On 9/27/2011 1:31 PM, Friedman-Hill, Ernest wrote:
The problem is here. The Java classpath doesn't list directories in
which jar files can be found, but rather, the jar files themselves.
The argument should be
Hunter,
This is not Jess specific question. JVM simply can not find Java class
to load.
Can you show snippet of the C++ code that starts jvm and tries to load
TestJNIJessinvoke?
As for overall design, is C++ requirement? Can you do it all in Java?
Dusan Sormaz
On 9/26/2011 8:51 PM, Hunter
Yasir,
Jess does not interpret string as arguments for the set method. You need
to specify each argument, like in:
(call ?futureCal set (Calendar.HOUR) 8)
where (Calendar.HOUR) is the jess call into static field.
Dusan Sormaz
Yasir Khalid wrote:
Hai There,
I am having difficult time to
-virtualsite
"Just put the validate attribute to true!"
?inetModem <- (InetModem (publicIpAddress ?publicIpAddress) (OBJECT ?modemObj)
(VirtualSite (inetModem ?modemObj))
=>
(printout t "Internet modem address: " ?publicIpAddress crlf)
)
Du
I usually cite /Jess In Action /book:
Friedman-Hill, E., 2003, /Jess In Action/, Manning Publications,
Greenwich, CT.
Dusan Sormaz
Samson Tu wrote:
How does one cite JESS in a scientific paper?
Thank you.
With best regards,
Samson
assumes that you
utilize benefits of rule-based approach, which includes data-driven
order of execution.
Dusan Sormaz
Joao Antunes Mourao wrote:
(defrule name-of-the-rule
(put here your conditions for the rule, if any)
=>
(if (condition) then
(put your things here)
)
(if (condition) t
is selected to run. Conditions are in the from of
patterns which are defined using facts. Order of execution of the rules
is defined by set of facts.
for more details read Jess manual and books or rule-based programming.
Dusan Sormaz
hansari wrote:
I need rule for
if (condtion1)
then (act
Martina,
after defining rules, templates and facts you need to run Jess engine.
The command is (run)
Dusan Sormaz
[EMAIL PROTECTED] wrote:
Good afternoon,
I am quite new in the Jess language programming and I have a little (maybe
bigger problem :-().
I use JessDE environment in Eclipse. I
show when you load (compile) rules, or when you try to
run them.
Dusan Sormaz
At 05:39 AM 4/1/2008, you wrote:
Hello,
My question is about if it is possible to assign the same class of
objects several times in the same rule. I mean, let say i have a class
"Area" and I have multiple fact
Ernest,
is it overlook or allowed?
I though that each independent variable has to have distinct name within a
rule. Your fact ?t should be different from template ?t if templates in a
multislot are symbols.
Dusan Sormaz
At 12:11 PM 9/7/2007, you wrote:
Same idea:
(defrule
Nara,
this will fire always (and only once, notice empty set of conditions):
(defrule always-rule "executes once in engine"
=>
(printout t "always executed")
)
Dusan Sormaz
At 01:58 AM 5/24/2007, you wrote:
Hi,
Is there a standard way to tell Jess that a pa
Jim,
show us the complete code of the rule and the fact
this new rule may work because ?rvu is smaller than 1, so (or TRUE FALSE)
gives true.
or with one item works as true value of that item. In your old rule fact
had 4.19, and pattern in or had 4.17 which IS different.
Dusan Sormaz
At
Mrinal,
it is routinely done, just use it as function:
(new chars.Ssomething (engine))
Dusan Sormaz
At 11:08 PM 4/7/2007, you wrote:
Hi,
i have the following rule.
(defrule someRule
"comment"
(Callhome (thing1 ?a)(thing2 ?b))
(test (try
(eq ?a ?b)
e for this group. Ernest is usually
among the first ones to answer to any question. I sometimes wait for him to
provide his replies similar to "one-liner' in this case.
Dusan Sormaz
*****
* Dusan Sormaz, PhD, Associate P
(into variables) other slots, eg this would be sufficient (and it is easier
to read what you want to match):
(defrule aax
?aax <- (farming-cattle (breed "AAX") (duration 0))
=>
(modify ?aax (duration 5)))
Dusan Sormaz
At 08:40 PM 2/15/2007, you wrote:
Just wonde
mentioned
(gov.sandia.jess_7.0.0) will be created for you.
Dusan Sormaz
At 01:23 PM 2/14/2007, you wrote:
Hello List,
first of all, sorry for asking *again* about Jess integration into
eclipse. I have browsed the list archive but haven't found anything that
might help me solve my pr
.
I hope helps.
Dusan Sormaz
At 09:15 PM 1/24/2007, you wrote:
I have two rule instances on the agenda with the following bindings (I
only include their numbers because I believe that is all that is important
- maybe that is my problem):
Rule1: f-24, f-61, f-23, f-1, f-42
Rule2: f-24, f-61, f-23
and later lists so that they
appear starting at the given 1-based index of the first list.
Dusan Sormaz
At 04:32 PM 9/26/2006, you wrote:
Im sure theres a
simple and efficient way of doing this, but for some reason Im unable to
figure out the solution. On the LHS of my rule, Ive
matched a
Matt,
gensym* is Jess function. Itshould be outside string literal:
(bind ?s1 (str-cat "(defrule " (gensym* ) // and
then continue the rest of string
Dusan Sormaz
At 11:21 AM 5/8/2006, you wrote:
Hi everyone,
In my .clp file I have used (setgen 1) to initialize the gensym
counter.
T
Eunice,
Jess list corresponds to Java array, so your Java method should take an
array as argument.
Dusan Sormaz
At 10:15 PM 4/5/2006, you wrote:
Hello,
I have a problem with LIST using Java and Jess.
In Java i have the method in the class 'Order' as follow:
public static List
ing it. Use
e.printStackTrace between {} so that the exception stacj trace is
reported in your output.
However, I would test this type of work step by step. Test separately
jdbc stuff with Java alone (without Jess), and then feed Jess data into
it (I do not know if you have already tested tha
First morning shot on it:
De Morgan's laws: (not ( and a b)) == (or (not a) (not b))
Dusan Sormaz
At 08:17 PM 3/8/2005, you wrote:
Ok,
I know that I should know this, but Im having trouble reasoning through
it. Why do the following two CEs versions produce signific
eft hand corner.
[ ... snipped code ...]
(reset)
(run)
BTW, you do not need these two statements in your code. They are needed
only if you create facts and define rules for rule-based
engine.
Jenny
Dusan Sormaz
*
* Du
f (or (= (length$ ?x) 0) (> (length$ ?x) 1)) then
(return FALSE))
;; Check if the single token is a number
(return (nth$ 1 ?x)))
But program still throws exception on numerical compare. Any ideas?
Dusan
At 10:03 AM 2/11/2005, you wrote:
I think Dusan Sormaz wrote:
[Charset iso-8859-1 uns
))
FALSE
Jess>
(stringp
"4.5")
TRUE
Jess>
(stringp (new
String "4.5"))
FALSE
Is there a way to do that without try/catch?
Dusan Sormaz
*
* Duan ormaz, PhD, Associate
Professor
* Ohio
Henrique,
I tried Timothy's code and it worked on my machine. Can you show us what
is the error that signals not working.
Unrelated question.
I tested this in Eclipse and found out that copy/paste does not work for
new Jess file ( I create new .clp file) in JessDE, is this expected
behavior or b
happen are kept from your message:
(set-member
?*constraints* fill GridBagContsraints.NONE)
(set-member ?*constraints* anchor
GridBagContsraints.EAST)
I do not remember what set-member does.
Dusan Sormaz
*
* Duan ormaz, PhD
everybody to see it.
Regarding public-ity of method, if it was NOTpublic it would be a
problem.
I hope that this again helps.
Dusan Sormaz
At 02:01 PM 2/7/2005, you wrote:
hello Professor Sormaz
Regarding my problem ie. class not found error in Jess program.
I had not specified the classpath
you run Jess? batch file, Eclipse project run, ...
At 01:31 AM 2/3/2005, you wrote:
Thankyou to Bob Orchard, Dusan
Sormaz and Jason Morris for your replies regarding creating a Java
interface in JESS.
The missing 's' in 'GridBagContraints' was indeed a cause for
error.
Howeve
Jenny,
At 03:21 AM 2/2/2005, you wrote:
Help!!!
I am a beginner at JESS and JAVA (which doesn't make things
easier).
Try to learn one first and then learn another. You decide which one
should be first.
I am trying to create an
interface in JESS using Java Swings Layout managers but its giving
Can we get the full reference for this book.
Thanks,
Dusan Sormaz
At 01:40 PM 8/3/2004, you wrote:
One other thing, something that
most "old timers" even forget. :-) If you re-write
equals for a class that already exists or one that you inherit then you
have to re-write the hash
You can not mix java and jess.
Assuming that getstring() is a method which returns String in your java
class, then proper code would be:
r.executeCommand("(assert (" + getstring() +
"))");
Regards,
Dusan Sormaz
At 11:31 AM 5/27/2004 +0200, you wrote:
hi there,
first i w
You have to pass value to the same fact (it seems to me that you retract
it) or to other fact into 'concept' slot.
Dusan Sormaz
At 12:59 AM 3/16/2004 +0800, you wrote:
Hello
How can I have the same value of ?i and ?slot between rule
(matching-similar-case) and rule(idea-combination)
). Rules
perform CBR reasoning cycle.
Dusan Sormaz
At 10:51 AM 2/27/2004 -0600, you wrote:
Hi
All,
I have been thinking about Case Based Reasoning
(CBR) and it would seem that if a rule-based system could (1) determine
which objects it was matching on, (2) use Java reflection to list the
object methods
That is because shadow fact uses getters from the object to populate
facts slots.
Dusan Sormaz
At 07:59 AM 2/10/2004 -0800, you wrote:
Hey,
I noticed some unexpected behavior using definstance()
yesterday.
I actually have a bug in one of the getters of my Java class resulting in
an
exception
At 03:50 PM 12/4/2003 -0800, you wrote:
I think Dusan Sormaz
wrote:
> Jess> (fact-slot-value (fact-id 2) radius)
> 5.5
> Jess> (modify (fact-id 2) (radius 8.0) )
>
> Jess> (fact-slot-value (fact-id 2) radius)
> 5.5
> Jess> (call (fact-slot-value (fact-id 2)
(fact-slot-value (fact-id 2) radius)
5.5
Jess> (modify (fact-id 2) (radius 8.0
) )
Jess> (fact-slot-value (fact-id 2) radius)
5.5
Jess> (call (fact-slot-value (fact-id 2) OBJECT) getRadius)
8.0
Jess>
Another related question. If I use shadow facts, and then Assert them in
RHS of the
Let me make acomment on Rete network.
Though, algorithm is rather old, 20 years, not many books gave examples
and graphs of the network. Few exceptions are:
Brownston at all, Programming Expert Systems in OPS5, Addison, 1985
Russel, Norvig, AIMA, Prentice, 1995
Freidman, JIA, Manning, 2003
Dusan
Mechanism for saving patterns and matchings is rete network. Done by
Charels Forgy in his dissertation (1982-3).
Good explanation in JIA book, chapter 8.
Dusan Sormaz
At 05:56 PM 11/5/2003 -0600, you wrote:
Hi everybody ...
Let assume the following rule base rb, function "save", a
What about lisp's "~%" ?
Somebody writing jess (clips) code would be close to lisp syntax
anyway.
Dusan Sormaz
At 11:41 AM 1/29/2003 -0800, you wrote:
Starting with 6.1a2, which includes
a completely rewritten "format"
implementation, there is a "%n" format c
Lisp and Jess.
Best regards,
Dusan Sormaz
At 05:06 PM 4/14/2002 -0400, you wrote:
Are you reading this email in
the Pittsburgh Area?
We at Carnegie Mellon University are thinking about using Jess to build
intelligent tutoring systems. Currently we are advertising for a
job listed below looking
Most people on the group do not know Turkish. I think that correspondence
in Turkish should be done directly between interested parties.
Also, when you reply check to whom you are replying.
Dusan Sormaz
At 02:56 AM 2/27/02 +0200, you wrote:
Merhaba,
Harhangi bir turk veya turkce bilen kullanici
Dusan Sormaz
At 05:39 PM 2/6/02 -0600, you wrote:
Rich,
What is the name for book written by Girratanno/Riley book?
Thanks
David Zhu
R & D
918-3428763
***
* Dusan Sormaz, PhD, Assistant
Professor
*
After playing few more tests I got the picture. :--)
Dusan Sormaz
At 08:09 AM 2/1/02 -0500, you wrote:
Ernest,
a small observation. This test example does not work because hashCode has
been reimplemented inTest class, not because hash code for Test object
(used in HashMap) has been changed
to retrieve the key. There is no method
setHashCode () in Object class.
Dusan Sormaz
At 01:19 PM 1/31/02 -0800, you wrote:
Jess assumes (and in this case, the
assumption is unwarranted) that
any objects in the slots of a fact will have constant hashCode
values
-- i.e., the hashCode of the contents of
>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
>[EMAIL PROTECTED]
>---
47 matches
Mail list logo