8#ifndef _BLOCKER_UTIL_H_
9#define _BLOCKER_UTIL_H_
22extern std::vector<std::vector<ui>>
id_mapA;
23extern std::vector<std::vector<ui>>
id_mapB;
26extern std::vector<std::vector<std::vector<ui>>>
recordsA;
27extern std::vector<std::vector<std::vector<ui>>>
recordsB;
28extern std::vector<std::vector<double>>
weightsA;
29extern std::vector<std::vector<double>>
weightsB;
30extern std::vector<std::vector<double>>
wordwt;
33extern std::vector<std::vector<std::pair<int, int>>>
passedRules;
49 static void mergePairs(
const std::vector<std::vector<int>> &bucket);
61 static void pretopKviaTASelf(uint64_t K,
const std::string &topKattr,
const std::string &attrType,
bool isWeighted);
62 static void pretopKviaTARS(uint64_t K,
const std::string &topKattr,
const std::string &attrType,
bool isWeighted);
std::unordered_map< std::string, ui > datasets_map
Definition blocker_config.cc:24
std::vector< std::vector< int > > final_pairs
Definition blocker_config.cc:25
std::vector< std::vector< ui > > idStringMapB
Definition blocker_config.cc:18
std::vector< std::vector< double > > weightsA
Definition blocker_config.cc:21
std::vector< std::vector< ui > > id_mapA
Definition blocker_config.cc:15
std::vector< std::vector< std::vector< ui > > > recordsA
Definition blocker_config.cc:19
std::vector< std::vector< ui > > idStringMapA
Definition blocker_config.cc:17
std::vector< std::vector< double > > weightsB
Definition blocker_config.cc:22
std::vector< std::vector< std::pair< int, int > > > passedRules
Definition blocker_config.cc:26
std::vector< std::vector< ui > > id_mapB
Definition blocker_config.cc:16
Table table_A
Definition blocker_config.cc:11
Table table_B
Definition blocker_config.cc:12
std::vector< std::vector< double > > wordwt
Definition blocker_config.cc:23
Rule * rules
Definition blocker_config.cc:14
std::vector< std::vector< std::vector< ui > > > recordsB
Definition blocker_config.cc:20
Table gold
Definition blocker_config.cc:13
Definition blocker_util.h:37
static void synthesizePairsRS(ui pos, std::vector< std::pair< int, int > > &pairs, int mapid)
Definition blocker_util.cc:37
static void synthesizePairsSelf(ui pos, std::vector< std::pair< int, int > > &pairs, int mapid)
Definition blocker_util.cc:68
BlockerUtil(BlockerUtil &&other)=delete
BlockerUtil(const BlockerUtil &other)=delete
static void pretopKviaTASelf(uint64_t K, const std::string &topKattr, const std::string &attrType, bool isWeighted)
Definition blocker_util.cc:111
static void pretopKviaTARS(uint64_t K, const std::string &topKattr, const std::string &attrType, bool isWeighted)
Definition blocker_util.cc:133
Definition dataframe.h:19
Definition dataframe.h:54
unsigned int ui
Definition type.h:8