Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
hype::core::Offline_Algorithm Class Reference

#include <offline_algorithm.hpp>

Collaboration diagram for hype::core::Offline_Algorithm:

List of all members.

Public Member Functions

const std::string & getAlgorithmName () const throw ()
const std::string & getOperationName () const throw ()
DeviceSpecification getDeviceSpecification () const throw ()
unsigned int getNumberOfMeasurementPairs () const throw ()
 Offline_Algorithm (DeviceSpecification device, std::string algorithm_name, std::string opname, std::string filepath)
core::MeasurementPair getNext ()
bool hasNext ()
void reset ()
void loadMeasurementpairsfromFile (std::string filepath)
void storeInFile (const std::string &file_name)
void printstoredMeasurementpairs ()

Static Public Member Functions

static std::vector
< Offline_Algorithm
randomize_dataset_of_offline_algorithms (std::vector< Offline_Algorithm > offline_algorithms)

Private Attributes

std::vector
< core::MeasurementPair
offline_mesurement_pairs_
DeviceSpecification device_
std::string name_
std::string operation_name_
unsigned int current_mesurementpair_index_
std::string filepath_

Detailed Description

Definition at line 32 of file offline_algorithm.hpp.


Constructor & Destructor Documentation

hype::core::Offline_Algorithm::Offline_Algorithm ( DeviceSpecification  device,
std::string  algorithm_name,
std::string  opname,
std::string  filepath 
)

Definition at line 37 of file offline_algorithm.cpp.

References debug, loadMeasurementpairsfromFile(), printstoredMeasurementpairs(), quiet, and verbose.

Here is the call graph for this function:


Member Function Documentation

const std::string & hype::core::Offline_Algorithm::getAlgorithmName ( ) const throw ()

Definition at line 21 of file offline_algorithm.cpp.

References name_.

Definition at line 33 of file offline_algorithm.cpp.

References offline_mesurement_pairs_.

const std::string & hype::core::Offline_Algorithm::getOperationName ( ) const throw ()

Definition at line 25 of file offline_algorithm.cpp.

References operation_name_.

Definition at line 63 of file offline_algorithm.cpp.

References debug, offline_mesurement_pairs_, quiet, and verbose.

Referenced by Offline_Algorithm().

Here is the caller graph for this function:

Definition at line 131 of file offline_algorithm.cpp.

References offline_mesurement_pairs_.

Referenced by Offline_Algorithm().

Here is the caller graph for this function:

Definition at line 140 of file offline_algorithm.cpp.

References debug, offline_mesurement_pairs_, quiet, and verbose.

void hype::core::Offline_Algorithm::storeInFile ( const std::string &  file_name)

Definition at line 122 of file offline_algorithm.cpp.

References offline_mesurement_pairs_.


Member Data Documentation

Definition at line 64 of file offline_algorithm.hpp.

Referenced by getNext(), hasNext(), and reset().

Definition at line 65 of file offline_algorithm.hpp.

std::string hype::core::Offline_Algorithm::name_ [private]

Definition at line 62 of file offline_algorithm.hpp.

Referenced by getAlgorithmName().

Definition at line 63 of file offline_algorithm.hpp.

Referenced by getOperationName().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines