# 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

Inheritance graph
[legend]
Collaboration diagram for NLAIFUZZY::CFuzzyRuleSet:

Collaboration graph
[legend]
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 (char *text) 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.


Member Function Documentation

void NLAIFUZZY::CFuzzyRuleSet::addRule ( CFuzzyRule * rule )
 

Definition at line 39 of file fuzzyruleset.cpp.

const NLAIC::IBasicType * NLAIFUZZY::CFuzzyRuleSet::clone ( void ) const [virtual]
 

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

Reimplemented from NLAIC::IBasicType.

Definition at line 96 of file fuzzyruleset.cpp.

void NLAIFUZZY::CFuzzyRuleSet::getDebugString ( char * txt ) 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.

Reimplemented from NLAIC::IBasicType.

Definition at line 83 of file fuzzyruleset.cpp.

const NLAIC::CIdentType & NLAIFUZZY::CFuzzyRuleSet::getType ( void ) 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).

Reimplemented from NLAIC::IBasicType.

Definition at line 91 of file fuzzyruleset.cpp.

void NLAIFUZZY::CFuzzyRuleSet::init ( NLAIAGENT::IObjectIA * p ) [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.

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.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 71 of file fuzzyruleset.cpp.

const NLAIC::IBasicType * NLAIFUZZY::CFuzzyRuleSet::newInstance ( void ) const [virtual]
 

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

Reimplemented from NLAIC::IBasicType.

Definition at line 102 of file fuzzyruleset.cpp.

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

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 44 of file fuzzyruleset.cpp.

void NLAIFUZZY::CFuzzyRuleSet::save ( NLMISC::IStream & os ) [virtual]
 

Save the class in a stream.

Reimplemented from 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.

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

Definition at line 39 of file fuzzyruleset.h.

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

Definition at line 42 of file fuzzyruleset.h.


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