Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <periodic_recomputation.hpp>
Public Member Functions | |
PeriodicRecomputation () | |
virtual bool | internal_recompute (Algorithm &algortihm) |
Static Public Member Functions | |
static RecomputationHeuristic_Internal * | create () |
Private Attributes | |
unsigned int | counter_ |
Definition at line 16 of file periodic_recomputation.hpp.
Definition at line 11 of file periodic_recomputation.cpp.
References create(), hype::core::RecomputationHeuristicFactorySingleton::Instance(), and hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::Register().
Referenced by create().
static RecomputationHeuristic_Internal* hype::core::PeriodicRecomputation::create | ( | ) | [inline, static] |
Definition at line 23 of file periodic_recomputation.hpp.
References PeriodicRecomputation().
Referenced by hype::core::PluginLoader::loadPlugins(), and PeriodicRecomputation().
bool hype::core::PeriodicRecomputation::internal_recompute | ( | Algorithm & | algortihm | ) | [virtual] |
returns true, if approximation function has to be recomputed and false otherwise
Implements hype::core::RecomputationHeuristic_Internal.
Definition at line 15 of file periodic_recomputation.cpp.
References counter_, hype::core::Algorithm::getName(), hype::core::Runtime_Configuration::getRecomputationPeriod(), and hype::core::Runtime_Configuration::instance().
unsigned int hype::core::PeriodicRecomputation::counter_ [private] |
Definition at line 28 of file periodic_recomputation.hpp.
Referenced by internal_recompute().