Skip to main content

weighted_average

Function weighted_average 

Source
pub fn weighted_average(fuzzy_set: &FuzzySet) -> Option<f64>
Expand description

Weighted Average defuzzification for singleton fuzzy sets.

Computes: Σ(x_i * μ(x_i)) / Σμ(x_i)