#include <FuzzyLogic.h>
Public Member Functions | |
| TFuzzyLogic (EFuzzyInferenceMethod eMethod=etMamdani) | |
| virtual | ~TFuzzyLogic () |
| void | reset () |
| void | addAndCondition (const Float &rSignal1, const TFuzzySet &rSet1, const Float &rSignal2, const TFuzzySet &rSet2, TFuzzySet setOutputMembership) |
| TFuzzySet | getConclusionSet () |
Protected Attributes | |
| EFuzzyInferenceMethod | m_eMethod |
| Method of the conclusion. | |
| TSingleLinkedList< TFuzzySet > | m_lstResults |
| Result Fuzzy set. | |
The fuzzy logic is used to process the inferences of a fuzzy logic model
| TFuzzyLogic::TFuzzyLogic | ( | EFuzzyInferenceMethod | eMethod = etMamdani ) |
Creates a fuzzy logic object
| TFuzzyLogic::~TFuzzyLogic | ( | ) | [virtual] |
Destroys the fuzzy logic object
| void TFuzzyLogic::addAndCondition | ( | const Float & | rSignal1, |
| const TFuzzySet & | rSet1, | ||
| const Float & | rSignal2, | ||
| const TFuzzySet & | rSet2, | ||
| TFuzzySet | setOutputMembership | ||
| ) |
adds an and-condition, like if signal1 is set1 AND signal2 is set2 THEN ...
The result will be stored in the result list
| rSignal1 | : Input Signal 1 |
| rSet1 | : Membership function of signal 1 |
| rSignal2 | : Input Signal 2 |
| rSet2 | : Membership function of signal 2 |
| setOutputMembership | : Membership function of the output |
| TFuzzySet TFuzzyLogic::getConclusionSet | ( | ) |
Gets the conclusion set of all added fuzzy conditions
| void TFuzzyLogic::reset | ( | ) |
Resets the logic for a new conclusion
EFuzzyInferenceMethod zeus::TFuzzyLogic::m_eMethod [protected] |
Method of the conclusion.
TSingleLinkedList<TFuzzySet> zeus::TFuzzyLogic::m_lstResults [protected] |
Result Fuzzy set.