FuzzyApproximation: Function for approximation with the help of methods other...

View source: R/FuzzyApproximation.R

FuzzyApproximationR Documentation

Function for approximation with the help of methods other than in FuzzyNumbers package

Description

FuzzyApproximation approximates the given fuzzy number.

Usage

FuzzyApproximation(value, method = "ExpectedValueCore", ...)

Arguments

value

Fuzzy number to approximate.

method

The selected approximation method.

...

Additional parameters passed to other functions (like approximation method from the FuzzyNumbers package).

Details

The function approximates the fuzzy number given by value with the method selected by method. The following approximations are possible: ExpectedValueCore–preserving the expected value and the core of value, TriangularSupportDist–constructs the triangular fuzzy number based on minimization of DpqDistance, preserving the support of value, and the approximation methods from the FuzzyNumbers package (namely: Naive, NearestEuclidean, ExpectedIntervalPreserving, SupportCoreRestricted).

The input value should be given by a fuzzy number described by classes from FuzzyNumbers package.

Value

The output is a fuzzy number (triangular or trapezoidal one) described by classes from FuzzyNumbers package.

Examples


library(FuzzyNumbers)

# prepare complex fuzzy number

A <- FuzzyNumber(-5, 3, 6, 20, left=function(x)
pbeta(x,0.4,3),
right=function(x) 1-x^(1/4),
lower=function(alpha) qbeta(alpha,0.4,3),
upper=function(alpha) (1-alpha)^4)

# find approximation

FuzzyApproximation (A)



ZEP documentation built on June 23, 2025, 9:07 a.m.