The Defuzzifier class is the abstract class for defuzzifiers. More...
#include <Defuzzifier.h>
Public Member Functions | |
Defuzzifier () | |
virtual | ~Defuzzifier () |
virtual std::string | className () const =0 |
Returns the name of the class of the defuzzifier. More... | |
virtual Defuzzifier * | clone () const =0 |
Creates a clone of the defuzzifier. More... | |
virtual Complexity | complexity (const Term *term) const =0 |
Computes the complexity of defuzzifying the given term. More... | |
virtual scalar | defuzzify (const Term *term, scalar minimum, scalar maximum) const =0 |
Defuzzifies the given fuzzy term utilizing the range [minimum,maximum] More... | |
The Defuzzifier class is the abstract class for defuzzifiers.
Definition at line 37 of file Defuzzifier.h.
|
inline |
Definition at line 40 of file Defuzzifier.h.
|
inlinevirtual |
Definition at line 43 of file Defuzzifier.h.
References FL_DEFAULT_COPY_AND_MOVE.
|
pure virtual |
Returns the name of the class of the defuzzifier.
Implemented in fl::WeightedSumCustom, fl::WeightedAverageCustom, fl::WeightedAverage, fl::WeightedSum, fl::LargestOfMaximum, fl::MeanOfMaximum, fl::SmallestOfMaximum, fl::Bisector, and fl::Centroid.
|
pure virtual |
Creates a clone of the defuzzifier.
Implemented in fl::WeightedSumCustom, fl::WeightedAverageCustom, fl::WeightedAverage, fl::WeightedSum, fl::LargestOfMaximum, fl::MeanOfMaximum, fl::SmallestOfMaximum, fl::Bisector, and fl::Centroid.
|
pure virtual |
Computes the complexity of defuzzifying the given term.
term | is the term to defuzzify |
Implemented in fl::WeightedSumCustom, fl::WeightedAverageCustom, fl::WeightedAverage, fl::WeightedSum, fl::LargestOfMaximum, fl::MeanOfMaximum, fl::SmallestOfMaximum, fl::Bisector, and fl::Centroid.
|
pure virtual |
Defuzzifies the given fuzzy term utilizing the range [minimum,maximum]
term | is the term to defuzzify, typically an Aggregated term |
minimum | is the minimum value of the range |
maximum | is the maximum value of the range |
Implemented in fl::WeightedSumCustom, fl::WeightedAverageCustom, fl::WeightedAverage, fl::WeightedSum, fl::LargestOfMaximum, fl::MeanOfMaximum, fl::SmallestOfMaximum, fl::Bisector, and fl::Centroid.