Public Member Functions | Protected Attributes

zeus::TFuzzyLogic Class Reference

#include <FuzzyLogic.h>

List of all members.

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< TFuzzySetm_lstResults
 Result Fuzzy set.

Detailed Description

The fuzzy logic is used to process the inferences of a fuzzy logic model


Constructor & Destructor Documentation

TFuzzyLogic::TFuzzyLogic ( EFuzzyInferenceMethod  eMethod = etMamdani )

Creates a fuzzy logic object

TFuzzyLogic::~TFuzzyLogic (  ) [virtual]

Destroys the fuzzy logic object


Member Function Documentation

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

Parameters:
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


Member Data Documentation

Method of the conclusion.

TSingleLinkedList<TFuzzySet> zeus::TFuzzyLogic::m_lstResults [protected]

Result Fuzzy set.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:32:27