fuzzylite  6.0
A Fuzzy Logic Control Library in C++
fl::IntegralDefuzzifier Class Reference

The IntegralDefuzzifier class is the base class for defuzzifiers which integrate over the fuzzy set. More...

#include <IntegralDefuzzifier.h>

Inheritance diagram for fl::IntegralDefuzzifier:
Collaboration diagram for fl::IntegralDefuzzifier:

Public Member Functions

 IntegralDefuzzifier (int resolution=defaultResolution())
 
virtual ~IntegralDefuzzifier () FL_IOVERRIDE
 
virtual void setResolution (int resolution)
 Sets the resolution of the defuzzifier. More...
 
virtual int getResolution () const
 Gets the resolution of the defuzzifier. More...
 
- Public Member Functions inherited from fl::Defuzzifier
 Defuzzifier ()
 
virtual ~Defuzzifier ()
 
virtual std::string className () const =0
 Returns the name of the class of the defuzzifier. More...
 
virtual Defuzzifierclone () 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...
 

Static Public Member Functions

static void setDefaultResolution (int defaultResolution)
 Sets the default resolution for integral-based defuzzifiers. More...
 
static int defaultResolution ()
 Gets the default resolution for integral-based defuzzifiers. More...
 

Detailed Description

The IntegralDefuzzifier class is the base class for defuzzifiers which integrate over the fuzzy set.

Author
Juan Rada-Vilela, Ph.D.
Since
4.0

Definition at line 31 of file IntegralDefuzzifier.h.

Constructor & Destructor Documentation

◆ IntegralDefuzzifier()

fl::IntegralDefuzzifier::IntegralDefuzzifier ( int  resolution = defaultResolution())
explicit

◆ ~IntegralDefuzzifier()

virtual fl::IntegralDefuzzifier::~IntegralDefuzzifier ( )
virtual

Member Function Documentation

◆ defaultResolution()

static int fl::IntegralDefuzzifier::defaultResolution ( )
static

Gets the default resolution for integral-based defuzzifiers.

Returns
the default resolution for integral-based defuzzifiers

◆ getResolution()

virtual int fl::IntegralDefuzzifier::getResolution ( ) const
virtual

Gets the resolution of the defuzzifier.

The resolution refers to the number of divisions in which the range [minimum,maximum] is divided in order to integrate the area under the curve

Returns
the resolution of the defuzzifier

◆ setDefaultResolution()

static void fl::IntegralDefuzzifier::setDefaultResolution ( int  defaultResolution)
static

Sets the default resolution for integral-based defuzzifiers.

Parameters
defaultResolutionis the default resolution for integral-based defuzzifiers

◆ setResolution()

virtual void fl::IntegralDefuzzifier::setResolution ( int  resolution)
virtual

Sets the resolution of the defuzzifier.

The resolution refers to the number of divisions in which the range [minimum,maximum] is divided in order to integrate the area under the curve

Parameters
resolutionis the resolution of the defuzzifier

The documentation for this class was generated from the following file: