Example #1
0
 /// <summary>
 ///     Initializes a new instance of the FzAnd class using three terms.
 /// </summary>
 /// <param name="op1">Fuzzy term one.</param>
 /// <param name="op2">Fuzzy term two.</param>
 /// <param name="op3">Fuzzy term three.</param>
 public FzAnd(FuzzyTerm op1, FuzzyTerm op2, FuzzyTerm op3)
 {
     Terms = new List <FuzzyTerm> {
         op1.Clone(), op2.Clone(), op3.Clone()
     };
 }
 /// <summary>
 ///     Initializes a new instance of the FzOr class using two terms.
 /// </summary>
 /// <param name="op1">The first fuzzy term.</param>
 /// <param name="op2">The second fuzzy term.</param>
 public FzOr(FuzzyTerm op1, FuzzyTerm op2)
 {
     Terms = new List <FuzzyTerm> {
         op1.Clone(), op2.Clone()
     };
 }