Skip to content

SmallestOfMaximum

SmallestOfMaximum

Bases: IntegralDefuzzifier

Integral defuzzifier that computes the smallest value of the maximum membership function of a fuzzy set.

related

Functions

defuzzify

defuzzify(term: Term, minimum: float, maximum: float) -> Scalar

Compute the smallest value of the maximum membership function in the fuzzy set.

The defuzzification process integrates over the fuzzy set using the given range. The integration algorithm is the midpoint rectangle method (https://en.wikipedia.org/wiki/Rectangle_method).

Parameters:

Name Type Description Default
term Term

fuzzy set to defuzzify

required
minimum float

value to start defuzzification

required
maximum float

value to end defuzzification

required

Returns:

Type Description
Scalar

smallest \(x\)-coordinate of the maximum membership function value in the fuzzy set