public FuzzyAnd(FuzzyTerm op1, FuzzyTerm op2, FuzzyTerm op3, FuzzyTerm op4) { terms.Add(op1); terms.Add(op2); terms.Add(op3); terms.Add(op4); }
public void AddRule(FuzzyTerm antecedent, FuzzyTerm consequence) { rules.Add(new FuzzyRule(antecedent, consequence)); }
public FuzzyRule(FuzzyTerm antecedent, FuzzyTerm consequence) { this.antecedent = antecedent; this.consequence = consequence; }
public FuzzyAnd(FuzzyTerm op1, FuzzyTerm op2) { terms.Add(op1); terms.Add(op2); }
public FuzzyOr(FuzzyTerm op1, FuzzyTerm op2, FuzzyTerm op3) { terms.Add(op1); terms.Add(op2); terms.Add(op3); }