Esempio n. 1
0
 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());
 }
Esempio n. 2
0
 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());
 }
Esempio n. 3
0
 public void AddRule(IFuzzyTerm antecedent, IFuzzyTerm consequence)
 {
     Rules.Add(new FuzzyRule(antecedent, consequence.Clone()));
 }
Esempio n. 4
0
 public FuzzyRule(IFuzzyTerm antecedent, IFuzzyTerm consequence)
 {
     _antecedent = antecedent.Clone();
     _consequent = consequence.Clone();
 }