integer vector, The premises of the rule
A premise is the 1-based index of MF in the FisIn
0 means the input is not taken into account for this rule, i.e. the rule is incomplete
The vector length must be equal to the number of inputs in the Fis
conclusions
numeric vector, The conclusions of the rule
A conclusion is a numeric value for crisp output FisOutCrisp, or the 1-based index of MF in the fuzzy output FisOutFuzzy
The vector length must be equal to the number of outputs in the Fis
Constructors
Rule()
The default constructor to build an empty rule
The rule is initialized with empty premises and conclusions
return:
Rule object
Rule(premises, conclusions)
The constructor to build a rule
argument: premises
integer vector, The premises of the rule (the vector length must be equal to the number of inputs in the Fis)
argument: conclusions
numeric vector, The conclusions of the rule (the vector length must be equal to the number of outputs in the Fis)