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

#include <fuzzyset.h>

Inheritance diagram for NLAIFUZZY::CTriangleFuzzySet:

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

Public Methods

 CTriangleFuzzySet (char *, double, double, double)
 CTriangleFuzzySet (const CTriangleFuzzySet &)
virtual double membership (double)
virtual bool isIn (double)
virtual double surface ()
virtual double center ()
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 NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. 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...

virtual bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual const CProcessResult & run ()
 Some where Run method define the process of the agen. More...

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


Static Public Attributes

const NLAIC::CIdentType IdTriangleFuzzySet

Private Attributes

double _X1
double _X2
double _X3

Constructor & Destructor Documentation

NLAIFUZZY::CTriangleFuzzySet::CTriangleFuzzySet char *   ,
double   ,
double   ,
double   
 

Definition at line 428 of file fuzzyset.cpp.

References _X1, _X2, and _X3.

Referenced by clone, isEqual, and newInstance.

NLAIFUZZY::CTriangleFuzzySet::CTriangleFuzzySet const CTriangleFuzzySet &   
 

Definition at line 435 of file fuzzyset.cpp.

References _X1, _X2, and _X3.


Member Function Documentation

double NLAIFUZZY::CTriangleFuzzySet::center   [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 493 of file fuzzyset.cpp.

References _X1, _X2, and _X3.

const NLAIC::IBasicType * NLAIFUZZY::CTriangleFuzzySet::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 500 of file fuzzyset.cpp.

References clone, and CTriangleFuzzySet.

Referenced by clone.

void NLAIFUZZY::CTriangleFuzzySet::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 530 of file fuzzyset.cpp.

References NLAIFUZZY::IFuzzySet::_Name, _X1, _X2, _X3, and NLAIC::stringGetBuild.

const NLAIC::CIdentType & NLAIFUZZY::CTriangleFuzzySet::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 511 of file fuzzyset.cpp.

References IdTriangleFuzzySet.

void NLAIFUZZY::CTriangleFuzzySet::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 442 of file fuzzyset.cpp.

References _X1, _X2, _X3, NLAIC::IBasicType::getDebugString, params, and NLAIC::IPointerGestion::release.

bool NLAIFUZZY::CTriangleFuzzySet::isEqual const NLAIAGENT::IBasicObjectIA   a const [virtual]
 

Definition at line 535 of file fuzzyset.cpp.

References _X1, _X2, _X3, and CTriangleFuzzySet.

bool NLAIFUZZY::CTriangleFuzzySet::isIn double    [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 483 of file fuzzyset.cpp.

References _X1, and _X2.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 523 of file fuzzyset.cpp.

References _X1, _X2, _X3, and NLMISC::IStream::serial.

double NLAIFUZZY::CTriangleFuzzySet::membership double    [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 468 of file fuzzyset.cpp.

References _X1, _X2, and _X3.

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

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

Implements NLAIC::IBasicType.

Definition at line 505 of file fuzzyset.cpp.

References CTriangleFuzzySet.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 540 of file fuzzyset.cpp.

References NLAIAGENT::IObjectIA::ProcessRun.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 515 of file fuzzyset.cpp.

References _X1, _X2, _X3, and NLMISC::IStream::serial.

double NLAIFUZZY::CTriangleFuzzySet::surface   [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 488 of file fuzzyset.cpp.

References _X2, and _X3.


Member Data Documentation

double NLAIFUZZY::CTriangleFuzzySet::_X1 [private]
 

Definition at line 125 of file fuzzyset.h.

Referenced by center, CTriangleFuzzySet, getDebugString, init, isEqual, isIn, load, membership, and save.

double NLAIFUZZY::CTriangleFuzzySet::_X2 [private]
 

Definition at line 126 of file fuzzyset.h.

Referenced by center, CTriangleFuzzySet, getDebugString, init, isEqual, isIn, load, membership, save, and surface.

double NLAIFUZZY::CTriangleFuzzySet::_X3 [private]
 

Definition at line 127 of file fuzzyset.h.

Referenced by center, CTriangleFuzzySet, getDebugString, init, isEqual, load, membership, save, and surface.

const NLAIC::CIdentType CTriangleFuzzySet::IdTriangleFuzzySet [static]
 

Initial value:

Definition at line 373 of file static_def_init.cpp.

Referenced by getType.


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