/
average.hpp
37 lines (26 loc) · 1.49 KB
/
average.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (C) 2012-2017 Ágoston Sasvári
// All rights reserved.
// This code is published under the GNU Lesser General Public License.
#ifndef AVERAGE_HPP_
#define AVERAGE_HPP_
#include <vector>
#include "structs.h"
bool is_datatype_processable_for_average (const string DT);
bool is_processable_for_average_MT2 (const vector <GDB>& inGDB);
bool is_processable_for_average_EQ2 (const vector <GDB>& inGDB);
bool is_processable_for_average_EQ1 (const vector <GDB>& inGDB);
bool is_processable_for_average_HMG (const vector <GDB>& inGDB);
VCTR process_for_average_MT2 (const vector <GDB>& inGDB);
VCTR process_for_average_EQ2 (const vector <GDB>& inGDB);
VCTR process_for_average_EQ1 (const vector <GDB>& inGDB);
VCTR calculate_data_average_vector (const vector <GDB>& to_process);
vector <GDB> apply_data_average_vector (const vector <GDB>& to_process, const VCTR& AV_D);
vector <GDB> DATATYPE_AVERAGE (const vector <GDB>& inGDB);
VCTR return_group_bedding_vector (const vector <GDB>& inGDB_G);
vector <GDB> apply_group_bedding_vector (const vector <GDB>& inGDB_G, const VCTR AV_D);
size_t has_relevant_bedding (const size_t i, const vector <vector <GDB> >& inGDB_G);
vector <GDB> change_has_bedding (const vector <GDB>& inGDB, const size_t FLAG);
vector <vector <GDB> > ASSOCIATE_AVERAGE_BEDDING_GROUPS (const vector <vector <GDB> >& inGDB_G);
vector < vector <GDB> > AVERAGE (const vector < vector <GDB> >& inGDB_G);
void dbg_averages (const vector <GDB>& inGDB);
#endif