Home || Visual Search || Applications || Architecture || 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 #include "Core/Table/ScoreTable.h"
00006 
00007 namespace Impala
00008 {
00009 namespace Core
00010 {
00011 namespace Training
00012 {
00013 
00016 class Evaluation
00017 {
00018 public:
00019 
00020     Evaluation(Table::AnnotationTable* annotation)
00021     {
00022         mAnnotation = annotation;
00023     }
00024 
00025     virtual double
00026     Compute(Table::ScoreTable* table)
00027     {
00028         return 0;
00029     }
00030 
00031     double
00032     operator() (Table::ScoreTable* table)
00033     {
00034         return Compute(table);
00035     }
00036 
00037 protected:
00038 
00039     Table::AnnotationTable* mAnnotation;
00040 
00041 };
00042 
00043 }//namespace Core
00044 }//namespace Training
00045 }//namespace Impala
00046 
00047 #endif
00048 

Generated on Thu Jan 13 09:04:41 2011 for ImpalaSrc by  doxygen 1.5.1