Esempio n. 1
0
 public FzAND(FuzzyTerm fuzzyTerm1, FuzzyTerm fuzzyTerm2, FuzzyTerm fuzzyTerm3, FuzzyTerm fuzzyTerm4)
     : this(fuzzyTerm1, fuzzyTerm2, fuzzyTerm3)
 {
     fuzzyTerms.Add(fuzzyTerm4.Clone());
 }
Esempio n. 2
0
 public FzOR(FuzzyTerm fuzzyTerm1, FuzzyTerm fuzzyTerm2, FuzzyTerm fuzzyTerm3)
     : this(fuzzyTerm1, fuzzyTerm2)
 {
     fuzzyTerms.Add(fuzzyTerm3.Clone());
 }
Esempio n. 3
0
 public FzAND(FuzzyTerm fuzzyTerm1, FuzzyTerm fuzzyTerm2)
 {
     fuzzyTerms.Add(fuzzyTerm1.Clone());
     fuzzyTerms.Add(fuzzyTerm2.Clone());
 }
Esempio n. 4
0
 // Adds a rule to the module
 public void AddRule(FuzzyTerm antecedent, FuzzyTerm consequence) => rules.Add(new FuzzyRule(antecedent, consequence));