From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNLAIFUZZY_1_1CFuzzyRule.html | 972 +++++++++++++++++++++ 1 file changed, 972 insertions(+) create mode 100644 docs/doxygen/nel/classNLAIFUZZY_1_1CFuzzyRule.html (limited to 'docs/doxygen/nel/classNLAIFUZZY_1_1CFuzzyRule.html') diff --git a/docs/doxygen/nel/classNLAIFUZZY_1_1CFuzzyRule.html b/docs/doxygen/nel/classNLAIFUZZY_1_1CFuzzyRule.html new file mode 100644 index 00000000..3c3b4efa --- /dev/null +++ b/docs/doxygen/nel/classNLAIFUZZY_1_1CFuzzyRule.html @@ -0,0 +1,972 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLAIFUZZY::CFuzzyRule Class Reference

This class used for fuzzy inferences. +More... +

+#include <fuzzyrule.h> +

+

Inheritance diagram for NLAIFUZZY::CFuzzyRule: +

+ +NLAILOGIC::CondAnd +NLAILOGIC::IBaseCond +NLAILOGIC::IBaseBoolType +NLAIAGENT::IObjetOp +NLAIAGENT::IObjectIA +NLAIAGENT::IBasicObjectIA +NLAIC::IBasicInterface +NLAIC::IBasicType +NLAIC::IPointerGestion +NLMISC::IStreamable +NLMISC::IClassable + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CFuzzyRule (char *comment=NULL)
 CFuzzyRule (const CFuzzyRule &)
 CFuzzyRule (const NLAILOGIC::CondAnd &)
 CFuzzyRule (std::list< NLAILOGIC::IBaseBoolType * > &conds, char *comment, float threshold=0)
 ~CFuzzyRule ()
void addConc (CFuzzyVar *, IFuzzySet *)
void addCond (CFuzzyVar *, char *)
void addConc (CFuzzyVar *, char *)
virtual void save (NLMISC::IStream &os)
 Save the class in a stream. More...

virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...

virtual void getDebugString (std::string &) const
 This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...

const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

virtual const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...

bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator== (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual void init (NLAIAGENT::IObjectIA *)
 Init method alows to init the attribut of an object. More...


Static Public Attributes

const NLAIC::CIdentType IdFuzzyRule

Private Attributes

std::vector< CFuzzyVar * > _Vars
std::vector< IFuzzySet * > _Sets
char * _Comment
float _Threshold
+

Detailed Description

+This class used for fuzzy inferences. +

+ +

+Definition at line 38 of file fuzzyrule.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + +
NLAIFUZZY::CFuzzyRule::CFuzzyRule char *   comment = NULL
+
+ + + + + +
+   + + +

+ +

+Definition at line 34 of file fuzzyrule.cpp. +

+References _Comment, and comment. +

+Referenced by clone, and newInstance.

+

+ + + + +
+ + + + + + + + + + +
NLAIFUZZY::CFuzzyRule::CFuzzyRule const CFuzzyRule &  
+
+ + + + + +
+   + + +

+ +

+Definition at line 58 of file fuzzyrule.cpp. +

+References _Comment, and _Threshold.

+

+ + + + +
+ + + + + + + + + + +
NLAIFUZZY::CFuzzyRule::CFuzzyRule const NLAILOGIC::CondAnd 
+
+ + + + + +
+   + + +

+ +

+Definition at line 71 of file fuzzyrule.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NLAIFUZZY::CFuzzyRule::CFuzzyRule std::list< NLAILOGIC::IBaseBoolType * > &   conds,
char *   comment,
float   threshold = 0
+
+ + + + + +
+   + + +

+ +

+Definition at line 45 of file fuzzyrule.cpp. +

+References _Comment, _Threshold, and comment.

+

+ + + + +
+ + + + + + + + + +
NLAIFUZZY::CFuzzyRule::~CFuzzyRule  
+
+ + + + + +
+   + + +

+ +

+Definition at line 75 of file fuzzyrule.cpp. +

+References _Comment.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAIFUZZY::CFuzzyRule::addConc CFuzzyVar ,
char *  
+
+ + + + + +
+   + + +

+ +

+Definition at line 102 of file fuzzyrule.cpp. +

+References _Sets, and _Vars.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAIFUZZY::CFuzzyRule::addConc CFuzzyVar ,
IFuzzySet 
+
+ + + + + +
+   + + +

+ +

+Definition at line 96 of file fuzzyrule.cpp. +

+References _Sets, and _Vars.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAIFUZZY::CFuzzyRule::addCond CFuzzyVar ,
char *  
+
+ + + + + +
+   + + +

+ +

+Definition at line 82 of file fuzzyrule.cpp. +

+References _Sets, and _Vars.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::IBasicType * NLAIFUZZY::CFuzzyRule::clone   const [virtual]
+
+ + + + + +
+   + + +

+This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. +

+ +

+Implements NLAIC::IBasicType. +

+Definition at line 167 of file fuzzyrule.cpp. +

+References CFuzzyRule.

+

+ + + + +
+ + + + + + + + + + +
void NLAIFUZZY::CFuzzyRule::getDebugString std::string &   const [virtual]
+
+ + + + + +
+   + + +

+This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. +

+ +

+Implements NLAIC::IBasicType. +

+Definition at line 113 of file fuzzyrule.cpp. +

+References _Sets, _Vars, and NLAIC::stringGetBuild.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::CIdentType & NLAIFUZZY::CFuzzyRule::getType   const [virtual]
+
+ + + + + +
+   + + +

+getType return a unique string how represente the class, it can be the name of the class. +

+This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry). +

