Skip to content

LargestOfMaximum

LargestOfMaximum

Bases: IntegralDefuzzifier

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

related

Functions

defuzzify

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

Compute the largest value of the maximum membership function of a 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

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