#include <CustomizedFS.h>

Public Member Functions | |
| CustomizedFS (double(*userFunction)(double), double min, double max) | |
| Constructor. | |
| void | setMF (double(*userFunction)(double)) |
| Sets the membership function of the fuzzy set. | |
| double | getMin () const |
| Returns the lower boundary of the support. | |
| double | getMax () const |
| Returns the upper boundary of the support. | |
This class implements a FuzzySet with an user definded membership function.
Definition at line 22 of file CustomizedFS.h.
| CustomizedFS::CustomizedFS | ( | double(*)(double) | userFunction, | |
| double | min, | |||
| double | max | |||
| ) | [inline] |
Constructor.
| userFunction | membership function defined by the user | |
| min | the min. value for which the membership function is nonzero (or exceeds a given threshold) | |
| max | the max. value for which the membership function is nonzero (or exceeds a given threshold) |
Definition at line 34 of file CustomizedFS.h.
| double CustomizedFS::getMax | ( | ) | const [inline, virtual] |
Returns the upper boundary of the support.
Implements FuzzySet.
Reimplemented in CustomizedLT.
Definition at line 64 of file CustomizedFS.h.
Referenced by CustomizedLT::getMax().
| double CustomizedFS::getMin | ( | ) | const [inline, virtual] |
Returns the lower boundary of the support.
Implements FuzzySet.
Reimplemented in CustomizedLT.
Definition at line 54 of file CustomizedFS.h.
Referenced by CustomizedLT::getMin().
| void CustomizedFS::setMF | ( | double(*)(double) | userFunction | ) | [inline] |
Sets the membership function of the fuzzy set.
| userFunction | membership function defined by the user |
Definition at line 44 of file CustomizedFS.h.