ZeusMath-Library  2.0.4
zeus::TFuzzyLogic Class Reference

#include <FuzzyLogic.h>

Inheritance diagram for zeus::TFuzzyLogic:

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

Detailed Description

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

Constructor & Destructor Documentation

§ TFuzzyLogic()

TFuzzyLogic::TFuzzyLogic ( EFuzzyInferenceMethod  eMethod = etMamdani)

Creates a fuzzy logic object

§ ~TFuzzyLogic()

TFuzzyLogic::~TFuzzyLogic ( )
virtual

Destroys the fuzzy logic object

Member Function Documentation

§ addAndCondition()

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

§ getConclusionSet()

TFuzzySet TFuzzyLogic::getConclusionSet ( )

Gets the conclusion set of all added fuzzy conditions

§ reset()

void TFuzzyLogic::reset ( )

Resets the logic for a new conclusion

Member Data Documentation

§ m_eMethod

EFuzzyInferenceMethod zeus::TFuzzyLogic::m_eMethod
protected

Method of the conclusion.

§ m_lstResults

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

Result Fuzzy set.


The documentation for this class was generated from the following files:


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Wed Sep 14 2016 06:46:06