NLAINIMAT::CClassifierPriority Class Reference

#include <classifier.h>


Public Member Functions

 CClassifierPriority ()
uint32 getClassifierTimer () const
TClassifierPriorityValue getPriority () const
uint32 getPriorityTimer () const
bool operator< (const CClassifierPriority &x) const
void SetClassifierTimer (uint32 time)
void setPriorityTimer (uint32 time)

Private Attributes

uint32 _ClassifierTimer
uint32 _PriorityTimer


Constructor & Destructor Documentation

NLAINIMAT::CClassifierPriority::CClassifierPriority  ) 
 

Definition at line 38 of file classifier.cpp.

References _ClassifierTimer, and _PriorityTimer.

00039 {
00040         _PriorityTimer = 0;
00041         _ClassifierTimer = 0;
00042 }


Member Function Documentation

TClassifierPriorityValue NLAINIMAT::CClassifierPriority::getClassifierTimer  )  const
 

Definition at line 54 of file classifier.cpp.

References _ClassifierTimer, and NLAINIMAT::TClassifierPriorityValue.

Referenced by NLAINIMAT::CMotivationEnergy::computeMotivationValue(), and NLAINIMAT::CMHiCSbase::dbgPrintClassifierPriorityInFile().

00055 {
00056         return _ClassifierTimer;
00057 }

TClassifierPriorityValue NLAINIMAT::CClassifierPriority::getPriority  )  const
 

Definition at line 44 of file classifier.cpp.

References _ClassifierTimer, _PriorityTimer, and NLAINIMAT::TClassifierPriorityValue.

Referenced by NLAINIMAT::CMHiCSbase::dbgPrintClassifierPriorityInFile(), NLAINIMAT::CClassifierSystem::getDebugString(), and operator<().

00045 {
00046         return std::max(_PriorityTimer, _ClassifierTimer);
00047 }

TClassifierPriorityValue NLAINIMAT::CClassifierPriority::getPriorityTimer  )  const
 

Definition at line 49 of file classifier.cpp.

References _PriorityTimer, and NLAINIMAT::TClassifierPriorityValue.

Referenced by NLAINIMAT::CMotivationEnergy::computeMotivationValue(), and NLAINIMAT::CMHiCSbase::dbgPrintClassifierPriorityInFile().

00050 {
00051         return _PriorityTimer;
00052 }

bool NLAINIMAT::CClassifierPriority::operator< const CClassifierPriority x  )  const
 

Definition at line 69 of file classifier.cpp.

References getPriority(), and x.

00070 {
00071         return (getPriority() < x.getPriority());
00072 }

void NLAINIMAT::CClassifierPriority::SetClassifierTimer uint32  time  ) 
 

Definition at line 64 of file classifier.cpp.

References _ClassifierTimer, and uint32.

Referenced by NLAINIMAT::CMHiCSbase::learningUpdatePriorityValueClassifierTime(), NLAINIMAT::CMHiCSbase::learningUpdatePriorityValueTimeToSuccess(), and NLAINIMAT::CMHiCSbase::loadClassifierFromFile().

00065 {
00066         _ClassifierTimer = time;
00067 }

void NLAINIMAT::CClassifierPriority::setPriorityTimer uint32  time  ) 
 

Definition at line 59 of file classifier.cpp.

References _PriorityTimer, and uint32.

Referenced by NLAINIMAT::CMHiCSbase::learningUpdatePriorityValueClassifierTime(), and NLAINIMAT::CMHiCSbase::learningUpdatePriorityValueTimeToSuccess().

00060 {
00061         _PriorityTimer = time;
00062 }


Field Documentation

uint32 NLAINIMAT::CClassifierPriority::_ClassifierTimer [private]
 

Definition at line 83 of file classifier.h.

Referenced by CClassifierPriority(), getClassifierTimer(), getPriority(), and SetClassifierTimer().

uint32 NLAINIMAT::CClassifierPriority::_PriorityTimer [private]
 

Definition at line 82 of file classifier.h.

Referenced by CClassifierPriority(), getPriority(), getPriorityTimer(), and setPriorityTimer().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 11:09:31 2004 for NeL by doxygen 1.3.6