Defuzzifier
Defuzzifier
¶
Bases: ABC
Abstract class for defuzzifiers.
related
Functions¶
__repr__
¶
__repr__() -> str
Return the code to construct the defuzzifier in Python.
Returns:
Type | Description |
---|---|
str
|
code to construct the defuzzifier in Python. |
__str__
¶
__str__() -> str
Return the code to construct the defuzzifier in the FuzzyLite Language.
Returns:
Type | Description |
---|---|
str
|
code to construct the defuzzifier in the FuzzyLite Language. |
configure
¶
configure(parameters: str) -> None
Configure the defuzzifier with the parameters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parameters |
str
|
space-separated parameter values |
required |
defuzzify
abstractmethod
¶
Defuzzify the term using the range [minimum,maximum]
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
term |
Term
|
term to defuzzify, typically an Aggregated term |
required |
minimum |
float
|
minimum value of the range |
required |
maximum |
float
|
maximum value of the range |
required |
Returns:
Type | Description |
---|---|
Scalar
|
defuzzified value of the term. |