# 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::CFuzzyRuleSet Class Reference

#include <fuzzyruleset.h>

Inheritance diagram for NLAIFUZZY::CFuzzyRuleSet:

NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CFuzzyRuleSet (char *comment=NULL)
void addRule (CFuzzyRule *)
virtual const CProcessResult & run ()
 Some where Run method define the process of the agen. 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 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 bool isEqual (const NLAIAGENT::IBasicObjectIA &) const
virtual void init (NLAIAGENT::IObjectIA *)
 Init method alows to init the attribut of an object. More...


Static Public Attributes

const NLAIC::CIdentType idFuzzyRuleSet

Private Attributes

char * _Comment
std::list< CFuzzyRule * > _Rules

Constructor & Destructor Documentation

NLAIFUZZY::CFuzzyRuleSet::CFuzzyRuleSet char *    comment = NULL
 

Definition at line 30 of file fuzzyruleset.cpp.

References _Comment, and comment.

Referenced by clone, and newInstance.


Member Function Documentation

void NLAIFUZZY::CFuzzyRuleSet::addRule CFuzzyRule  
 

Definition at line 39 of file fuzzyruleset.cpp.

References _Rules.

Referenced by init.

const NLAIC::IBasicType * NLAIFUZZY::CFuzzyRuleSet::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 96 of file fuzzyruleset.cpp.

References CFuzzyRuleSet.

void NLAIFUZZY::CFuzzyRuleSet::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 83 of file fuzzyruleset.cpp.

References _Comment, _Rules, and NLAIC::stringGetBuild.

const NLAIC::CIdentType & NLAIFUZZY::CFuzzyRuleSet::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 91 of file fuzzyruleset.cpp.

References idFuzzyRuleSet.

void NLAIFUZZY::CFuzzyRuleSet::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 113 of file fuzzyruleset.cpp.

References addRule, NLAIAGENT::IBaseGroupType::getFront, params, NLAIAGENT::IBaseGroupType::popFront, and NLAIAGENT::IBaseGroupType::size.

bool NLAIFUZZY::CFuzzyRuleSet::isEqual const NLAIAGENT::IBasicObjectIA   const [virtual]
 

Definition at line 108 of file fuzzyruleset.cpp.

void NLAIFUZZY::CFuzzyRuleSet::load NLMISC::IStream   is [virtual]
 

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 71 of file fuzzyruleset.cpp.

const NLAIC::IBasicType * NLAIFUZZY::CFuzzyRuleSet::newInstance   const [virtual]
 

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

Implements NLAIC::IBasicType.

Definition at line 102 of file fuzzyruleset.cpp.

References CFuzzyRuleSet.

const NLAIAGENT::IObjectIA::CProcessResult & NLAIFUZZY::CFuzzyRuleSet::run   [virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 44 of file fuzzyruleset.cpp.

References _Rules.

void NLAIFUZZY::CFuzzyRuleSet::save NLMISC::IStream   os [virtual]
 

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 56 of file fuzzyruleset.cpp.


Member Data Documentation

char* NLAIFUZZY::CFuzzyRuleSet::_Comment [private]
 

Definition at line 38 of file fuzzyruleset.h.

Referenced by CFuzzyRuleSet, and getDebugString.

std::list<CFuzzyRule *> NLAIFUZZY::CFuzzyRuleSet::_Rules [private]
 

Definition at line 39 of file fuzzyruleset.h.

Referenced by addRule, getDebugString, and run.

const NLAIC::CIdentType CFuzzyRuleSet::idFuzzyRuleSet [static]
 

Referenced by getType.


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