|
|
|
|
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 ReferenceThis class used for fuzzy inferences.
More...
#include <fuzzyrule.h>
Inheritance diagram for NLAIFUZZY::CFuzzyRule:
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::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
virtual const NLAIC::IBasicType * | clone () 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::IBasicType * | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. More...
|
virtual const NLAIAGENT::IObjectIA::CProcessResult & | run () |
| 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::IObjetOp * | operator== (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 |
) |
|
|
NLAIFUZZY::CFuzzyRule::CFuzzyRule |
( |
const CFuzzyRule & |
|
) |
|
|
NLAIFUZZY::CFuzzyRule::~CFuzzyRule |
( |
|
) |
|
|
Member Function Documentation
void NLAIFUZZY::CFuzzyRule::addConc |
( |
CFuzzyVar * |
, |
|
|
char * |
|
|
) |
|
|
void NLAIFUZZY::CFuzzyRule::addCond |
( |
CFuzzyVar * |
, |
|
|
char * |
|
|
) |
|
|
void NLAIFUZZY::CFuzzyRule::getDebugString |
( |
std::string & |
|
) |
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. |
bool NLAIFUZZY::CFuzzyRule::isTrue |
( |
|
) |
const [virtual] |
|
Member Data Documentation
char* NLAIFUZZY::CFuzzyRule::_Comment [private]
|
|
std::vector<IFuzzySet *> NLAIFUZZY::CFuzzyRule::_Sets [private]
|
|
float NLAIFUZZY::CFuzzyRule::_Threshold [private]
|
|
std::vector<CFuzzyVar *> NLAIFUZZY::CFuzzyRule::_Vars [private]
|
|
The documentation for this class was generated from the following files:
|
|