# 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:

NLAILOGIC::IBaseBoolType NLAIAGENT::IObjetOp NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable NLAIFUZZY::CSimpleFuzzyCond 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 (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 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   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 32 of file fuzzytype.cpp.

Referenced by newInstance.

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

Reimplemented in NLAIFUZZY::CSimpleFuzzyCond.

Definition at line 59 of file fuzzytype.cpp.

References _Value, and NLAIC::stringGetBuild.

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

Definition at line 74 of file fuzzytype.cpp.

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

References IdFuzzyType.

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.

References _Value.

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

Definition at line 88 of file fuzzytype.cpp.

References _Value.

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

throw (NLAIE::CExceptionNotImplemented).

Implements NLAIAGENT::IObjetOp.

Definition at line 64 of file fuzzytype.cpp.

References _Threshold, and _Value.

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

Load the class from a stream.

Implements NLAIC::IBasicInterface.

Reimplemented in NLAIFUZZY::CSimpleFuzzyCond.

Definition at line 52 of file fuzzytype.cpp.

References _Threshold, _Value, and NLMISC::IStream::serial.

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

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

Implements NLAIC::IBasicType.

Definition at line 38 of file fuzzytype.cpp.

References clone.

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

Definition at line 120 of file fuzzytype.cpp.

References _Value.

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

throw (NLAIE::CExceptionNotImplemented).

Reimplemented from NLAIAGENT::IObjetOp.

Definition at line 146 of file fuzzytype.cpp.

References _Value.

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.

References _Value.

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

Definition at line 108 of file fuzzytype.cpp.

References _Value.

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

Definition at line 114 of file fuzzytype.cpp.

References _Value.

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.

References _Value.

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.

References _Value.

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.

References _Value.

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.

References _Value.

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.

References _Value.

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

Some where Run method define the process of the agen.

Implements NLAILOGIC::IBaseBoolType.

Definition at line 83 of file fuzzytype.cpp.

References NLAIAGENT::IObjectIA::ProcessRun.

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

Save the class in a stream.

Implements NLAIC::IBasicInterface.

Reimplemented in NLAIFUZZY::CSimpleFuzzyCond.

Definition at line 43 of file fuzzytype.cpp.

References _Threshold, _Value, NLMISC::IStream::serial, and v.

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].

Implements NLAILOGIC::IBaseBoolType.

Definition at line 69 of file fuzzytype.cpp.

References _Value.


Member Data Documentation

float NLAIFUZZY::FuzzyType::_Threshold [private]
 

Definition at line 37 of file fuzzytype.h.

Referenced by isTrue, load, and save.

float NLAIFUZZY::FuzzyType::_Value [private]
 

Definition at line 36 of file fuzzytype.h.

Referenced by getDebugString, isEqual, isTrue, load, operator *=, operator!, operator!=, operator+=, operator-=, operator<, operator<=, operator==, operator>, operator>=, save, and truthValue.

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

Referenced by getType.


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