Esempio n. 1
0
 public void T4Fuzzification()
 {
     LinguisticVariable =
         LinguisticVariable.fromJson(JsonLingVar);
     LinguisticVariable.RangeCalibration(1, 0.01);
     LinguisticVariable.Fuzzification(15);
     Assert.AreEqual(
         1,
         LinguisticVariable.membershipFunctions.Find(
             mf => mf.membershipValue.linguistic.Equals("HardFight"))
         .membershipValue.fuzzy
         );
 }