# 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

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

Collaboration graph
[legend]
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 (char *txt) 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 * name,
double min,
double max )
 

Definition at line 62 of file fuzzyset.cpp.

NLAIFUZZY::CFuzzyInterval::CFuzzyInterval ( const CFuzzyInterval & cp )
 

Definition at line 68 of file fuzzyset.cpp.


Member Function Documentation

double NLAIFUZZY::CFuzzyInterval::center ( ) [virtual]
 

Reimplemented from NLAIFUZZY::IFuzzySet.

Definition at line 109 of file fuzzyset.cpp.

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

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

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

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

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

Definition at line 149 of file fuzzyset.cpp.

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

Reimplemented from NLAIFUZZY::IFuzzySet.

Definition at line 96 of file fuzzyset.cpp.

void NLAIFUZZY::CFuzzyInterval::load ( NLMISC::IStream & is ) [virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 140 of file fuzzyset.cpp.

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

Reimplemented from NLAIFUZZY::IFuzzySet.

Definition at line 88 of file fuzzyset.cpp.

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

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

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 154 of file fuzzyset.cpp.

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

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 133 of file fuzzyset.cpp.

double NLAIFUZZY::CFuzzyInterval::surface ( ) [virtual]
 

Reimplemented from NLAIFUZZY::IFuzzySet.

Definition at line 104 of file fuzzyset.cpp.


Member Data Documentation

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

Initializer:

NLAIC::CIdentType("FuzzyInterval",NLAIC::CSelfClassFactory(CFuzzyInterval("Inst",0,0)),
                NLAIC::CTypeOfObject::tObject,
                NLAIC::CTypeOfOperator::opAdd |
                NLAIC::CTypeOfOperator::opSub |
                NLAIC::CTypeOfOperator::opEq )

Definition at line 283 of file static_def_init.cpp.

double NLAIFUZZY::CFuzzyInterval::_Max [private]
 

Definition at line 74 of file fuzzyset.h.

double NLAIFUZZY::CFuzzyInterval::_Min [private]
 

Definition at line 73 of file fuzzyset.h.


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