+Implements NLAIC::IBasicType. +

+Definition at line 203 of file fuzzyrule.cpp. +

+References IdFuzzyRule.

+

+ + + + +
+ + + + + + + + + + +
void NLAIFUZZY::CFuzzyRule::init NLAIAGENT::IObjectIA  [virtual]
+
+ + + + + +
+   + + +

+Init method alows to init the attribut of an object. +

+the maparmetre is in more time a list of IObjectIA. +

+Reimplemented from NLAIAGENT::IObjectIA. +

+Definition at line 214 of file fuzzyrule.cpp. +

+References NLAIC::IPointerGestion::release.

+

+ + + + +
+ + + + + + + + + + +
bool NLAIFUZZY::CFuzzyRule::isEqual const NLAIAGENT::IBasicObjectIA  a const
+
+ + + + + +
+   + + +

+ +

+Definition at line 192 of file fuzzyrule.cpp.

+

+ + + + +
+ + + + + + + + + +
bool NLAIFUZZY::CFuzzyRule::isTrue   const [virtual]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Implements NLAIAGENT::IObjetOp. +

+Definition at line 198 of file fuzzyrule.cpp. +

+References _Threshold, and NLAILOGIC::CondAnd::truthValue.

+

+ + + + +
+ + + + + + + + + + +
void NLAIFUZZY::CFuzzyRule::load NLMISC::IStream  is [virtual]
+
+ + + + + +
+   + + +

+Load the class from a stream. +

+ +

+Implements NLAIC::IBasicInterface. +

+Definition at line 145 of file fuzzyrule.cpp. +

+References _Sets, _Vars, NLAIC::CIdentTypeAlloc::allocClass, and NLMISC::IStream::serial.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::IBasicType * NLAIFUZZY::CFuzzyRule::newInstance   const [virtual]
+
+ + + + + +
+   + + +

+This function allow a new instance, that mean that the class is a class factory. +

+ +

+Implements NLAIC::IBasicType. +

+Definition at line 173 of file fuzzyrule.cpp. +

+References CFuzzyRule.

+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::IObjetOp * NLAIFUZZY::CFuzzyRule::operator== NLAIAGENT::IObjetOp  a const [virtual]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 208 of file fuzzyrule.cpp. +

+References x.

+

+ + + + +
+ + + + + + + + + +
const NLAIAGENT::IObjectIA::CProcessResult & NLAIFUZZY::CFuzzyRule::run   [virtual]
+
+ + + + + +
+   + + +

+Some where Run method define the process of the agen. +

+ +

+Implements NLAILOGIC::IBaseBoolType. +

+Definition at line 179 of file fuzzyrule.cpp. +

+References _Sets, _Vars, and NLAILOGIC::CondAnd::truthValue.

+

+ + + + +
+ + + + + + + + + + +
void NLAIFUZZY::CFuzzyRule::save NLMISC::IStream  os [virtual]
+
+ + + + + +
+   + + +

+Save the class in a stream. +

+ +

+Implements NLAIC::IBasicInterface. +

+Definition at line 134 of file fuzzyrule.cpp. +

+References _Sets, and _Vars.

+


Member Data Documentation

+

+ + + + +
+ + +
char* NLAIFUZZY::CFuzzyRule::_Comment [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 42 of file fuzzyrule.h. +

+Referenced by CFuzzyRule, and ~CFuzzyRule.

+

+ + + + +
+ + +
std::vector<IFuzzySet *> NLAIFUZZY::CFuzzyRule::_Sets [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 41 of file fuzzyrule.h. +

+Referenced by addConc, addCond, getDebugString, load, run, and save.

+

+ + + + +
+ + +
float NLAIFUZZY::CFuzzyRule::_Threshold [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 43 of file fuzzyrule.h. +

+Referenced by CFuzzyRule, and isTrue.

+

+ + + + +
+ + +
std::vector<CFuzzyVar *> NLAIFUZZY::CFuzzyRule::_Vars [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 40 of file fuzzyrule.h. +

+Referenced by addConc, addCond, getDebugString, load, run, and save.

+

+ + + + +
+ + +
const NLAIC::CIdentType CFuzzyRule::IdFuzzyRule [static] +
+
+ + + + + +
+   + + +

+ +

+Referenced by getType.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1