Column-oriented GPU-accelerated Database Management System
CoGaDB
|
An AlgorithmSpecification specifies all relevant information about an algorithm, such as the algorithm's name or the name of the operation the algorithms belongs to. More...
#include <specification.hpp>
Public Member Functions | |
AlgorithmSpecification (const std::string &alg_name, const std::string &op_name, StatisticalMethod stat_meth=Least_Squares_1D, RecomputationHeuristic recomp_heur=Periodic, OptimizationCriterion opt_crit=Runtime_Configuration::instance().getDefaultOptimizationCriterion()) | |
constructs an AlgorithmSpecification object by assigning necessary informations to all fields of the object | |
const std::string & | getAlgorithmName () const throw () |
returns the algorithm's name | |
const std::string & | getOperationName () const throw () |
returns the name of the operation the algorithm belongs to | |
const std::string | getStatisticalMethodName () const throw () |
returns the name of the statistical method that is used for the algorithm | |
const std::string | getRecomputationHeuristicName () const throw () |
returns the name of the recomputation heuristic that is used for the algorithm | |
const std::string | getOptimizationCriterionName () const throw () |
returns the name of the optimization criterion of the operation the algorithm belongs to | |
Private Attributes | |
std::string | alg_name_ |
the algorithm's name | |
std::string | op_name_ |
name of the operation the algorithm belongs to | |
StatisticalMethod | stat_meth_ |
the statistical method that is used for the algorithm | |
RecomputationHeuristic | recomp_heur_ |
the recomputation heuristic that is used for the algorithm | |
OptimizationCriterion | opt_crit_ |
the optimization criterion of the operation the algorithm belongs to |
An AlgorithmSpecification specifies all relevant information about an algorithm, such as the algorithm's name or the name of the operation the algorithms belongs to.
hype::core::AlgorithmSpecification::AlgorithmSpecification | ( | const std::string & | alg_name, |
const std::string & | op_name, | ||
StatisticalMethod | stat_meth = Least_Squares_1D , |
||
RecomputationHeuristic | recomp_heur = Periodic , |
||
OptimizationCriterion | opt_crit = Runtime_Configuration::instance().getDefaultOptimizationCriterion() |
||
) |
constructs an AlgorithmSpecification object by assigning necessary informations to all fields of the object
alg_name | name of the algorithm |
op_name | name of the operation the algorithms belongs to |
stat_meth | the statistical method used for learning the algorithms behavior (optional) |
recomp_heur | the recomputation heuristic used for adapting the algorithms approximation function (optional) |
opt_crit | the optimization criterion of the operation the algorithm belongs to (optional) |
const std::string& hype::core::AlgorithmSpecification::getAlgorithmName | ( | ) | const throw () |
returns the algorithm's name
const std::string& hype::core::AlgorithmSpecification::getOperationName | ( | ) | const throw () |
returns the name of the operation the algorithm belongs to
const std::string hype::core::AlgorithmSpecification::getOptimizationCriterionName | ( | ) | const throw () |
returns the name of the optimization criterion of the operation the algorithm belongs to
const std::string hype::core::AlgorithmSpecification::getRecomputationHeuristicName | ( | ) | const throw () |
returns the name of the recomputation heuristic that is used for the algorithm
const std::string hype::core::AlgorithmSpecification::getStatisticalMethodName | ( | ) | const throw () |
returns the name of the statistical method that is used for the algorithm
std::string hype::core::AlgorithmSpecification::alg_name_ [private] |
the algorithm's name
std::string hype::core::AlgorithmSpecification::op_name_ [private] |
name of the operation the algorithm belongs to
the optimization criterion of the operation the algorithm belongs to
the recomputation heuristic that is used for the algorithm
the statistical method that is used for the algorithm