#include <BellLT.h>

Public Member Functions | |
| BellLT (const std::string name, const RCPtr< LinguisticVariable > &parent, double sigma, double offset, double scale=1) | |
| Constructor. | |
| double | defuzzify (double errRel=ERR_RELATIVE, int recursionMax=RECURSION_MAX) const |
| Defuzzifies the set by returning the Bell's offset if the support is not bounded by the associated linguistic variable, and by dertermination of the center of gravity otherwise. | |
| double | getMin () const |
| Returns the lower boundary of the support. | |
| double | getMax () const |
| Returns the upper boundary of the support. | |
This class implements a LinguisticTerm with membership function:
Definition at line 35 of file BellLT.h.
| BellLT::BellLT | ( | const std::string | name, | |
| const RCPtr< LinguisticVariable > & | parent, | |||
| double | sigma, | |||
| double | offset, | |||
| double | scale = 1 | |||
| ) |
Constructor.
| name | the name | |
| parent | the associated linguistic variable | |
| sigma | controlls the width of the Gaussian | |
| offset | position of the center of the peak | |
| scale | scales the whole function |
Definition at line 13 of file BellLT.cpp.
| double BellLT::defuzzify | ( | double | errRel = ERR_RELATIVE, |
|
| int | recursionMax = RECURSION_MAX | |||
| ) | const |
Defuzzifies the set by returning the Bell's offset if the support is not bounded by the associated linguistic variable, and by dertermination of the center of gravity otherwise.
| errRel | relative approximation error that is tollerated during numerical integration | |
| recursionMax | max. depth of recursion during numerical integration (i.e. max. steps) |
Reimplemented from LinguisticTerm.
Definition at line 20 of file BellLT.cpp.
References FuzzySet::defuzzify(), BellFS::defuzzify(), BellFS::getMax(), and BellFS::getMin().
| double BellLT::getMax | ( | ) | const [inline, virtual] |
Returns the upper boundary of the support.
Reimplemented from BellFS.
Definition at line 81 of file BellLT.h.
References BellFS::getMax().
| double BellLT::getMin | ( | ) | const [inline, virtual] |
Returns the lower boundary of the support.
Reimplemented from BellFS.
Definition at line 71 of file BellLT.h.
References BellFS::getMin().