Learn R Programming

FuzzyR (version 2.3.2)

fuzzy.t: Fuzzy t-norm/t-conorm operation

Description

To conduct t-norm or t-conorm operation for given fuzzy member functions

Usage

fuzzy.t(operator, ...)

Arguments

operator

The supported t-norm/t-conorm operators are min, prod, max

...

fuzzy membership functions

Value

A membership function, which is the t-norm/t-conorm of membership functions

Examples

Run this code
# NOT RUN {
mf1 <- genmf(gbellmf, c(1,2,3))
mf2 <- genmf(gbellmf, c(4,5,6))
mf3 <- fuzzy.t(max, mf1, mf2)
tmp1 <- evalmf(1:10, mf1)
tmp2 <- evalmf(1:10, mf2)
tmp3 <- evalmf(1:10, mf3)
identical(tmp3, pmax(tmp1, tmp2))
tmp3
# }

Run the code above in your browser using DataLab