|
LinguisticVariableAddLabel Method
|
Adds a linguistic label to the variable.
Namespace:
Accord.Fuzzy
Assembly:
Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.8.0
Syntax Exceptions Exception | Condition |
---|
NullReferenceException | The fuzzy set was not initialized. |
ArgumentException | The linguistic label name already exists in the linguistic variable. |
ArgumentException | The left limit of the fuzzy set can not be lower than the linguistic variable's starting point. |
ArgumentException | "The right limit of the fuzzy set can not be greater than the linguistic variable's ending point." |
Remarks Linguistic labels are fuzzy sets (
FuzzySet). Each
label of the variable must have a unique name. The range of the label
(left and right limits) cannot be greater than
the linguistic variable range (start/end).
See Also