# DiscontinuousFuzzyNumber-class: **EXPERIMENTAL** S4 Class Representing a Fuzzy Number with... In FuzzyNumbers: Tools to Deal with Fuzzy Numbers

## Description

Discontinuity information increase the precision of some numerical integration-based algorithms, e.g. of `piecewiseLinearApproximation`. It also allows for making more valid fuzzy number plots.

## Slots

`a1`, `a2`, `a3`, `a4`, `lower`, `upper`, `left`, `right`:

Inherited from the `FuzzyNumber` class.

`discontinuities.left`:

nondecreasingly sorted numeric vector with elements in (0,1); discontinuity points for the left side generating function

`discontinuities.right`:

nondecreasingly sorted numeric vector with elements in (0,1); discontinuity points for the right side generating function

`discontinuities.lower`:

nondecreasingly sorted numeric vector with elements in (0,1); discontinuity points for the lower alpha-cut bound generator

`discontinuities.upper`:

nondecreasingly sorted numeric vector with elements in (0,1); discontinuity points for the upper alpha-cut bound generator

## Extends

Class `FuzzyNumber`, directly.

`DiscontinuousFuzzyNumber` for a convenient constructor

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

## Examples

 ```1 2``` ```showClass("DiscontinuousFuzzyNumber") showMethods(classes="DiscontinuousFuzzyNumber") ```

### Example output

```Class "DiscontinuousFuzzyNumber" [package "FuzzyNumbers"]

Slots:

Name:   discontinuities.left discontinuities.right discontinuities.lower
Class:               numeric               numeric               numeric

Name:  discontinuities.upper                    a1                    a2
Class:               numeric               numeric               numeric

Name:                     a3                    a4                 lower
Class:               numeric               numeric              function

Name:                  upper                  left                 right
Class:              function              function              function

Extends: "FuzzyNumber"
Function: [ (package base)
x="DiscontinuousFuzzyNumber", i="character"

Function "arctan2e":
<not an S4 generic function>

Function "arctan2m":
<not an S4 generic function>
Function: distance (package FuzzyNumbers)
e1="DiscontinuousFuzzyNumber", e2="DiscontinuousFuzzyNumber"
e1="DiscontinuousFuzzyNumber", e2="FuzzyNumber"
e1="FuzzyNumber", e2="DiscontinuousFuzzyNumber"

Function "fuzzyNumberUnification":
<not an S4 generic function>
Function: integrateAlpha (package FuzzyNumbers)
object="DiscontinuousFuzzyNumber", which="character", from="numeric", to="numeric"

Function "intersectionY":
<not an S4 generic function>
Function: plot (package graphics)
x="DiscontinuousFuzzyNumber", y="missing"
```

FuzzyNumbers documentation built on Nov. 15, 2021, 5:09 p.m.