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

#include <fuzzyset.h>

Inheritance diagram for NLAIFUZZY::CFuzzyInterval:

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

Public Methods

 CFuzzyInterval (char *, double min, double max)
 CFuzzyInterval (const CFuzzyInterval &cp)
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 IdFuzzyInterval

Private Attributes

double _Min
double _Max

Constructor & Destructor Documentation

NLAIFUZZY::CFuzzyInterval::CFuzzyInterval char *   ,
double    min,
double    max
 

Definition at line 62 of file fuzzyset.cpp.

References _Max, _Min, and min.

Referenced by clone, isEqual, and newInstance.

NLAIFUZZY::CFuzzyInterval::CFuzzyInterval const CFuzzyInterval &    cp
 

Definition at line 68 of file fuzzyset.cpp.

References _Max, and _Min.


Member Function Documentation

double NLAIFUZZY::CFuzzyInterval::center   [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 109 of file fuzzyset.cpp.

References _Max, and _Min.

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

References CFuzzyInterval, and clone.

Referenced by clone.

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

References _Max, _Min, NLAIFUZZY::IFuzzySet::_Name, and NLAIC::stringGetBuild.

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

References IdFuzzyInterval.

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

References _Max, _Min, params, and NLAIC::IPointerGestion::release.

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

Definition at line 149 of file fuzzyset.cpp.

References _Max, _Min, and CFuzzyInterval.

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

Implements NLAIFUZZY::IFuzzySet.

Definition at line 96 of file fuzzyset.cpp.

References _Max, and _Min.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Definition at line 140 of file fuzzyset.cpp.

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

Implements NLAIFUZZY::IFuzzySet.

Definition at line 88 of file fuzzyset.cpp.

References _Max, and _Min.

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

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

Implements NLAIC::IBasicType.

Definition at line 121 of file fuzzyset.cpp.

References CFuzzyInterval.

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

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 154 of file fuzzyset.cpp.

References NLAIAGENT::IObjectIA::ProcessRun.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Definition at line 133 of file fuzzyset.cpp.

References _Max, _Min, and NLMISC::IStream::serial.

double NLAIFUZZY::CFuzzyInterval::surface   [virtual]
 

Implements NLAIFUZZY::IFuzzySet.

Definition at line 104 of file fuzzyset.cpp.

References _Max, and _Min.


Member Data Documentation

double NLAIFUZZY::CFuzzyInterval::_Max [private]
 

Definition at line 74 of file fuzzyset.h.

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

double NLAIFUZZY::CFuzzyInterval::_Min [private]
 

Definition at line 73 of file fuzzyset.h.

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

const NLAIC::CIdentType CFuzzyInterval::IdFuzzyInterval [static]
 

Initial value:

Definition at line 367 of file static_def_init.cpp.

Referenced by getType.


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