) (x5 nil))
=
; Rule actions go here...
)
This rule would fire on all facts of type A for which these
constraints were satisfied.
A complete program is given below.
Cheers,
-Jason
-
Morris Technical Solutions LLC
understand their
mechanics, else they introduce an unknown liability in your code.
Cheers,
Jason
-
Morris Technical Solutions LLC
www.morristechnicalsolutions.com
[EMAIL PROTECTED]
phone/fax: 503.692.1088
I think that M.K. wrote:
is it possible to add pictures (*.jpg, *.gif etc) to a GUI?
If you mean a Jess GUI (like in Jess In Action), then certainly. You
can build any Java GUI you want -- Jess places no limitations on you.
Any decent book on Java AWT or Swing will show you how to do this.
If
-- Forwarded message --
From: Jason Morris [EMAIL PROTECTED]
Date: Nov 14, 2005 11:19 AM
Subject: Re: BOUNCE jess-users@sandia.gov: Approval required:
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
I think that Erich Oliphant wrote:
I see the methods that flag shadow facts but nothing
questions. :-)
Thanks!
Jason Morris, PresidentMorris Technical
Solutionsmailto:[EMAIL PROTECTED]
www.morristechnicalsolutions.net
All,
I was experimenting with some of the examples in Jess In Action, and I
wanted to run my own java class from the Jess prompt.
I added a simple path string to my CLASSPATH environment variable like this:
C:\com\morristechnicalsolutions\jess\projectA\test_a\classes\test_a
and I
Preach
on, Brother Halsey!
Sadly,
it's all about thebottom-line.
When
will US business leaders wake from their common-sense coma and realize that the
short-term solutionofcutting costs is no substitute for growing
revenue through better products and fostering innovation?
Horror
Ah... the dangers of Late Night Computing and its evil cousin Cut and
Paste.
FYI: java -classpath does indeed override system %CLASSPATH% ;-)
Sorry for the groupspam.
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
free to modify it as needed. To use it,
simply cut and paste everything between the lines into your UltraEdit
wordfile.txt file (see bottom of email).
It should be available for download at the UltraEdit site soon.
Cheers,
Jason Morris
---
Jason Morris
Morris Technical Solutions
[EMAIL
the user type away to describe the
initial problem input.
Alas, it seems that my idea was anticipated (see pg.2):
http://www.amia.org/pubs/symposia/D005310.PDF
However, does anyone have any good suggestions as to how to implement this
approach in Jess?
Thanks!
Jason Morris
Morris
that it was a novel approach instead of parsing the string by
brute force and trying to process the results with a gazillion rules.
Hope that clarifies a bit.
Regards,
Jason Morris
---
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original
James,
Thank you for all the good links! I figured that there was a lot more out
there, and I feared that I wasn't making myself clear.
Regards,
Jason Morris
-
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message
No
kidding? What happened? (And why would you think that anyone would
want to pick up the gauntlet?) What company was
it?
-JM
___
Jason MorrisMorris Technical
Solutions[EMAIL PROTECTED]www.morristechnicalsolutions.comfax/phone:
503.692.1088
-Original Message-From: [EMAIL
cycle?
Thanks!
-JM
---
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY
Thanks, James!
This was very interesting suggestion. I'd give my eye-teeth to find such a
company that was actively using rule-based programming in mechanical design
(my specialty). That scale of project would be fascinating to program.
Cheers!
Jason
--
Jason Morris
Morris Technical
?
BTW - thanks for all your replies on other threads so far.
-JM
--
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rich Halsey
Sent: Friday
research. Hybrid systems are a fascinating subject, and I hope to see a
lively thread about it.
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
it be to add a Jess command like (fact-by-fact
jess.Fact|External Address: jess.Fact) that returns the integer value of
the Fact reference in working memory... basically a mirror image of the
(fact-id integer) command.
Thanks!
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 5:56 AM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Obtaining a fact-id from an External Address
I think Jason Morris wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
Hello All (and most likely EJF)
GIVEN
with a syntax like
(call obj-reference method-name args-list)
See Ch. 5 of Jess In Action.
Hope this helps. Let me know what you find, as I could use this, too.
Cheers!
-JM
-
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
this helps!
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 2
Brenda,
My guess is that you are using the = function when you should be using
eq to compare object references.
The = is for numerical values, hence the error.
Hope this helps.
-Jason
-
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
something like:
(defrule foo-res
(foo (name ?x))
=
(call (get-foos-by-name (?name)) assign)))
Hope this works...Ernest will probably have something more elegant! :-D
Cheers!
-JM
--
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
Oops... I may have misunderstood your question. Sorry... completely mixed
up my code.
Disregard that last suggestion.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Amit Chopra
Sent: Thursday, May 27, 2004 10:58 AM
To: [EMAIL PROTECTED]
Subject:
of rules --
and that certainly seems the best way to go for most Jess applications.
BTW - Examples of creative uses of salience or other control mechanism in
Jess would be much appreciated.
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rich Halsey
Sent: Friday, May 28, 2004 9:02 AM
To: [EMAIL PROTECTED
Footnote
The ART manual that I ...came across was graciously donated to my cause by
Bob Orchard.
Bob: I know I should have grabbed the Viewpoint manual, too! :-D
Given the pace of programming evolution, it's comforting to know that study
of something twenty years old (ART) can still give
numerically.
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of James Owen
Sent: Friday, May 28, 2004 11:16 AM
see what the RHS of rules are doing
and whether the logic is working. Thoughts?
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
assuming that Jess's addOutputRouter() accepts any Writer
object, do you have a Renderer already coded that maps Jess STDOUT to Log4J?
Thanks again, Alan!
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
All,
I am looking for some good references (preferably online) about scheduling
theory -- especially using rules to compute various resource scheduling
scenarios.
Thanks!
-Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
I think that Sione wrote:
I hope this information will give you a good start.
Sione,
Thank you very much for the incredibly detailed reply!
Cheers!
-Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone
Hi
Alvin,
Leave it toDr. Friedman-Hill
toquickly point out the simplest solution! :-DI was going to
suggest that adefquery might also be a solution since it
can easilyhandle more general filtering. For
example:
(defquery
find-substring-in-mail (declare (variables ?substring))
(mail
Hi Leila ,
Thanks for the information!
Kind regards,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf
something basic?
...
Rete engine = new Rete(this);
new Batch().batch(rulesFile, engine);
...
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
about architecture, goals, testing, modularized
development, etc.)
I hope that this helps you in your study. Jess is very cool technology, and
it has actually improved my Java skills tremendously (gives me more of a
reason to study Java!).
Happy inferring!
-JM
Jason Morris
or
the difference is fairly close, but for larger code like Mitch's example,
I've noticed that it can be significantly off. Is there a best practice to
follow?
Just curious...
-Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax
I think that Mong-Thao wrote:
How can i implement this function in Java code ?
See http://herzberg.ca.sandia.gov/jess/docs/61/extending.html# for a full
explanation.
Cheers,
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
,
-Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Sergio Martmn Ballesteros
Sent: Thursday, July 29, 2004 10
PROTECTED]
Subject: Re: JESS: comments affecting error message line numbers?
I think Jason Morris wrote:
For most small programs, the reported line number of an error
is exact or
the difference is fairly close, but for larger code like
Mitch's example,
I've noticed that it can
for accumulating (placing!?) output
(pattern bindings, function returns, etc.) as nodes in a tree? Of course,
there are a thousand ways that I or any other user can roll our own (using
linked lists for example), but maybe someone else has a similar need, too.
Cheers,
Jason
Jason
advantage of other DefaultTreeModel methods like getPath(),
getPathtoRoot(), and a whole host of useful query and enumeration methods,
which I'd otherwise have to had written from scratch.
Jess really is the programmer's rule engine!
Cheers,
Jason
Jason Morris
Morris Technical
61p7. Was it omitted from JIA for a reason?
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words
, ...An equals method should
be provided by a class if equality of an object of that class requires more
than a comparison of its object reference.
Hope that helps.
Cheers,
-Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 12:42 PM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL
, not the other way around.
Cheers,
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words 'unsubscribe jess-users
);
}
// This is the important part! :-D
catch (JessException jex) {
jex.printStackTrace(System.err);
}
}
}
==
Cheers,
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax
that Ernest has pointed out before is that
LISP dialects treat anything else than a FALSE as TRUE, so the integer
return value of member$ can be used in boolean expressions as is.
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax
values between Jess and Java code.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words
I think that Ross Judson said:
There are a couple of additional techniques you can use to control rule
firing order.
FYI - There are two more ways:
1. Flip the order in which Jess fires facts on the agenda (first activated
= first to fire) by using the (set-strategy breadth) command -- a depth
can dynamically build
(as far as I know) any command sequence that Jess can parse -- even
dynamically creating new rules. See JIA pp. 54-55 sec 4.3.6.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone
,
-Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED
.93, definstances are dynamic by default, unless explicitly created static.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
a particular slot
value, you want something like this:
FOREACH fact IN fact-references
IF fact.fact-slot-value == x THEN
DO something
END IF
NEXT fact
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax
silently assert (initial-fact). I
don't see a reason why not. Sounds like a nice refinement.
Anybody else?
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
.
Cheers!
-Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED
is finished.
== Focus MAIN
3
Jess
Hope this helps!
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send
.
Cheers,
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED
I think that Shital Joshi wrote:
I haven't been able to access Jess Home Page for couple of days.
As far as I know, it's been up. The correct URL however is
http://herzberg.ca.sandia.gov/jess
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
back.
Hope this helps!
Cheers,
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words 'unsubscribe jess
quality encoding for device id 1 is MP3
5
Jess
Hope this helps!
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
is what separates Jess from other rule languages and
shells.
Hope this helps!
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
/jess/zen.shtml here. :-D
Would you please describe for the group what your goal is so that we can
better assist you.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
- as an exercise, you might want to try what you just did with the API
from the command line using just the Jess language, and see which one is
easier to do.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone
, you have to wait for Ernest to return!
;-)
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send
to
output the desired answer.
==
Perhaps this might help give us the Big Picture better. :-D
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
Holly,
I just noticed that you originally had
(if (eq ?pd1 ?pd2) (eq ?pd2 ?pd3) (neq ?pr1 ?pr2) ... ),
not the
if pd1==pd2 AND pd2==pd3 AND pd1!=pd2 as I replied originally.
Sorry about that!
Still, my second reply holds.
Cheers,
Jason
Jason Morris
Morris
I think that Holly wrote:
Thank you very much. I am working on it right now and very hopeful.
Hi Holly,
You're welcome! Let me know how it works out for you.
Cheers,
-Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax
for complying so that we don't miss your posts.
Cheers,
-JM
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send
of
your e-book, and I'll send you the source code.
I think that Ernest would prefer it that way.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
. One that I can recommend is the one to which I belong
www.pjug.org and http://www.pjug.org/mailman/listinfo/javamail -- a very
knowledgeable and friendly bunch of folks.
Hope this helps!
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
. You
also might want to read this before you begin:
http://herzberg.ca.sandia.gov/jess/zen.shtml
Feel free to post to the group if you need more help, and best of luck on
your project.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
;%CLASSPATH%
. and the problem should go away.
Also, you should be running Jess 6.1 patch 7 not patch 4.
Click on http://herzberg.ca.sandia.gov/jess/bindist/Jess61p7.zip to download
the 30-day trial binary.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
either way.
One thing that I didn't do was check if the deleted facts had children
(facts that inherited from a parent fact) -- I'll leave that for you to
code! :-D If you're not using inheritance, then the code works fine.
Cheers!
Jason
Jason Morris
Morris Technical
couldn't see it in the Protege screen shot.
Also, I wasn't clear if you meant that you'd found the solution to be a
capitalization error in the slot symbol in your rule. Was that the case?
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
I think that ejfried wrote:
Regarding the O.P.'s original problem: what is the error you are seeing?
Hi Ernest,
Have a look at ...
http://promethai.free.fr/dforum/nav.php3?page=voirsujetboardid=4postid=182
overcount=1
Cheers,
Jason
Jason Morris
Morris Technical
BOB!
BTW - Any good reviews would be most appreciated!
Thanks!
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
the piece insightful.
The time is nearing when I will be picking your brains too on all your
experience, so be ready. :-D
BTW - Don't forget to give it a review rating ;-) Keeps my editor happy!
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
Hi Ernest,
I have to agree with Ross... multiline comments would be great. I don't
have a problem using /* ... */ , but perhaps you can provide an option based
on the current comment character (;).
Thanks,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
the entire Java API at your disposal from Jess for the
mundane chores!
Hope this helps!
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
around with this but quickly realized that I can't offer you any meaningful
working code unless I know more about your deftemplates and what your
application is supposed to do.
Hope this all helps!
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
-path Bob)
And Jess will printout:
== Focus MAIN
== f-0 (MAIN::initial-fact)
== f-1 (MAIN::result (label mach1) (ave 3.595) (stdev
0.20424658299875345))
Data row Bob could not be found!
Phew!
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED
values cannot exist in
working memory. Make sure that 4,000 of your 10,000 facts aren't
duplicates.
2. If that's not the case, then send us your code.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone
(new Double 125.5)
meter)) correctly?
Yes, that should work fine.
BTW - java.lang.* is implictly imported in Jess -- no need to explicitly
import it.
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone
calls.
Also, the deftemplate for a fact should come before the rules that use it.
Why don't you tell us what you're trying to do so that we can suggest
something?
Cheers,
Jason
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax
-Address:java.lang.String
External-Address:java.lang.Double
External-Address:java.lang.Double
External-Address:java.lang.Double)
(unit KN KN KNcm))
== Focus MAIN
Is this what you wanted?
Cheers,
Jason
Jason Morris
Morris Technical Solutions
problems are stupid. This is why we're all here!
Your explanation says paren-id, but I only see parent-id, so I have to
assume that is what you mean.
Can you please post all of your code? I can't understand what you're trying
to do from what you have here.
Thanks!
Jason Morris
Assistant
it if you took a few minutes to complete the
survey here:
http://herzberg.ca.sandia.gov/jess-user/jess-user.survey
You don't have to give your name or email address or anything, just
answer a few general questions about your applications and development
environment.
Thanks for your time!
Jason Morris
::speech (text HAMLET IS ANGRY))
== Focus MAIN
Cheers,
Jason Morris
Assistant Jess Listserver Moderator
-
Jason Morris
Morris Technical Solutions
[EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
))
== Activation: MAIN::notify-on-brightness-change : f-2, f-1
FIRE 1 MAIN::notify-on-brightness-change f-2, f-1
A change in brightness has occurred!
New Brightness = 35
== Focus MAIN
1
Jess
Let me know if this helps!
Cheers, Jason
--
Jason Morris - Assistant
))
;; is equivalent to this pattern
;; (foo (x ?x) (y ?y:( ?y ?x))
=
(printout t Test successful))
Cheers,
Jason
--
Jason Morris - Assistant Moderator
Jess Listserver - [EMAIL PROTECTED]
email: [EMAIL PROTECTED]
www.morristechnicalsolutions.com
this to a shell script.
bean.clp -- a Jess batch file that exercises the Example class below
Example.java -- a JavaBean that you can use both as a plain Java object and
as a Shadow Fact.
Try this out and let me know if this helps!
Cheers,
Jason Morris
Assistant Moderator - Jess Listserver
! crlf))
;; Reset working memory
(reset)
;; Run Jess
(run)
;; Close the file when all rules have fired
(close file)
;;=
This code writes the file as expected.
Cheers,
Jason
--
Jason Morris - Assistant Moderator
Jess
::match-a-b f-1, f-2
== Focus MAIN
The answer is: 1
Hope this helps!
Cheers,
Jason
--
Jason Morris - Assistant Moderator
Jess Listserver - [EMAIL PROTECTED]
email: [EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
Hi All,
I am forwarding this post by Mitch.
Sorry for the confusing posts -- I'm not sure why the latter part of the
original message was missing.
-JM
--
Jason Morris - Assistant Moderator
Jess Listserver - [EMAIL PROTECTED]
email: [EMAIL PROTECTED
to the Jess community for helping to enforce this policy!
Cheers,
Jason
--
Jason Morris - Assistant Moderator
Jess Listserver - [EMAIL PROTECTED]
email: [EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
--
Jason Morris - Assistant Moderator
Jess Listserver - [EMAIL PROTECTED]
email: [EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
To unsubscribe, send the words
, read a ton on rule-based expert systems, and start coding.
:-D
Cheers,
Jason
Jason Morris - Assistant Moderator
Jess Listserver - [EMAIL PROTECTED]
email: [EMAIL PROTECTED]
www.morristechnicalsolutions.com
fax/phone: 503.692.1088
::delete-empty-foos : f-1
FIRE 1 MAIN::delete-empty-foos f-1
== f-1 (MAIN::foo (id abc123) (data ))
== Focus MAIN
Click here for more info:
http://herzberg.ca.sandia.gov/jess/docs/61/functions.html#length$
Cheers,
Jason
---
Morris Technical Solutions
www.morristechnicalsolutions.com
1 - 100 of 229 matches
Mail list logo