Closed ghost closed 9 years ago
No, you are wrong. It works OK:
RULE 1 : IF (service IS poor) OR (food IS rancid) THEN tip IS cheap WITH 0.8;
RULE 2 : IF service IS good THEN tip IS average WITH 0.5;
RULE 3 : IF (service IS excellent) AND (food IS delicious) THEN tip IS generous WITH 0.9;
java -jar ~/jFuzzyLogic.jar fcl/tipper_with.fcl
# Shows plots OK
Hello I think jFuzzyLogic doesn't work when I add weight to rule, is that right ?