Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
00001 /*********************************************************************************************************** 00002 Copyright (c) 2012, Sebastian Breß, Otto-von-Guericke University of Magdeburg, Germany. All rights reserved. 00003 00004 This program and accompanying materials are made available under the terms of the 00005 GNU LESSER GENERAL PUBLIC LICENSE - Version 3, http://www.gnu.org/licenses/lgpl-3.0.txt 00006 ***********************************************************************************************************/ 00007 #pragma once 00008 00009 #include<string> 00010 #include<vector> 00011 00012 #include <config/global_definitions.hpp> 00013 00014 namespace hype{ 00015 namespace core{ 00016 00017 class PlotScriptGenerator{ 00018 public: 00019 static bool create(const std::string& title, const std::string& xlabel, const std::string& ylabel, const std::string& operation_name, const std::vector<std::string>& algorithm_names); 00020 00021 static bool createRelativeErrorScript(const std::string& operation_name, const std::vector<std::string>& algorithm_names); 00022 00023 static bool createAverageRelativeErrorScript(const std::string& operation_name, const std::vector<std::string>& algorithm_names); 00024 00025 static bool createWindowedAverageRelativeErrorScript(const std::string& operation_name, const std::vector<std::string>& algorithm_names); 00026 00027 static bool create_3d_plot(const std::string& title, const std::string& xlabel, const std::string& ylabel, const std::string& directory_path, const std::vector<std::string>& algorithm_names); 00028 00029 }; 00030 00031 }; //end namespace core 00032 }; //end namespace hype