# 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

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

Collaboration graph
[legend]
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 (char *) 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 * name,
double x1,
double x2,
double x3 )
 

Definition at line 414 of file fuzzyset.cpp.

NLAIFUZZY::CTriangleFuzzySet::CTriangleFuzzySet ( const CTriangleFuzzySet & cp )
 

Definition at line 421 of file fuzzyset.cpp.


Member Function Documentation

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

Reimplemented from NLAIFUZZY::IFuzzySet.

Definition at line 479 of file fuzzyset.cpp.

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

void NLAIFUZZY::CTriangleFuzzySet::getDebugString ( char * t ) 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 516 of file fuzzyset.cpp.

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

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

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

Definition at line 521 of file fuzzyset.cpp.

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

Reimplemented from NLAIFUZZY::IFuzzySet.

Definition at line 469 of file fuzzyset.cpp.

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

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 509 of file fuzzyset.cpp.

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

Reimplemented from NLAIFUZZY::IFuzzySet.

Definition at line 454 of file fuzzyset.cpp.

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

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

Some where Run method define the process of the agen.

Reimplemented from NLAIAGENT::IObjectIA.

Definition at line 526 of file fuzzyset.cpp.

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

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Definition at line 501 of file fuzzyset.cpp.

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

Reimplemented from NLAIFUZZY::IFuzzySet.

Definition at line 474 of file fuzzyset.cpp.


Member Data Documentation

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

Initializer:

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

Definition at line 289 of file static_def_init.cpp.

double NLAIFUZZY::CTriangleFuzzySet::_X1 [private]
 

Definition at line 125 of file fuzzyset.h.

double NLAIFUZZY::CTriangleFuzzySet::_X2 [private]
 

Definition at line 126 of file fuzzyset.h.

double NLAIFUZZY::CTriangleFuzzySet::_X3 [private]
 

Definition at line 127 of file fuzzyset.h.


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