Constructor
| Signature | Description |
|---|---|
DistFuzzyInterval DistFuzzyInterval( Distance value ) | Constructor from a value of type Distance. Initializes all the four values with the “value” value. |
Initialization
A variable of typeDistFuzzyInterval may be initialized with an expression of type {d1, d2, d3, d4}, where d1, d2, d3, and d4 are values of type Distance.
Example:
Operators
| Operator | Description |
|---|---|
+ | A binary addition operator that adds a value of type DistFuzzyInterval to a value of type Distance. Returns a value of type DistFuzzyInterval. |
+ | A binary addition operator that adds a value of type DistFuzzyInterval to a value of type DistInterval. Returns a value of type DistFuzzyInterval. |
- | A binary subtraction operator that subtracts a value of type Distance from a value of type DistFuzzyInterval. Returns a value of type DistFuzzyInterval. |
- | A binary subtraction operator that subtracts a value of type DistFuzzyInterval from a value of type Distance. Returns a value of type DistFuzzyInterval. |
- | A binary subtraction operator that subtracts a value of type DistInterval from a value of type DistFuzzyInterval. Returns a value of type DistFuzzyInterval. |
- | A binary subtraction operator that subtracts a value of type DistFuzzyInterval from a value of type DistInterval. Returns a value of type DistFuzzyInterval. |
* | A binary multiplication operator that multiplies a value of type DistFuzzyInterval by a value of type Int. Returns a value of type DistFuzzyInterval. |
* | A binary multiplication operator that multiplies a value of type DistFuzzyInterval by a value of type DistInterval. Returns a value of type DistFuzzyInterval. |
/ | A binary division operator that divides a value of type DistFuzzyInterval by a value of type Int. Returns a value of type DistFuzzyInterval. |
