Method | Description | |
---|---|---|
AddLabel ( |
Adds a linguistic label to the variable. 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). |
|
ClearLabels ( ) : void |
Removes all the linguistic labels of the linguistic variable.
|
|
GetLabel ( string labelName ) : |
Returns an existing label from the linguistic variable.
|
|
GetLabelMembership ( string labelName, float value ) : float |
Calculate the membership of a given value to a given label. Used to evaluate linguistics clauses like "X IS A", where X is a value and A is a linguistic label.
|
|
LinguisticVariable ( string name, float start, float end ) : System |
Initializes a new instance of the LinguisticVariable class.
|
public AddLabel ( |
||
label | A |
|
return | void |
public GetLabel ( string labelName ) : |
||
labelName | string | Name of the label to retrieve. |
return |
public GetLabelMembership ( string labelName, float value ) : float | ||
labelName | string | Label (fuzzy set) to evaluate value's membership. |
value | float | Value which label's membership will to be calculated. |
return | float |
public LinguisticVariable ( string name, float start, float end ) : System | ||
name | string | Name of the linguistic variable. |
start | float | Left limit of the valid variable range. |
end | float | Right limit of the valid variable range. |
return | System |