The "fan speed" program in that document doesn't include the
(necessary) calls to "(reset)" and "(run)" at the end; they're
understood for people with experience using Jess. If you're new to
Jess, you've likely missed them. So you'll need to add
(reset)
(run)
at the end of the file. Also, to use FuzzyJess, you need to run the
program with the FuzzyRete engine class rather than the jess.Rete
engine that comes with Jess itself, as described in the FuzzyJ
documentation; something like
java -classpath jess.jar;fuzzyj.jar nrc.fuzzy.jess.FuzzyMain example.clp
It *should* be possible to run FuzzyJess programs from the JessDE,
although I don't know that I've actually done it. With a little care
you should be able to edit them there, too -- you would need to
define stubs for the FuzzyJess Userfunctions, and of course add the
FuzzyJess jar file to your project's build path. This really isn't a
topic for a Jess beginner.
On Sep 5, 2007, at 7:55 PM, veggen wrote:
The only pure jess (no java) example utilizing fuzzy logic was the
one in the
NRC-44882.pdf document, but attempting to run that example gives me no
results. No error messages, no nothing.
I corrected a miner typo I have found in it, but apart from it, I
changed
nothing.
I checked all the warnings (I'm working in Eclipse) and the only
one that
seems suspicious is: Undefined function at token 'fuzzy-match'. Is
this
normal behaviour?
Anyone knows of the example I'm talking about? Any successful runs?
any reply would be greatly appreciated
--
View this message in context: http://www.nabble.com/FuzzyJess%3A-
Example-won%27t-run-tf4388877.html#a12513235
Sent from the Jess mailing list archive at Nabble.com.
--------------------------------------------------------------------
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]
--------------------------------------------------------------------
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------