示例#1
0
 public FuzzyAnd(FuzzyTerm op1, FuzzyTerm op2, FuzzyTerm op3, FuzzyTerm op4)
 {
     terms.Add(op1);
     terms.Add(op2);
     terms.Add(op3);
     terms.Add(op4);
 }
示例#2
0
 public void AddRule(FuzzyTerm antecedent, FuzzyTerm consequence)
 {
     rules.Add(new FuzzyRule(antecedent, consequence));
 }
示例#3
0
 public FuzzyRule(FuzzyTerm antecedent, FuzzyTerm consequence)
 {
     this.antecedent = antecedent;
     this.consequence = consequence;
 }
示例#4
0
 public FuzzyAnd(FuzzyTerm op1, FuzzyTerm op2)
 {
     terms.Add(op1);
     terms.Add(op2);
 }
示例#5
0
 public FuzzyOr(FuzzyTerm op1, FuzzyTerm op2, FuzzyTerm op3)
 {
     terms.Add(op1);
     terms.Add(op2);
     terms.Add(op3);
 }