Skip to main content

defuzzify

Function defuzzify 

Source
pub fn defuzzify(
    fuzzy_set: &FuzzySet,
    method: DefuzzificationMethod,
) -> Option<f64>
Expand description

Defuzzify a fuzzy set using the specified method.

Returns the crisp output value, or None if the fuzzy set is empty or the method cannot be applied.