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

#include <fuzzytype.h>

Inheritance diagram for NLAIFUZZY::FuzzyType

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

Collaboration graph
[legend]
List of all members.

Public Methods

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 *text) 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 float truthValue () const
 Returns a value in [0,1]. More...

virtual bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual const NLAIAGENT::IVarNamegetName () const
virtual void setName (const NLAIAGENT::IVarName &n)
virtual const CProcessResult& run ()
 Some where Run method define the process of the agen. More...

virtual bool isEqual (const FuzzyType &a) const
bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual std::vector<NLAILOGIC::IBaseVar *>* getVars ()
virtual NLAIAGENT::IObjetOpoperator+= (const NLAIAGENT::IObjetOp &a)
virtual NLAIAGENT::IObjetOpoperator-= (const NLAIAGENT::IObjetOp &a)
virtual NLAIAGENT::IObjetOpoperator *= (const NLAIAGENT::IObjetOp &a)
virtual NLAIAGENT::IObjetOpoperator< (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator> (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator<= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator>= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator! () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator!= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator== (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...


Static Public Attributes

const NLAIC::CIdentType IdFuzzyType

Private Attributes

float _Value
float _Threshold

Member Function Documentation

const NLAIC::IBasicType * NLAIFUZZY::FuzzyType::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 32 of file fuzzytype.cpp.

void NLAIFUZZY::FuzzyType::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.

Reimplemented in NLAIFUZZY::CSimpleFuzzyCond.

Definition at line 59 of file fuzzytype.cpp.

const NLAIAGENT::IVarName * NLAIFUZZY::FuzzyType::getName ( ) const [virtual]
 

Definition at line 74 of file fuzzytype.cpp.

const NLAIC::CIdentType & NLAIFUZZY::FuzzyType::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 103 of file fuzzytype.cpp.

std::vector< IBaseVar *>* NLAIFUZZY::FuzzyType::getVars ( ) [virtual]
 

Definition at line 98 of file fuzzytype.cpp.

bool NLAIFUZZY::FuzzyType::isEqual ( const NLAIAGENT::IBasicObjectIA & a ) const
 

Definition at line 93 of file fuzzytype.cpp.

bool NLAIFUZZY::FuzzyType::isEqual ( const FuzzyType & a ) const [virtual]
 

Definition at line 88 of file fuzzytype.cpp.

bool NLAIFUZZY::FuzzyType::isTrue ( ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 64 of file fuzzytype.cpp.

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

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Reimplemented in NLAIFUZZY::CSimpleFuzzyCond.

Definition at line 52 of file fuzzytype.cpp.

const NLAIC::IBasicType * NLAIFUZZY::FuzzyType::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 38 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp & NLAIFUZZY::FuzzyType::operator *= ( const NLAIAGENT::IObjetOp & a ) [virtual]
 

Definition at line 120 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp * NLAIFUZZY::FuzzyType::operator! ( ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 146 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp * NLAIFUZZY::FuzzyType::operator!= ( NLAIAGENT::IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 151 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp & NLAIFUZZY::FuzzyType::operator+= ( const NLAIAGENT::IObjetOp & a ) [virtual]
 

Definition at line 108 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp & NLAIFUZZY::FuzzyType::operator-= ( const NLAIAGENT::IObjetOp & a ) [virtual]
 

Definition at line 114 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp * NLAIFUZZY::FuzzyType::operator< ( NLAIAGENT::IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 126 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp * NLAIFUZZY::FuzzyType::operator<= ( NLAIAGENT::IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 136 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp * NLAIFUZZY::FuzzyType::operator== ( NLAIAGENT::IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 156 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp * NLAIFUZZY::FuzzyType::operator> ( NLAIAGENT::IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 131 of file fuzzytype.cpp.

NLAIAGENT::IObjetOp * NLAIFUZZY::FuzzyType::operator>= ( NLAIAGENT::IObjetOp & a ) const [virtual]
 

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 141 of file fuzzytype.cpp.

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

Some where Run method define the process of the agen.

Reimplemented from NLAILOGIC::IBaseBoolType.

Definition at line 83 of file fuzzytype.cpp.

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

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Reimplemented in NLAIFUZZY::CSimpleFuzzyCond.

Definition at line 43 of file fuzzytype.cpp.

void NLAIFUZZY::FuzzyType::setName ( const NLAIAGENT::IVarName & n ) [virtual]
 

Definition at line 79 of file fuzzytype.cpp.

float NLAIFUZZY::FuzzyType::truthValue ( ) const [virtual]
 

Returns a value in [0,1].

Reimplemented from NLAILOGIC::IBaseBoolType.

Definition at line 69 of file fuzzytype.cpp.


Member Data Documentation

const NLAIC::CIdentType NLAIFUZZY::FuzzyType::IdFuzzyType [static]
 

Definition at line 55 of file fuzzytype.h.

float NLAIFUZZY::FuzzyType::_Threshold [private]
 

Definition at line 37 of file fuzzytype.h.

float NLAIFUZZY::FuzzyType::_Value [private]
 

Definition at line 36 of file fuzzytype.h.


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