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

#include <fuzzyset.h>

Inheritance diagram for NLAIFUZZY::CTrapezeFuzzySet:

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

Public Methods

 CTrapezeFuzzySet (char *, double p1, double p2, double p3, double p4)
 CTrapezeFuzzySet (const CTrapezeFuzzySet &)
 ~CTrapezeFuzzySet ()
virtual double membership (double val)
virtual bool isIn (double val)
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 IdTrapezeFuzzySet

Private Attributes

double _X1
double _X2
double _X3
double _X4

Constructor & Destructor Documentation

NLAIFUZZY::CTrapezeFuzzySet::CTrapezeFuzzySet char *   ,
double    p1,
double    p2,
double    p3,
double    p4
 

Definition at line 663 of file fuzzyset.cpp.

References _X1, _X2, _X3, and _X4.

Referenced by clone, isEqual, and newInstance.

NLAIFUZZY::CTrapezeFuzzySet::CTrapezeFuzzySet const CTrapezeFuzzySet &   
 

Definition at line 671 of file fuzzyset.cpp.

References _X1, _X2, _X3, and _X4.

NLAIFUZZY::CTrapezeFuzzySet::~CTrapezeFuzzySet  
 

Definition at line 700 of file fuzzyset.cpp.


Member Function Documentation

double NLAIFUZZY::CTrapezeFuzzySet::center   [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 732 of file fuzzyset.cpp.

References _X1, _X2, and _X3.

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

References clone, and CTrapezeFuzzySet.

Referenced by clone.

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

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

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

References IdTrapezeFuzzySet.

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

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

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

Definition at line 771 of file fuzzyset.cpp.

References _X1, _X2, _X3, _X4, and CTrapezeFuzzySet.

bool NLAIFUZZY::CTrapezeFuzzySet::isIn double    val [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 722 of file fuzzyset.cpp.

References _X1, and _X4.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 762 of file fuzzyset.cpp.

double NLAIFUZZY::CTrapezeFuzzySet::membership double    val [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 704 of file fuzzyset.cpp.

References _X1, _X2, _X3, and _X4.

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

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

Implements NLAIC::IBasicType.

Definition at line 742 of file fuzzyset.cpp.

References CTrapezeFuzzySet.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 779 of file fuzzyset.cpp.

References NLAIAGENT::IObjectIA::ProcessRun.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 753 of file fuzzyset.cpp.

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

double NLAIFUZZY::CTrapezeFuzzySet::surface   [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 727 of file fuzzyset.cpp.

References _X1, _X2, _X3, and _X4.


Member Data Documentation

double NLAIFUZZY::CTrapezeFuzzySet::_X1 [private]
 

Definition at line 153 of file fuzzyset.h.

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

double NLAIFUZZY::CTrapezeFuzzySet::_X2 [private]
 

Definition at line 154 of file fuzzyset.h.

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

double NLAIFUZZY::CTrapezeFuzzySet::_X3 [private]
 

Definition at line 155 of file fuzzyset.h.

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

double NLAIFUZZY::CTrapezeFuzzySet::_X4 [private]
 

Definition at line 156 of file fuzzyset.h.

Referenced by CTrapezeFuzzySet, getDebugString, init, isEqual, isIn, membership, save, and surface.

const NLAIC::CIdentType CTrapezeFuzzySet::IdTrapezeFuzzySet [static]
 

Initial value:

Definition at line 386 of file static_def_init.cpp.

Referenced by getType.


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