Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
periodic_recomputation.hpp
Go to the documentation of this file.
00001 
00002 #pragma once
00003 
00004 #include <iostream>
00005 #include <string>
00006 #include <vector>
00007 #include <memory>
00008 
00009 //hype includes
00010 #include <core/recomputation_heuristic.hpp>
00011 #include <core/time_measurement.hpp>
00012 
00013 namespace hype{
00014    namespace core{
00015 
00016    class PeriodicRecomputation : public RecomputationHeuristic_Internal {
00017       
00018       public:
00019       PeriodicRecomputation();
00021       virtual bool internal_recompute(Algorithm& algortihm);
00022 
00023       static RecomputationHeuristic_Internal* create(){
00024          return new PeriodicRecomputation();
00025       }
00026 
00027       private:
00028       unsigned int counter_;
00029    };
00030 
00031    }; //end namespace core
00032 }; //end namespace hype
00033 
00034 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines