#include <ComposedFS.h>

Public Types | |
| enum | Operator { MAX, MIN, PROD, PROBOR, USER, SIMPLIFY } |
Public Member Functions | |
| ComposedFS (Operator op, const RCPtr< FuzzySet > &f1, const RCPtr< FuzzySet > &f2) | |
| Constructor. | |
| ComposedFS (Operator op, const RCPtr< FuzzySet > &f1, const RCPtr< FuzzySet > &f2, double(*userFunction)(double, double)) | |
| Constructor. | |
| ComposedFS (const ComposedFS &) | |
| Copy constructor. | |
| void | setOperator (Operator o) |
| Sets the operator. | |
| double | getMin () const |
| Returns the lower boundary of the support. | |
| double | getMax () const |
| Returns the upper boundary of the support. | |
A composed FuzzySet makes it possible to do some calculations on fuzzy sets, e.g. to connect a constant fuzzy set and a sigmoid fuzzy set using the minimum fuction which would result in a sigmoid fuzzy set which is cutted at the value of the constant fuzzy set.
Definition at line 30 of file ComposedFS.h.
| enum ComposedFS::Operator |
Constructor.
| op | the operator used (e.g. MIN or MAX) to connect the fuzzy sets | |
| f1 | the first fuzzy set | |
| f2 | the second fuzzy set |
Definition at line 24 of file ComposedFS.cpp.
| ComposedFS::ComposedFS | ( | Operator | op, | |
| const RCPtr< FuzzySet > & | f1, | |||
| const RCPtr< FuzzySet > & | f2, | |||
| double(*)(double, double) | userFunction | |||
| ) |
Constructor.
| op | the operator used (e.g. MIN or MAX) to connect the fuzzy sets | |
| f1 | the first fuzzy set | |
| f2 | the second fuzzy set | |
| userFunction | the funcion connecting both fuzzy sets (a user definded operator which is used instead of one of the stanard operators) |
Definition at line 15 of file ComposedFS.cpp.
| ComposedFS::ComposedFS | ( | const ComposedFS & | rhs | ) | [inline] |
| double ComposedFS::getMax | ( | ) | const [virtual] |
Returns the upper boundary of the support.
Implements FuzzySet.
Reimplemented in ComposedLT.
Definition at line 90 of file ComposedFS.cpp.
References MAX, MIN, PROBOR, PROD, and USER.
Referenced by ComposedLT::getMax().
| double ComposedFS::getMin | ( | ) | const [virtual] |
Returns the lower boundary of the support.
Implements FuzzySet.
Reimplemented in ComposedLT.
Definition at line 65 of file ComposedFS.cpp.
References MAX, MIN, PROBOR, PROD, and USER.
Referenced by ComposedLT::getMin().
| void ComposedFS::setOperator | ( | Operator | o | ) | [inline] |
Sets the operator.
| o | the operator to be used to connect two fuzzy sets |
Definition at line 78 of file ComposedFS.h.