evaluate method
Evaluates the rule and updates the degree of membership of the consequent term with the degree of membership of the antecedent term.
Implementation
FuzzyRule evaluate() {
consequence?.updateDegreeOfMembership( antecedent?.getDegreeOfMembership() ?? 0);
return this;
}