Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <oneshot_computation.hpp>
Public Member Functions | |
Oneshotcomputation () | |
virtual bool | internal_recompute (Algorithm &algortihm) |
Oneshotcomputation () | |
virtual const bool | recompute (Algorithm &algortihm) |
Static Public Member Functions | |
static RecomputationHeuristic_Internal * | create () |
static RecomputationHeuristic * | create () |
Private Attributes | |
bool | once_ |
unsigned int | counter_ |
Definition at line 16 of file oneshot_computation.hpp.
Definition at line 8 of file oneshot_computation.cpp.
Referenced by create().
static RecomputationHeuristic_Internal* hype::core::Oneshotcomputation::create | ( | ) | [inline, static] |
Definition at line 23 of file oneshot_computation.hpp.
References Oneshotcomputation().
Referenced by hype::core::PluginLoader::loadPlugins().
static RecomputationHeuristic* hype::core::Oneshotcomputation::create | ( | ) | [inline, static] |
Definition at line 23 of file static_computation.hpp.
bool hype::core::Oneshotcomputation::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 13 of file oneshot_computation.cpp.
References hype::core::Algorithm::getName().
virtual const bool hype::core::Oneshotcomputation::recompute | ( | Algorithm & | algortihm | ) | [virtual] |
returns true, if approximation function has to be recomputed and false otherwise
Reimplemented from hype::core::RecomputationHeuristic_Internal.
unsigned int hype::core::Oneshotcomputation::counter_ [private] |
Definition at line 29 of file oneshot_computation.hpp.
bool hype::core::Oneshotcomputation::once_ [private] |
Definition at line 28 of file oneshot_computation.hpp.