This function defuzzifies '>FuzzyData
into single value.
The '>FuzzyData
can only contain one fuzzy number, otherwise the defuzzification is not possible.
defuzziffy(fuzzyData, type = "mean")# S4 method for FuzzyData
defuzziffy(fuzzyData, type = "mean")
A "character"
representing type of defuzzification. Currently implemented methods are
"Yager"
, "modalValue"
, "modalValueDominancy"
, "mean"
. The default value is "mean"
.
A numeric value of defuzzified value, based on deffuzification method.
The triangular fuzzy numbers \(\tilde{A}\) represented as triplet \([a1,a2,a3]\) are defuzzified using these
methods:
"Yager"
:
$$def (\tilde{A}) = \frac{(a2-a1)(a1+2/3(a2-a1)+(a3-a2)(a2+1/3(a3-a2))}{(a2-a1)+(a3-a2))}$$
"modalvalue"
:
$$def (\tilde{A}) = a2$$
"modalValueDominancy"
:
$$def(\tilde{A}) = (a1 + 4*a2 + a3)/6$$
"mean"
:
$$def(\tilde{A}) = (a1 + a2 + a3)/3$$.