Skip to main content
A type for representing a fuzzy integer interval of integers. The fuzzy interval is represented by four values of type Int, each of which should be greater than or equal to the previous value.

Constructors

ConstructorDescription
IntFuzzyInterval IntFuzzyInterval( Int value )Constructor from an integer. Initializes all the four values with the “value” value.

Initialization

InitializationDescription
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

OperatorsDescription
+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.