00001 #ifndef Impala_Core_Training_ApplyConceptsHelper_h 00002 #define Impala_Core_Training_ApplyConceptsHelper_h 00003 00004 #include "Persistency/ModelLocator.h" 00005 #include "Persistency/FeatureLocator.h" 00006 00007 namespace Impala 00008 { 00009 namespace Core 00010 { 00011 namespace Training 00012 { 00013 00014 00015 class ApplyConceptsHelper 00016 { 00017 public: 00018 00019 typedef Feature::FeatureTable FeatureTable; 00020 typedef Table::SimilarityTableSet::SimTableType SimTableType; 00021 typedef Persistency::ModelLocator ModelLocator; 00022 typedef Persistency::FeatureLocator FeatureLocator; 00023 00024 virtual 00025 ~ApplyConceptsHelper() 00026 { 00027 } 00028 00029 virtual void 00030 Initialise(Database::RawDataSet* annoSet, const ModelLocator& modelLoc) = 0; 00031 00032 virtual FeatureTable* 00033 LoadFeatures(const FeatureLocator& featLoc) = 0; 00034 00035 virtual Table::ScoreTable* 00036 Predict(const ModelLocator& loc) = 0; 00037 00038 virtual void 00039 UnloadFeatures() = 0; 00040 }; 00041 00042 } //namespace 00043 } //namespace 00044 } //namespace 00045 00046 #endif