Column-oriented GPU-accelerated Database Management System
CoGaDB
|
This class represents a scheduling decision for an operation w.r.t. a user specified set of features of the input data. More...
#include <scheduling_decision.hpp>
Public Member Functions | |
SchedulingDecision (Algorithm &alg_ref, const EstimatedTime &estimated_time_for_algorithm, const Tuple &feature_values) | |
constructs a SchedulingDecision object by assigning neccessary informations to all fields of the object | |
~SchedulingDecision () | |
const std::string | getNameofChoosenAlgorithm () const |
returns the name of the choosen algorithm | |
const EstimatedTime | getEstimatedExecutionTimeforAlgorithm () const |
returns the estimated execution time of the choosen algorithm | |
const Tuple | getFeatureValues () const |
returns the feature values that were the basis for this decision | |
const DeviceSpecification | getDeviceSpecification () const throw () |
returns the ComputeDevice the chosen algorithm utilizes | |
bool | operator== (const SchedulingDecision &sched_dec) const |
Private Attributes | |
Algorithm & | alg_ref_ |
name of choosen algorithm | |
EstimatedTime | estimated_time_for_algorithm_ |
estimated execution time of the choosen algorithm | |
Tuple | feature_values_ |
feature values of input data set | |
uint64_t | scheduling_id_ |
unique id which is unique for each schduling decision |
This class represents a scheduling decision for an operation w.r.t. a user specified set of features of the input data.
A user has to execute the algortihm suggested by the SchedulingDecision, or the library will not work. The user can determine the algorithm to excute by calling getNameofChoosenAlgorithm(). The user can then measure the execution time of the algorithm by using an AlgorithmMeasurement object.
hype::core::SchedulingDecision::SchedulingDecision | ( | Algorithm & | alg_ref, |
const EstimatedTime & | estimated_time_for_algorithm, | ||
const Tuple & | feature_values | ||
) |
constructs a SchedulingDecision object by assigning neccessary informations to all fields of the object
alg_ref | Reference to Algorithm that was choosen |
estimated_time_for_algorithm | estimated execution time for algorithm |
feature_values | features of the input data set that were previously specified by the user |
const DeviceSpecification hype::core::SchedulingDecision::getDeviceSpecification | ( | ) | const throw () |
returns the ComputeDevice the chosen algorithm utilizes
returns the estimated execution time of the choosen algorithm
const Tuple hype::core::SchedulingDecision::getFeatureValues | ( | ) | const |
returns the feature values that were the basis for this decision
const std::string hype::core::SchedulingDecision::getNameofChoosenAlgorithm | ( | ) | const |
returns the name of the choosen algorithm
Referenced by hype::queryprocessing::OperatorMapper< TablePtr, function >::getPhysicalOperator().
bool hype::core::SchedulingDecision::operator== | ( | const SchedulingDecision & | sched_dec | ) | const |
name of choosen algorithm
reference to algorithm
estimated execution time of the choosen algorithm
feature values of input data set
uint64_t hype::core::SchedulingDecision::scheduling_id_ [private] |
unique id which is unique for each schduling decision