Re: JESS: Installing Fuzzy on Jess

2008-07-25 Thread DCWYRICK
Just comparing your two lines (defglobal ?*airTempFvar* = new FuzzyVariable "airTemperature" 0.0 100.0 "Deg C")) and (defglobal ?*fanSpeedFvar* = (new FuzzyVariable "fanSpeed" 0.0 1000.0 "RPM")) It looks like you are missing a paren before "new" in the former.

Re: JESS: Installing Fuzzy on Jess

2008-07-16 Thread DCWYRICK
What you typed out there, "java -classpath "%classpath%";f:\fuzzyjtoolkit\fuzzyj110a.jar;.\ nrc.fuzzy.jess.FuzzyConsole", is a command line argument. You would normally type this in at a command prompt or shell. Eclipse can take care of it for you, though. Just add those jars to your class path

Re: JESS: Installing Fuzzy on Jess

2008-06-30 Thread DCWYRICK
In eclipse you can right click your project, and go to the "properties" option. In this list there is a "Java Build Path" section. Click the libraries tab and add your jar file there. The classpath is just the path that the java compiler looks at to find class files for your project. You need t

JESS: Rule efficiency

2008-05-09 Thread DCWYRICK
Hi, I sent this before but for some reason it double posted another message that I replied to and didn't post this one. ... Hello, A project that I'm working on has a very large rulebase. Many of these rules were written with an editor that was made a long time ago, to ease the process so that

Re: JESS: Puzzle 15

2008-05-08 Thread DCWYRICK
A quick "15 puzzle" google search yields some JavaScript implementations of the game. I got bored one day and did some quick internet research on how to solve these. Apparently, one of the easiest tricks is to solve an outer row and column first. For example, 1 2 3 4 5 x x x 9 x x x 13 x x x

Re: JESS: Odd accumulate behavior with identical 'result' variable names

2008-04-07 Thread DCWYRICK
I have been unsuccessful in exactly replicating my issue. I do believe that I still got accumulate to behave unexpectedly, however. I will note that I tested it in the version my company is running (some old 7.0 version), the 7.0p2 version, and the new 7.1b3 version. This issue occurs in 7.0, 7.

JESS: Odd accumulate behavior with identical 'result' variable names

2008-04-01 Thread DCWYRICK
I noticed some odd behavior with the accumulate function. I've got two very similar rules 1) validates a string based on a fact and asserts an error fact if the string is incorrect 2) validates a string based on a fact and asserts a different fact which is used to correct the string later I use