FuzzyVariable class
Class for representing a fuzzy linguistic variable (FLV). A FLV is the composition of one or more fuzzy sets to represent a concept or domain qualitatively. For example fuzzs sets "Dumb", "Average", and "Clever" are members of the fuzzy linguistic variable "IQ".
@author {@link https://github.com/Mugen87|Mugen87}
Constructors
Properties
Methods
-
add(
FuzzySet fuzzySet) → FuzzyVariable - Adds the given fuzzy set to this FLV.
-
defuzzifyCentroid(
[int samples = 10]) → double - Defuzzifies the FLV using the "Centroid" method.
-
defuzzifyMaxAv(
) → double - Defuzzifies the FLV using the "Average of Maxima" (MaxAv) method.
-
fromJSON(
Map< String, dynamic> json) → FuzzyVariable - Restores this instance from the given JSON object.
-
fuzzify(
double value) → FuzzyVariable? - Fuzzifies a value by calculating its degree of membership in each of this variable's fuzzy sets.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
FuzzySet fuzzySet) → FuzzyVariable - Removes the given fuzzy set from this FLV.
-
toJSON(
) → Map< String, dynamic> - Transforms this instance into a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited