fuzzy.tconorm: Fuzzy t-conorm

Description Usage Arguments Value Author(s) Examples

View source: R/FuzzyOperation.R

Description

To conduct t-conorm operation for given fuzzy member functions

Usage

1
fuzzy.tconorm(operator, ...)

Arguments

operator

The t-conorm operator such as max

...

fuzzy membership functions

Value

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

Author(s)

Chao Chen

Examples

1
2
3
4
5
6
7
8
mf1 <- genmf(gbellmf, c(1,2,3))
mf2 <- genmf(gbellmf, c(4,5,6))
mf3 <- fuzzy.tconorm(max, mf1, mf2)
tmp1 <- evalmf(1:10, mf1)
tmp2 <- evalmf(1:10, mf2)
tmp3 <- evalmf(1:10, mf3)
identical(tmp3, pmax(tmp1, tmp2))
tmp3

Example output

[1] TRUE
            [,1]
 [1,] 0.09696287
 [2,] 0.50000000
 [3,] 1.00000000
 [4,] 0.99902439
 [5,] 0.99999905
 [6,] 1.00000000
 [7,] 0.99999905
 [8,] 0.99902439
 [9,] 0.94668864
[10,] 0.50000000

FuzzyR documentation built on May 19, 2021, 9:06 a.m.

Related to fuzzy.tconorm in FuzzyR...