Constructors
| Constructor | Description |
|---|---|
IntFuzzyInterval IntFuzzyInterval( Int value ) | Constructor from an integer. Initializes all the four values with the “value” value. |
Initialization
| Initialization | Description |
|---|---|
Expression of type {x1, x2, x3, x4} | A variable of type IntFuzzyInterval may be initialized by an expression of type {x1, x2, x3, x4}, where x1, x2, x3, and x4 are values of type Int. Example: Int x1 = 5; IntFuzzyInterval intFuzzyInt = {x1, 200, 300, 5000}; |
Operators
| Operators | Description |
|---|---|
+ | A binary addition operator that adds a value of type IntFuzzyInterval to a value of type Int. Returns a value of type IntFuzzyInterval. |
+ | A binary addition operator that adds a value of type IntFuzzyInterval to a value of type DistInterval. Returns a value of type IntFuzzyInterval. |
- | A binary subtraction operator that subtracts a value of type Int from a value of type IntFuzzyInterval. Returns a value of type IntFuzzyInterval. |
- | A binary subtraction operator that subtracts a value of type IntFuzzyInterval from a value of type Int. Returns a value of type IntFuzzyInterval. |
- | A binary subtraction operator that subtracts a value of type DistInterval from a value of type IntFuzzyInterval. Returns a value of type IntFuzzyInterval. |
- | A binary subtraction operator that subtracts a value of type IntFuzzyInterval from a value of type DistInterval. Returns a value of type IntFuzzyInterval. |
* | A binary multiplication operator that multiplies a value of type IntFuzzyInterval by a value of type Int. Returns a value of type IntFuzzyInterval. |
* | A binary multiplication operator that multiplies a value of type IntFuzzyInterval by a value of type DistInterval. Returns a value of type IntFuzzyInterval. |
/ | A binary division operator that divides a value of type IntFuzzyInterval by a value of type Int. Returns a value of type IntFuzzyInterval. |
