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 an
Did you try the
(break)http://www.jessrules.com/jess/docs/71/functions.html#breakfunction?
Arguments:NoneReturns:N/ADescription: Immediately exit any enclosing loop
or control scope. Can be used inside of
forhttp://www.jessrules.com/jess/docs/71/functions.html#for,
while
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
http://www.intellifest.org%20
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 http://intellifest.org, October
22-26, at the Bahia
The other place that it might be is in the line
(if (= (call ?u getTypeID) ?*SCV_ID*) then ...
because the = function does a comparison by *value*, so it would likely
use Value.getValue().
What do your ID's look like? Are they numbers or strings, or something
else?
If they are strings, then
Good gravy! This is one of those can't see the forest through the trees
examples that we used to collect on the jess wiki! It was hiding in plain
sight!
One lesson from this is that Jess's error messages, even when seemingly
cryptic, contain some useful clues. Users, myself included, are too
of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
--
Cheers,
Jason
--
Morris Technical Solutions
has a rich feature set and appears to implement the Rete algorithm
efficiently. The original developer and author of Jess in Action, Ernest
Friedman-Hill, responds promptly and thoughtfully to technical questions
posted to the mailing list.
-John
From: Jason Morris [mailto:jason.c.mor
the site has been updated - is Jess still under
active development?
I've started reading through Jess In Action. The book was published in
2003 - is it still applicable to the 2008 version of Jess?
Thanks,
Paul
--
Cheers,
Jason
is a very
powerful statistics package, and the JRI http://www.rforge.net/JRI/API
let's you integrate it with Java.
Hope this helps!
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
idea. Old wine in a new bottle? Perhaps. But this way, you can
clearly separate out concerns, add pre and post processing functions, and
test partial results by simply disabling/enabling certain modules in the
sequence.
Cheers,
Jason
--
Jason
a Football Play decision table taken
from an ancient ART Enterprise manual I have. Unfortunately, it didn't have
a rule about what to do in case you perpetually turn the ball over, so in
retrospect it wouldn't have been much use against Alabama. ;-)
Cheers,
Jason
Jess Fans!
Follow Rules Fest 2010 on Twitter
Use the hashtag #rulesfest
At 5 PM PST will have a panel Q A with all of today's speakers.
Join us on Twitter, tweet your questions, and we'll ask the panel and tweet
their answers!
Cheers,
Jason Morris
Chairman, Rules Fest 2010
fitness. However, in order to find the K-
nearest, I'd need to do this for every rule in existence, which would
be prohibitively expensive. Is there any way to take advantage of
Clips' internal representation of the rules (via RETE), to do this
search more efficiently?
Cheers,
Jason
Hello All,
Are any Jess users going to JavaOne?
If so, would you please contact me at:
jason.c.mor...@gmail.com
Thanks!
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
--
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris
to be modified to provide some kind of doomsday button that truly removed
spam content, completely. That's really the deal.
Understood. :-/
Well ... we had discussed having registered wiki users at one point. How
about that option? :-)
Cheers,
Jason
Rules Fest 2010!
Hope to see you there!
*Rules Fest: By Developers For Developers*
Cheers,
Jason Morris
Chairman, Rules Fest 2010
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
.
--
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
To unsubscribe, send
conference by
programmers for programmers on all sorts of inferencing technologies. Stay
tuned to the Jess email list for further details soon.
Thanks!
Jason Morris
Chairman - Rules Fest 2010
On Mon, Apr 26, 2010 at 6:17 PM, jarno niemelä jar...@iki.fi wrote:
Hello.
This is not exactly technical
to sign up / pay for the
conference? As you can kind of remember, some organizations like mine
recognize October as the beginning of the fiscal year (not too easy to get
funding in that month, but ahead of time is easier)
-Socrates
On Mon, Apr 26, 2010 at 7:46 AM, Jason Morris jason.c.mor
keyword
or function named calling. Are you getting some kind of error message?
--
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
On Wed, Mar 10, 2010 at 11:13 AM, John Chrysakis
.
--
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
To unsubscribe, send the words
://www.jessrules.com/jess/docs/71/api/jess/Rete.html#reset() for a
listing of all the functions that reset() performs.
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
On Thu, Jan 7, 2010 at 10
--
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
To unsubscribe, send the words 'unsubscribe jess-users y
who doesn't frequent
this list but is contemplating using Jess, please feel free to forward
this email to him/her.
Cheers,
Jason
--
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
Hi Felix,
BTW -- I think that Brian was intending
;; Set the focus stack
(focus A B)
(run)
There is nothing to preclude you from using modules and salience together.
There is an essay on the proper use of salience on the Jess wiki here
http://www.jessrules.com/jesswiki/view?SalienceUsageTips.
i need to do the assert only in case the variable ?distance is equals to 1
(one)
Hi Lucia,
This should work...
(defrule generate_outside_execution_relations
comment
(call (call_id ?call_1) (caller_id ?method_X)
(callee_id ?method_Y) (precedence ?precedence_1))
(call
-
Cheers,
Jason
--
---
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
Hi Rose,
Aside from some Jess usage issues, I think you have a big logic flaw in your
rules.
Look at what you have written in the first rule:
You are essentially trying to match any (object) that is-a-tumor-patient
with any (object) that is-a-tumor. However, I don't see any slot binding
that
Hi Tanja,
There is also an API called JNotify that allows one to receive file system
events on Windows and LINUX.
See:
http://nixbit.com/cat/programming/libraries/jnotify/
http://sourceforge.net/projects/jnotify/
See if this is what you need. You can also have a thread periodically
monitor your
is up at http://zen-of-jess.blogspot.com/
Cheers,
Jason
--
---
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
at
http://zen-of-jess.blogspot.com/
The blog is moderated and all comments are welcome.
Cheers,
Jason
--
---
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
build web-based applications without using
Java, too.
Have a look at this first:
http://www.jessrules.com/jess/zen.shtml
Once you've read that, if you have any other questions, you can email me
directly at consult...@morris-technical-solutions.com
Cheers,
Jason
in sequential
order.
I thought I'd pass this along as a tip and ask the general question:
Has any one else used this or a similar architectural approach; and, if so,
how did you tackle it?
Cheers,
Jason
---
Morris Technical Solutions LLC
[EMAIL
Hi Hal,
The man to ask might be Professor Gopal Gupta. He was one of the invited
speakers at ORF 2008, and he specializes in logic programming, particularly
with Prolog.
Here's his current contact info page: http://www.utdallas.edu/~gupta/
Hope this helps!
Cheers,
Jason
On Mon, Nov 3, 2008
is to make slot names lowercase, with words
separated by an underscore. Making slot names lowercase, while making
class[e] names start with an uppercase letter, helps you distinguish them in
your ontology.
Hacking around what is correct is just not good programming in my humble
opinion.
Cheers,
Jason
Standard of the dog: ?s crlf)
)
Cheers,
Jason
---
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
Thanks, Dusan...
I made the erroneous assumption that she did that, but I should have been
more explicit.
Yes, you need to also do
(reset)
(run)
at the end of you program, Martina.
Cheers,
Jason
2008/10/23 Dusan Sormaz [EMAIL PROTECTED]
Martina,
after defining rules, templates and facts
::__query-trigger-find-oldest)
Ann, age 12
Bob, age 14
David, age 11
Oldest is: Bob, age 14
FALSE
**/
Cheers,
Jason
---
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
of Commerce under number 06061578.
--
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
STRING)))
(deftemplate likes
(slot name (type STRING))
(slot what (type SYMBOL)))
(deffacts facts-1
On ducks and ponds
(duck (name Donald))
(duck (name Daisy))
(duck (name Huey))
...
---
Jason Morris
Morris Technical
,
Jason
---
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
which of the
rules have changed. I didn't have time to investigate it further, but I
thought that I'd pass this along. Perhaps other Jess users can use it too.
Cheers,
Jason
---
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
Actually, I did find that and forgot to include it in my notes :-) Grrr.
That's why I changed the variable names and added the anon variables.
The dangers of late night Jess list-surfing. :-)
On Tue, Aug 26, 2008 at 10:26 AM, Jason Morris [EMAIL PROTECTED]wrote:
Whoops! Tis true. I admit
--
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
]
--
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
]
--
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
PROTECTED]
--
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
( func ?function ) ) (
test ( ?function 0 ) ) = ( printout t 1 0 crlf ) ) at line 11.
Clearly, I'm not understanding this and would appreciate any help from
those on the list.
Thanks.
--
---
Jason Morris
Morris Technical Solutions LLC
://www.jessrules.com/jesswiki/view
Cheers,
Jason
On Fri, Aug 22, 2008 at 10:47 AM, mike smith [EMAIL PROTECTED] wrote:
Hi,
Is there a book on Jess?
Thank you
--
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
of having a rule engine. Its hard to
disparage such an apparently impressive body of work, but there it is.
Cheers,
Jason
---
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
the problem again...
Eclipse EE + Jess 71RC1 + Subclipse = random crash on save
Don't know if Subclipse brings anything new, though...
Cheers,
Henrique
Jason Morris wrote:
Hi Henrique,
I just did the same thing since I was crashing Eclipse almost every
time I saved from the Jess editor
], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
happy with my solution :-)
On Fri, Jun 20, 2008 at 8:55 AM, Peter Lin [EMAIL PROTECTED] wrote:
the solution looks pretty pretty straight forward. it could probably
be generalized to allow for n number of lathes.
peter
On Fri, Jun 20, 2008 at 3:02 AM, Jason Morris [EMAIL PROTECTED]
wrote
, Jason Morris
Jess
Cheers,
Jason
---
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
On 6/11/08, seyed hossein [EMAIL PROTECTED] wrote:
Hi,
could anyone give me a simple example involving the (read) function. for
instance if I
PROTECTED]
--
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
be some synergy with that,
too.
-Jason
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
Hi James,
* Where are you advertising this and how many people have confirmed
their attendance?
* What is the projected or target attendance?
* Will there be a registration fee?
Cheers,
Jason
---
Jason Morris
Morris Technical Solutions LLC
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
Jason Morris wrote:
On Sat, May 10, 2008 at 3:45 PM, katie678 [EMAIL PROTECTED]
wrote:
Hi,
I am complety new to Jess and am in desperate need of help please.
Hi Katie,
Here is a list of issues that caught my eye:
1. If you have a function B that depends on function
without me just giving them to
you.
Cheers,
Jason
On Sun, May 11, 2008 at 5:43 AM, katie678 [EMAIL PROTECTED]
wrote:
This type of help is greatly appreciated and the response was so quick.
I will follow all your instructions and see how I get on.
Thanks so much
Katie
Jason Morris wrote
program seemed to run just fine.
I hope this helps!
Cheers,
Jason
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
technology like
Web 2.0 or at least servlets/JSP. :-)
Cheers,
Jason
---
Jason Morris
Morris Technical Solutions LLC
[EMAIL PROTECTED]
(517) 304-5883
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--
---
Jason Morris
Morris Technical Solutions LLC
http
,
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
problems? Notify [EMAIL PROTECTED]
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
.
Cheers,
Jason
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
On Tue, Mar 11, 2008 at 6:50 PM, giannis tym [EMAIL PROTECTED] wrote:
Hello
I try to run the example with eclipse 3.3
I have placed
your system configuration file.
Cheers,
Jason
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
.
Try Jess free of charge for 30 days, and if you're not absolutely satisfied
that it's far superior to Lisa, then return the bytes for a full refund :-D
Cheers,
Jason
On Thu, Mar 6, 2008 at 5:46 PM, [EMAIL PROTECTED] wrote:
Jason Morris [EMAIL PROTECTED] writes:
All this said, at some
Perhaps something like JShrink or yGuard would work for you.
http://www.e-t.com/jshrink.html
http://www.yworks.com/en/products_yguard_about.htm
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
.
Cheers,
Jason
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
clue was that the Saves actually did complete,
the thread just never returned control to the Workbench and it hung
up.
Cheers,
Jason
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
lengths in foo facts 3 and 1 are equal!
;FIRE 6 MAIN::myrule f-1, f-2,
; == f-10 (MAIN::has-fired 2 1)
;== Activation: MAIN::myrule : f-2, f-1,
;Lists lengths in foo facts 1 and 2 are equal!
; == Focus MAIN
--
---
Jason Morris
Morris Technical
.
Hope this will give an overview to what I am working on.
Cheers
Mnoor
On Jan 8, 2008 4:31 PM, Jason Morris [EMAIL PROTECTED] wrote:
Hi MNoor,
This isn't really a Jess question, but perhaps I can help. The
knowledge domain that you are seeking is called Operations Research. Here
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
of problem. Also, would you please send the *exact* wording
of the problem you have been given? That way, I can say for certain whether
or not an LP approach would be better.
Cheers,
Jason
---
Jason Morris
Morris Technical Solutions LLC
you're running.
If you need more heap than 1.6 GB, I've read that you'll need to go to
64 bits, possibly on LINUX or UNIX.
Anybody else know for sure about this??
Hope this helps.
Cheers,
Jason
---
Jason Morris
Morris Technical Solutions
Hi Gerwin,
I was more thinking of a better way of querying my data.
I'm new to Jess and do not know all the tricks yet.
Well, your first question said:
This works fine for a small example but when I read in my GEDCOM file of
2700 people a
huge amount of (Related ?id1 ?id2) facts are
is not currently using GigaSpaces in a distributed
sense -- space is in-process in the same JVM as Jess. Obviously, they
would like to retain GigaSpaces as a distribution layer in their
architecture for scalability.
Cheers,
Jason
--
---
Jason Morris
Box U1987
Perth, Western Australia 6845
Visiting Scholar
Department of Geography and Planning
University of Akron
Akron, Ohio USA
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
On Nov 27, 2007 7:43 AM, Jan Willem Lokin [EMAIL PROTECTED] wrote:
Hi,
Consider the following situation. I have asserted quite a number of
facts
]
--
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
/jess/docs/70/functions.html#call
for an explanation.
Cheers,
Jason
---
Jason Morris
Morris Technical Solutions LLC
http://www.morris-technical-solutions.com
To unsubscribe
)
== f-1 (MAIN::things (Id 1) (elements a b c))
== f-2 (MAIN::otherthing (one_Element a))
== Activation: MAIN::find_it : f-1, f-2
FIRE 1 MAIN::find_it f-1, f-2
Found it: 1
== Focus MAIN
**/
Cheers,
Jason
---
Jason Morris
Morris Technical
found it: ?pId crlf))
which is described at the end of *6.4. Matching in Multislots*
http://herzberg.ca.sandia.gov/jess/docs/70/rules.html#multimatch?
Bob Kirby
At 09:15 AM 11/14/2007, Jason Morris wrote:
Hi Hans,
Try this solution:
(clear)
(watch all)
(deftemplate things
(slot
for a particular fact
with the highest index1 and lowest index2 among all instances of an
arbitrary number of fact templates (i.e., my-template, queue, etc.) that
share these two slots in common.
Would you describe what your goal is and perhaps we can suggest a better
approach?
Cheers,
Jason
Morris
of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--
---
Jason Morris
Morris Technical Solutions LLC
http
What string and date operations does Jess support?
I saw a str-cat operator, is there some for string compare, like or
in
something like these? How do I define conditions for date operations?
Like date less than current
date or so?
Where can I find more information on the available
On 5/25/07, fan yang [EMAIL PROTECTED] wrote:
I want to get how many methods in each class, is there a Jess function
which does what I want?
If there isn't such function, would you please tell me how to do it?
Hi Fan,
Not a function, but a conditional element (CE) is what you want I think.
Hi Ernest,
When I try to save a CLP file that is in a bad state (not parsing
correctly) JessDE has a pesky propensity to lockup and take down Eclipse (on
my box admittedly) in both 3.2 and 3.2.2 versions. Version 3.2.2 was
worse. I'm 99% sure it's not the code itself that's doing it. Take any
Technologies, LLC.
Lockheed Martin - MS2
' 856-359-3094
** [EMAIL PROTECTED]
* 780-3
--
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
Behalf Of *Jason Morris
*Sent:* Tuesday, May 22, 2007 4:49 AM
*To:* jess-users@sandia.gov
*Subject:* JESS: trying to save a bad CLP
Hi Ernest,
In the documentation regarding I/O routers (Ch 10. p.66 in the PDF), it
says:
...Note also that although these functions accept and return generic Reader
and Writer objects, Jess internally uses java.io.PrintWriter and
java.io.BufferedReader. If you pass in other types, Jess will
Hi Ernest,
Check out this javadoc :-)
-
getOutStream public java.io.PrintWriter getOutStream()
Return the *WSTDERR* router, where Jess sends much of its standard output.
The t router is distinct from WSTDOUT, but they initially both go
On 5/7/07, Mike Stopper [EMAIL PROTECTED] wrote:
I'm having trouble getting my head set straight on this one..
Hi Mike,
I seem to have some luck with this...
(clear)
(watch all)
(defrule only-when-NOT-starts-with-B-and-D-present
(not(value /B.*/))
(not(value /D.*/))
=
(printout t
Hi Ernest,
I believe this is just another instance of the a-STRING-is-not-a-SYMBOL
problem.
I have been avoiding commenting on this thread because I still think that
strings and symbols should be kept separate, though I can certainly
understand the opposing view.
FWIW -- One of the things
On 1/7/07, Soil inf. [EMAIL PROTECTED] wrote:
...The project is based in Sydney, and we are looking for some help in the
program development side. So at this stage we are looking for experienced
Jess users for some guidance with the possibility of some paid consultant
work.
Hello!
Short of
I think that *Venkat Kasuganti* said:
When I execute this code I get only the last fact ie blue printed. I
need both facts printed. Is there a specific function to search the
working memory to test the existence of fact based on the head?
To be clear, if you want to test for the existence of
Announcing The New Zen of Jess Blog!
Hi All,
I amstarting a new blog dedicated to Jess development -- particularly as it pertains to my Ph.D. research in Intelligent Tutoring Systems (ITS) -- but also anything else that
1 - 100 of 229 matches
Mail list logo