Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <recomputation_heuristic.hpp>
Public Member Functions | |
bool | recompute (Algorithm &algorithm) |
virtual bool | internal_recompute (Algorithm &algorithm)=0 |
virtual | ~RecomputationHeuristic_Internal () |
Protected Member Functions | |
RecomputationHeuristic_Internal (const std::string &name) | |
Private Attributes | |
std::string | name_ |
unsigned int | length_of_training_phase_ |
bool | is_initial_approximation_function_computed_ |
unsigned int | samplecounter_ |
Definition at line 24 of file recomputation_heuristic.hpp.
virtual hype::core::RecomputationHeuristic_Internal::~RecomputationHeuristic_Internal | ( | ) | [inline, virtual] |
Definition at line 28 of file recomputation_heuristic.hpp.
hype::core::RecomputationHeuristic_Internal::RecomputationHeuristic_Internal | ( | const std::string & | name | ) | [protected] |
Definition at line 11 of file recomputation_heuristic.cpp.
virtual bool hype::core::RecomputationHeuristic_Internal::internal_recompute | ( | Algorithm & | algorithm | ) | [pure virtual] |
Implemented in hype::core::RelativeErrorBasedRecomputation, hype::core::Oneshotcomputation, and hype::core::PeriodicRecomputation.
Referenced by recompute().
bool hype::core::RecomputationHeuristic_Internal::recompute | ( | Algorithm & | algorithm | ) |
Reimplemented in hype::core::Oneshotcomputation.
Definition at line 13 of file recomputation_heuristic.cpp.
References debug, hype::core::Algorithm::getName(), internal_recompute(), is_initial_approximation_function_computed_, length_of_training_phase_, quiet, samplecounter_, and verbose.
bool hype::core::RecomputationHeuristic_Internal::is_initial_approximation_function_computed_ [private] |
Definition at line 36 of file recomputation_heuristic.hpp.
Referenced by recompute().
unsigned int hype::core::RecomputationHeuristic_Internal::length_of_training_phase_ [private] |
Definition at line 35 of file recomputation_heuristic.hpp.
Referenced by recompute().
std::string hype::core::RecomputationHeuristic_Internal::name_ [private] |
Definition at line 34 of file recomputation_heuristic.hpp.
unsigned int hype::core::RecomputationHeuristic_Internal::samplecounter_ [private] |
Definition at line 37 of file recomputation_heuristic.hpp.
Referenced by recompute().