Entity Matching by Similarity Join
 
Loading...
Searching...
No Matches
blocker_config.h
Go to the documentation of this file.
1/*
2 * author: Yunqi Li
3 * contact: liyunqixa@gmail.com
4 */
5#ifndef _BLOCKER_CONFIG_H_
6#define _BLOCKER_CONFIG_H_
7
8#include "common/dataframe.h"
9
10// blocker common
11// global variables
12extern ui num_tables;
13extern ui num_rules;
14extern Table table_A;
15extern Table table_B;
16extern Table gold;
17extern Rule* rules;
18extern std::vector<std::vector<ui>> id_mapA;
19extern std::vector<std::vector<ui>> id_mapB;
20extern std::vector<std::vector<ui>> idStringMapA;
21extern std::vector<std::vector<ui>> idStringMapB;
22extern std::vector<std::vector<std::vector<ui>>> recordsA;
23extern std::vector<std::vector<std::vector<ui>>> recordsB;
24extern std::vector<std::vector<double>> weightsA;
25extern std::vector<std::vector<double>> weightsB;
26extern std::vector<std::vector<double>> wordwt;
27extern std::unordered_map<std::string, ui> datasets_map; // "tok" + "tok_setting" + "column"
28extern std::vector<std::vector<int>> final_pairs;
29extern std::vector<std::vector<std::pair<int, int>>> passedRules;
30
31
32#endif // _BLOCKER_CONFIG_H_
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
ui num_tables
Definition blocker_config.cc:9
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
ui num_rules
Definition blocker_config.cc:10
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 dataframe.h:19
Definition dataframe.h:54
unsigned int ui
Definition type.h:8