rexrainbow
hello, I'm back again...
I don't understand what the method "add rule" means... I know it's a logic, but I don't know the two parameters of it( Rule, Expression).
Such as this rule: Add rule "eat" <- Fuzzy.AND("stomach",Fuzzy.OR("hp","-hp"))
"eat" is a rule and "<- Fuzzy.AND("stomach",Fuzzy.OR("hp","-hp"))" is a expression.
Both Fuzzy.AND(...) and Fuzzy.OR(...) return a value, right? But who receives this value? Is it "eat"? Is "eat" a variable, too? ...
I'm completely confused...