Skip to content

DrasticSum

DrasticSum

Bases: SNorm

SNorm to compute the drastic sum of any two values.

Equation

\(a \oplus b=\begin{cases} \max(a,b) & \mbox{if } \min(a,b)=0 \cr 1 & \mbox{otherwise} \end{cases}\)

related

Functions

compute

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

Compute the drastic sum of 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 \oplus b=\begin{cases} \max(a,b) & \mbox{if } \min(a,b)=0 \cr 1 & \mbox{otherwise} \end{cases}\)