예제 #1
0
파일: FzAND.cs 프로젝트: funkjunky/Raven
 ///<summary>
 ///constructor using four terms
 ///</summary>
 ///<param name="op1"></param>
 ///<param name="op2"></param>
 ///<param name="op3"></param>
 ///<param name="op4"></param>
 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());
 }
예제 #2
0
파일: FzOR.cs 프로젝트: funkjunky/Raven
 ///<summary>
 ///constructor using three terms
 ///</summary>
 ///<param name="op1"></param>
 ///<param name="op2"></param>
 ///<param name="op3"></param>
 public FzOR(FuzzyTerm op1, FuzzyTerm op2, FuzzyTerm op3)
 {
     Terms.Add(op1.Clone());
     Terms.Add(op2.Clone());
     Terms.Add(op3.Clone());
 }
예제 #3
0
파일: FzAND.cs 프로젝트: funkjunky/Raven
 ///<summary>
 ///constructor using two terms
 ///</summary>
 ///<param name="op1"></param>
 ///<param name="op2"></param>
 public FzAND(FuzzyTerm op1, FuzzyTerm op2)
 {
     Terms.Add(op1.Clone());
     Terms.Add(op2.Clone());
 }
예제 #4
0
 ///<summary>
 ///add a rule
 ///</summary>
 ///<param name="antecedent"></param>
 ///<param name="consequence"></param>
 public void AddRule(FuzzyTerm antecedent, FuzzyTerm consequence)
 {
     Rules.Add(new FuzzyRule(antecedent, consequence));
 }