public class DiscretizationIntervalExt extends DiscretizationInterval
| Constructor | Description |
|---|---|
DiscretizationIntervalExt(int leftType,
int rightType,
double left,
double right,
SimpleField preferenceIntensityDegree) |
Specialized constructor for "normal" (that is not
FUZZY) intervals which names are not important |
DiscretizationIntervalExt(java.lang.String name,
int leftType,
int rightType,
double fuzzyLeft,
double left,
double right,
double fuzzyRight,
SimpleField preferenceIntensityDegree) |
Constructor initializing all interval's fields
|
DiscretizationIntervalExt(java.lang.String name,
int leftType,
int rightType,
double left,
double right,
SimpleField preferenceIntensityDegree) |
Specialized constructor for "normal" (that is not
FUZZY) intervals which names are important |
| Modifier and Type | Method | Description |
|---|---|---|
SimpleField |
getPreferenceIntensityDegree() |
Gets degree of the intensity of preference associated with this interval.
|
void |
setPreferenceIntensityDegree(SimpleField preferenceIntensityDegree) |
Sets the degree of the intensity of preference associated with this interval.
|
java.lang.String |
toString() |
Coverts this extended discretization interval to
string |
containspublic DiscretizationIntervalExt(java.lang.String name,
int leftType,
int rightType,
double fuzzyLeft,
double left,
double right,
double fuzzyRight,
SimpleField preferenceIntensityDegree)
name - the name of this intervalleftType - type of left interval boundrightType - type of right interval boundfuzzyLeft - bottom left bound of this intervalleft - (top) left bound of this intervalright - (top) right bound of this intervalfuzzyRight - bottom right bound of this intervalpreferenceIntensityDegree - Intensity of preference associated with this interval.
Can be object of type CardinalField, IntegerField or FloatField.
Duplicate of given value is stored in this class.InvalidTypeException - when type of the degree of the intensity of preference is different than
CardinalField, IntegerField and FloatFieldpublic DiscretizationIntervalExt(int leftType,
int rightType,
double left,
double right,
SimpleField preferenceIntensityDegree)
FUZZY) intervals which names are not importantleftType - type of left interval bound (should be CLOSED or OPEN)rightType - type of right interval bound (should be CLOSED or OPEN)left - left bound of this intervalright - right bound of this intervalpreferenceIntensityDegree - Intensity of preference associated with this interval.
Can be object of type CardinalField, IntegerField or FloatField.
Duplicate of given value is stored in this class.InvalidTypeException - when type of the degree of the intensity of preference is different than
CardinalField, IntegerField and FloatFieldInvalidValueException - if type of left or right interval boundary is FUZZYpublic DiscretizationIntervalExt(java.lang.String name,
int leftType,
int rightType,
double left,
double right,
SimpleField preferenceIntensityDegree)
FUZZY) intervals which names are importantname - name of this intervalleftType - type of left interval bound (should be CLOSED or OPEN)rightType - type of right interval bound (should be CLOSED or OPEN)left - left bound of this intervalright - right bound of this intervalpreferenceIntensityDegree - Intensity of preference associated with this interval.
Can be object of type CardinalField, IntegerField or FloatField.
Duplicate of given value is stored in this class.InvalidTypeException - when type of the degree of the intensity of preference is different than
CardinalField, IntegerField and FloatFieldInvalidValueException - if type of left or right interval boundary is fuzzypublic SimpleField getPreferenceIntensityDegree()
public void setPreferenceIntensityDegree(SimpleField preferenceIntensityDegree)
preferenceIntensityDegree - Degree of the intensity of preference which will be associated
with this interval. Can be object of type CardinalField, IntegerField
or FloatField.InvalidTypeException - when type of the degree of the intensity of preference is different than
CardinalField, IntegerField and FloatFieldpublic java.lang.String toString()
stringtoString in class DiscretizationIntervalObject.toString()