Learn R Programming

FuzzyNumbers (version 0.4-7)

DiscontinuousFuzzyNumber: Creates a Fuzzy Number with Possibly Discontinuous Side Functions or Alpha-Cut Bounds

Description

For convenience, objects of class '>DiscontinuousFuzzyNumber may be created with this function.

Usage

DiscontinuousFuzzyNumber(
  a1,
  a2,
  a3,
  a4,
  lower = function(a) rep(NA_real_, length(a)),
  upper = function(a) rep(NA_real_, length(a)),
  left = function(x) rep(NA_real_, length(x)),
  right = function(x) rep(NA_real_, length(x)),
  discontinuities.left = numeric(0),
  discontinuities.right = numeric(0),
  discontinuities.lower = numeric(0),
  discontinuities.upper = numeric(0)
)

Arguments

a1

a number specyfing left bound of the support

a2

a number specyfing left bound of the core

a3

a number specyfing right bound of the core

a4

a number specyfing right bound of the support

lower

lower alpha-cut bound generator; a nondecreasing function [0,1]->[0,1] or returning NA_real_

upper

upper alpha-cut bound generator; a nonincreasing function [0,1]->[1,0] or returning NA_real_

left

lower side function generator; a nondecreasing function [0,1]->[0,1] or returning NA_real_

right

upper side function generator; a nonincreasing function [0,1]->[1,0] or returning NA_real_

discontinuities.left

nondecreasingly sorted numeric vector with elements in (0,1), possibly of length 0

discontinuities.right

nondecreasingly sorted numeric vector with elements in (0,1), possibly of length 0

discontinuities.lower

nondecreasingly sorted numeric vector with elements in (0,1), possibly of length 0

discontinuities.upper

nondecreasingly sorted numeric vector with elements in (0,1), possibly of length 0

Value

Object of class '>DiscontinuousFuzzyNumber

See Also

Other DiscontinuousFuzzyNumber-method: DiscontinuousFuzzyNumber-class, Extract, distance(), integrateAlpha(), plot()