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

#include <fuzzyset.h>

Inheritance diagram for NLAIFUZZY::CLeftFuzzySet:

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

Public Methods

 CLeftFuzzySet (char *, double p1, double p2, double p3)
 CLeftFuzzySet (const CLeftFuzzySet &)
 ~CLeftFuzzySet ()
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 IdLeftFuzzySet

Private Attributes

double _X1
double _X2
double _X3

Constructor & Destructor Documentation

NLAIFUZZY::CLeftFuzzySet::CLeftFuzzySet char *   ,
double    p1,
double    p2,
double    p3
 

Definition at line 549 of file fuzzyset.cpp.

References _X1, _X2, and _X3.

Referenced by clone, isEqual, and newInstance.

NLAIFUZZY::CLeftFuzzySet::CLeftFuzzySet const CLeftFuzzySet &   
 

Definition at line 556 of file fuzzyset.cpp.

References _X1, _X2, and _X3.

NLAIFUZZY::CLeftFuzzySet::~CLeftFuzzySet  
 

Definition at line 583 of file fuzzyset.cpp.


Member Function Documentation

double NLAIFUZZY::CLeftFuzzySet::center   [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 610 of file fuzzyset.cpp.

References _X1, _X2, and _X3.

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

References CLeftFuzzySet, and clone.

Referenced by clone.

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

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

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

References IdLeftFuzzySet.

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

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

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

Definition at line 648 of file fuzzyset.cpp.

References _X1, _X2, _X3, and CLeftFuzzySet.

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

Implements NLAIFUZZY::IFuzzySet.

Definition at line 600 of file fuzzyset.cpp.

References _X1, and _X3.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 639 of file fuzzyset.cpp.

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

Implements NLAIFUZZY::IFuzzySet.

Definition at line 587 of file fuzzyset.cpp.

References _X1, _X2, and _X3.

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

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

Implements NLAIC::IBasicType.

Definition at line 620 of file fuzzyset.cpp.

References CLeftFuzzySet.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 653 of file fuzzyset.cpp.

References NLAIAGENT::IObjectIA::ProcessRun.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 631 of file fuzzyset.cpp.

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

double NLAIFUZZY::CLeftFuzzySet::surface   [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 605 of file fuzzyset.cpp.

References _X1, _X2, and _X3.


Member Data Documentation

double NLAIFUZZY::CLeftFuzzySet::_X1 [private]
 

Definition at line 183 of file fuzzyset.h.

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

double NLAIFUZZY::CLeftFuzzySet::_X2 [private]
 

Definition at line 184 of file fuzzyset.h.

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

double NLAIFUZZY::CLeftFuzzySet::_X3 [private]
 

Definition at line 185 of file fuzzyset.h.

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

const NLAIC::CIdentType CLeftFuzzySet::IdLeftFuzzySet [static]
 

Initial value:

Definition at line 380 of file static_def_init.cpp.

Referenced by getType.


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