コード例 #1
0
 /// <summary>
 /// Hedge function for determining the hedge "slightly"
 /// </summary>
 /// <param name="mu">The FuzzyNumber to be changed by hedge function</param>
 /// <returns>FuzzyNumber after hedge</returns>
 public static FuzzyNumber Slightly(FuzzyNumber mu)
 {
     return(new FuzzyNumber(Math.Pow(mu.Value, 1.7)));
 }
コード例 #2
0
 /// <summary>
 /// Hedge function for determining the hedge "little"
 /// </summary>
 /// <param name="mu">The FuzzyNumber to be changed by hedge function</param>
 /// <returns>FuzzyNumber after hedge</returns>
 public static FuzzyNumber Little(FuzzyNumber mu)
 {
     return(new FuzzyNumber(Math.Pow(mu.Value, 1.3)));
 }
コード例 #3
0
 /// <summary>
 /// Hedge function for determining the hedge "very"
 /// </summary>
 /// <param name="mu">The FuzzyNumber to be changed by hedge function</param>
 /// <returns>FuzzyNumber after hedge</returns>
 public static FuzzyNumber Very(FuzzyNumber mu)
 {
     return(new FuzzyNumber(Math.Pow(mu.Value, 20)));
 }