Wow.... I had some hard time understanding how it worked, mostly because I didn't know how to use fuzzy logic.
Great plugin !
EDIT :
rexrainbow
oh!~I see..."eat" is both a rule name and a output value !!! THX!!! <img src="smileys/smiley12.gif" border="0" align="middle" />
The output values seems to be directly the fuzzy evaluation of the rules of the same name, with the parameters applied.
rexrainbow :
The only thing I don't understand now is how you mix multiple rules in 1 output. Do you sum the different output of the rules (could be logic as each rules correspond to P,Zo or N of a value, could be complementary), or ponderate each output value to calculate the final output ? Maybe the max of every rule ?
For example, if I take the "eat" rules :
- if the stomach is positive, always want to eat
- if the stomach is neutral, want to eat if hp is neutral or negative
- if the stomach is negative, want to eat only if hp is negative too
So in this case, if the stomach is 30% positive and 70% neutral, you should ponderate the result of the 2 first rules by their respective %, am I wrong ? (this question is more about checking I understand your plugin right)
Last thing, could we, in this same example, mix all 3 rules in a "Fuzzy.OR" statement ? Something like
OR(
"+Stomach",
AND("stomach",OR("hp","-hp")),
AND("-stomach","-hp")
)
(Just realised this last question is basicaly the same as the previous one...)