Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Evaluation.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Training_Evaluation_h
00002 #define Impala_Core_Training_Evaluation_h
00003 
00004 #include "Core/Table/AnnotationTable.h"
00005 
00006 namespace Impala
00007 {
00008 namespace Core
00009 {
00010 namespace Training
00011 {
00012 
00016 class Evaluation
00017 {
00018 public:
00019     Evaluation(Table::AnnotationTable* annotation)
00020     {
00021         mAnnotation = annotation;
00022     }
00023 
00024     virtual double Compute(Table::AnnotationTableBaseType* table)
00025     {
00026         return 0;
00027     }
00028 
00029     double operator() (Table::AnnotationTableBaseType* table)
00030     {
00031         return Compute(table);
00032     }
00033 
00034 protected:
00035     Table::AnnotationTable* mAnnotation;
00036 };
00037 
00038 }//namespace Core
00039 }//namespace Training
00040 }//namespace Impala
00041 
00042 #endif
00043 

Generated on Fri Mar 19 09:31:24 2010 for ImpalaSrc by  doxygen 1.5.1