Skip to content

BoundedDifference

BoundedDifference

Bases: TNorm

TNorm to compute the bounded difference between any two values.

Equation

\(a \otimes b=\max(0, a + b - 1)\)

related

Functions

compute

compute(a: Scalar, b: Scalar) -> Scalar

Compute the bounded difference between two membership function values.

Parameters:

Name Type Description Default
a Scalar

membership function value

required
b Scalar

membership function value

required

Returns:

Type Description
Scalar

\(a \otimes b=\max(0, a + b - 1)\)