public FzAND(FuzzyTerm op1, FuzzyTerm op2, FuzzyTerm op3, FuzzyTerm op4)
 {
     Terms.Add(op1.Clone());
     Terms.Add(op2.Clone());
     Terms.Add(op3.Clone());
     Terms.Add(op4.Clone());
 }
 public FzAND(FuzzyTerm op1, FuzzyTerm op2)
 {
     Terms.Add(op1.Clone());
     Terms.Add(op2.Clone());
 }
 public FuzzyRule(FuzzyTerm ant,
                  FuzzyTerm con)
 {
     Antecedent  = ant.Clone();
     Consequence = con.Clone();
 }
 FuzzyRule(FuzzyRule fr)
 {
     Antecedent  = fr.Antecedent.Clone();
     Consequence = fr.Consequence.Clone();
 }
 public FzOR(FuzzyTerm op1, FuzzyTerm op2, FuzzyTerm op3)
 {
     Terms.Add(op1.Clone());
     Terms.Add(op2.Clone());
     Terms.Add(op3.Clone());
 }
Exemple #6
0
 public void AddRule(FuzzyTerm antecedent, FuzzyTerm consequence)
 {
     Rules.Add(new FuzzyRule(antecedent, consequence));
 }