fuzzy.optimise: Fuzzy optimisation

Description Usage Arguments Value Author(s) Examples

View source: R/FuzzyOperation.R

Description

to get an approximation of the maximum membership grade for a given membership function in the domain of [lower, upper]

Usage

1
fuzzy.optimise(fuzzy.mf, lower, upper)

Arguments

fuzzy.mf

fuzzy member function

lower

lower bound of the input

upper

upper bound of the input

Value

an approximation of the maximum membership grade in the given domain

Author(s)

Chao Chen

Examples

1
2
3
4
mf <- genmf(gbellmf, c(1,2,3))
x <- seq(4, 5, by=0.01)
max(evalmf(x, mf))
fuzzy.optimise(mf, 4, 5)

Example output

[1] 0.5
[1] 0.4999995

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