Fuzzy difference operations are set operations that generalize Boolean difference operations. This family of functions implements some operators that help us to define different fuzzy difference operations. These operators receive two numerical values in [0, 1] as input and calculates another numerical value in [0, 1] as output.
Arguments
- x
A numerical vector whose values are in [0, 1].
- y
A numerical vector whose values are in [0, 1].
Details
These functions calculate the resulting membership degree of a fuzzy difference operator applied on two numerical values in the interval [0, 1]. The following fuzzy difference operators are available:
f_diff()
: The standard fuzzy set difference operator defined as the intersection ofx
and the complement ofy
, that is,min(x, 1 - y)
.f_bound_diff()
: The fuzzy bounded difference operator defined asx
minusy
with upper bound equal to 0, that is,max(0, x - y)
.f_symm_diff()
: The fuzzy symmetric difference operator defined as the union of the difference ofx
andy
and the difference ofy
andx
, that is,max(f_diff(x, y), f_diff(y, x))
.f_abs_diff()
: The fuzzy absolute difference operator defined as the absolute difference ofx
andy
, that is,abs(x - y)
.
The name of these functions can be used in the parameter dtype
of the spa_difference()
function.