Optimized Belief Propagation (CPU and GPU)
EvaluateImpAliases.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2024 Scott Grauer-Gray
3 
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8 
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13 
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 
28 #ifndef EVALUATE_IMP_ALIASES_H_
29 #define EVALUATE_IMP_ALIASES_H_
30 
31 #include <map>
32 #include <unordered_map>
33 #include <array>
34 #include <vector>
35 #include <utility>
36 #include <string>
37 #include <optional>
38 #include "RunData.h"
41 
45 using MultRunData =
46  std::map<InputSignature,
47  std::optional<std::map<run_environment::ParallelParamsSetting, RunData>>>;
48 
52  std::pair<std::string, std::map<run_eval::MiddleValData, double>>;
53 
56  std::unordered_map<run_environment::AccSetting,
57  std::pair<MultRunData, std::vector<RunSpeedupAvgMedian>>>;
58 
59 #endif //EVALUATE_IMP_ALIASES_H_
std::unordered_map< run_environment::AccSetting, std::pair< MultRunData, std::vector< RunSpeedupAvgMedian > >> MultRunDataWSpeedupByAcc
Mapping of acceleration setting to run and speedup data.
std::map< InputSignature, std::optional< std::map< run_environment::ParallelParamsSetting, RunData > >> MultRunData
Alias mapping input signature to run data for each parallel parameters setting Run data is null if r...
std::pair< std::string, std::map< run_eval::MiddleValData, double > > RunSpeedupAvgMedian
Alias for speedup data with speedup name paired with mapping that contains average and median speedup...
Declares class for defining input signature for evaluation run that consists of evaluation set number...
Declares class to store headers with data corresponding to current program run and evaluation.
Contains namespace with enums and constants for implementation run evaluation.
Class defines input signature for evaluation run that contains evaluation set number,...
AccSetting
Enum for acceleration setting.