SigmoidalFS Class Reference

FuzzySet with sigmoidal membership function. More...

#include <SigmoidalFS.h>

Inheritance diagram for SigmoidalFS:

FuzzySet RCObject SigmoidalLT

List of all members.

Public Member Functions

 SigmoidalFS (double paramC=1, double paramOffset=0)
 Constructor.
double getMin () const
 Returns the lower boundary of the support.
double getMax () const
 Returns the upper boundary of the support.
double getThreshold () const
 Returns the threshold for which the membership function (for which the x axis is the asymptote) is set to be zero in the numerical intergration.
void setThreshold (double thr)
 Sets the threshold for which the membership function (for which the x axis is the asymptote) is set to be zero in the numerical intergration.
void setParams (double paramC, double paramOffset)
 Sets the parameters of the fuzzy set.


Detailed Description

FuzzySet with sigmoidal membership function.

This class implements a FuzzySet with membership function:

\[ \mu(x) = \frac{1}{1 + e^{-a(x-b)}} \]

SigmoidalFS.png

Definition at line 32 of file SigmoidalFS.h.


Constructor & Destructor Documentation

SigmoidalFS::SigmoidalFS ( double  paramC = 1,
double  paramOffset = 0 
) [inline]

Constructor.

Parameters:
paramC scale factor for y-axis
paramOffset position of inflection point

Definition at line 41 of file SigmoidalFS.h.


Member Function Documentation

double SigmoidalFS::getMax (  )  const [inline, virtual]

Returns the upper boundary of the support.

Returns:
the max. value for which the membership function is nonzero (or exceeds a given threshold)

Implements FuzzySet.

Reimplemented in SigmoidalLT.

Definition at line 71 of file SigmoidalFS.h.

Referenced by SigmoidalLT::getMax().

double SigmoidalFS::getMin (  )  const [inline, virtual]

Returns the lower boundary of the support.

Returns:
the min. value for which the membership function is nonzero (or exceeds a given threshold)

Implements FuzzySet.

Reimplemented in SigmoidalLT.

Definition at line 55 of file SigmoidalFS.h.

Referenced by SigmoidalLT::getMin().

double SigmoidalFS::getThreshold (  )  const [inline]

Returns the threshold for which the membership function (for which the x axis is the asymptote) is set to be zero in the numerical intergration.

Returns:
the threshold

Definition at line 81 of file SigmoidalFS.h.

void SigmoidalFS::setParams ( double  paramC,
double  paramOffset 
) [inline]

Sets the parameters of the fuzzy set.

Parameters:
paramC 
paramOffset 

Definition at line 29 of file SigmoidalFS.cpp.

void SigmoidalFS::setThreshold ( double  thr  ) 

Sets the threshold for which the membership function (for which the x axis is the asymptote) is set to be zero in the numerical intergration.

Parameters:
thr the threshold

Definition at line 21 of file SigmoidalFS.cpp.


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