fuzzy.tnorm: Fuzzy tnorm

Description Usage Arguments Value Author(s) Examples

View source: R/FuzzyOperation.R

Description

To conduct t-norm operation for given fuzzy member functions

Usage

1
fuzzy.tnorm(operator, ...)

Arguments

operator

The t-norm operator such as min, prod

...

fuzzy membership functions

Value

A membership function, which is the t-norm 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.tnorm(prod, mf1, mf2)
tmp1 <- evalmf(1:10, mf1)
tmp2 <- evalmf(1:10, mf2)
tmp3 <- evalmf(1:10, mf3)
identical(tmp3, tmp1*tmp2)
tmp3

Example output

[1] TRUE
              [,1]
 [1,] 0.0057036984
 [2,] 0.2500000000
 [3,] 0.9466886356
 [4,] 0.4995121951
 [5,] 0.0588234733
 [6,] 0.0121951220
 [7,] 0.0038910469
 [8,] 0.0015958856
 [9,] 0.0007299064
[10,] 0.0002081599

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

Related to fuzzy.tnorm in FuzzyR...