public FzOR(ref IFuzzyTerm operator1, ref IFuzzyTerm operator2, ref IFuzzyTerm operator3, ref IFuzzyTerm operator4) { MemberTerms.Add(operator1.Clone()); MemberTerms.Add(operator2.Clone()); MemberTerms.Add(operator3.Clone()); MemberTerms.Add(operator4.Clone()); }
public FzAND(IFuzzyTerm operator1, IFuzzyTerm operator2, IFuzzyTerm operator3, IFuzzyTerm operator4) { MemberTerms.Add(operator1.Clone()); MemberTerms.Add(operator2.Clone()); MemberTerms.Add(operator3.Clone()); MemberTerms.Add(operator4.Clone()); }
public void AddRule(IFuzzyTerm antecedent, IFuzzyTerm consequence) { Rules.Add(new FuzzyRule(antecedent, consequence.Clone())); }
public FuzzyRule(IFuzzyTerm antecedent, IFuzzyTerm consequence) { _antecedent = antecedent.Clone(); _consequent = consequence.Clone(); }