[jboss-user] [JBoss jBPM] - Re: Problem using jbpm server with fuzzy logic library
jfrancoisl
do-not-reply at jboss.com
Thu Apr 26 10:26:53 EDT 2007
Ok so i've been able to further down isolate the problem.
It is created by a call to the FuzzySet class.
When i do something like the example:
double xHot[] = {25, 35};
double yHot[] = {0, 1};
double xCold[] = {5, 15};
double yCold[] = {1, 0};
FuzzyValue fval = null;
FuzzyVariable temp = new FuzzyVariable("temperature", 0, 100, "C");
temp.addTerm("hot", xHot, yHot, 2);
temp.addTerm("cold", xCold, yCold, 2);
Everything works fine, but if i do something like ;
FuzzyVariable temp = new FuzzyVariable("temperature", 0, 100, "C");
temp.addTerm("hot", PIFuzzySet(5,0.5));
I get an error, because i use PIFuzzySet (a subclass of FuzzySet) instead of FuzzySet...
So why would this work when running locally on a custom executable program, but not when deployed and accessed through the webserver?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041007#4041007
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041007
More information about the jboss-user
mailing list