SigmoidalLT Class Reference

LinguisticTerm with sigmoidal membership function. More...

#include <SigmoidalLT.h>

Inheritance diagram for SigmoidalLT:

LinguisticTerm SigmoidalFS FuzzySet FuzzySet RCObject RCObject

List of all members.

Public Member Functions

 SigmoidalLT (const std::string name, const RCPtr< LinguisticVariable > &parent, 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.


Detailed Description

LinguisticTerm with sigmoidal membership function.

This class implements a LinguisticTerm with membership function:

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

SigmoidalFS.png

Definition at line 32 of file SigmoidalLT.h.


Constructor & Destructor Documentation

SigmoidalLT::SigmoidalLT ( const std::string  name,
const RCPtr< LinguisticVariable > &  parent,
double  paramC = 1,
double  paramOffset = 0 
)

Constructor.

Parameters:
name the name
parent the associated linguistic variable
paramC scale factor for y-axis
paramOffset position of inflection point

Definition at line 13 of file SigmoidalLT.cpp.


Member Function Documentation

double SigmoidalLT::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)

Reimplemented from SigmoidalFS.

Definition at line 66 of file SigmoidalLT.h.

References SigmoidalFS::getMax().

double SigmoidalLT::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)

Reimplemented from SigmoidalFS.

Definition at line 56 of file SigmoidalLT.h.

References SigmoidalFS::getMin().


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